~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/modules/options/optw_sound.h

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _OPTW_SOUND_H_
2
 
#define _OPTW_SOUND_H_
3
 
//=============================================================================
4
 
//
5
 
//   File : optw_sound.h
6
 
//   Creation date : Fri Sep  6 02:18:21 2002 GMT by Szymon Stefanek
7
 
//
8
 
//   This file is part of the KVirc irc client distribution
9
 
//   Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net)
10
 
//
11
 
//   This program is FREE software. You can redistribute it and/or
12
 
//   modify it under the terms of the GNU General Public License
13
 
//   as published by the Free Software Foundation; either version 2
14
 
//   of the License, or (at your opinion) any later version.
15
 
//
16
 
//   This program is distributed in the HOPE that it will be USEFUL,
17
 
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
 
//   See the GNU General Public License for more details.
20
 
//
21
 
//   You should have received a copy of the GNU General Public License
22
 
//   along with this program. If not, write to the Free Software Foundation,
23
 
//   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
 
//
25
 
//=============================================================================
26
 
 
27
 
#include "kvi_optionswidget.h"
28
 
 
29
 
#include <QComboBox>
30
 
#include <QPushButton>
31
 
 
32
 
#define KVI_OPTIONS_WIDGET_ICON_KviSoundOptionsWidget KVI_SMALLICON_SOUND
33
 
#define KVI_OPTIONS_WIDGET_NAME_KviSoundOptionsWidget __tr2qs_no_lookup("Sound")
34
 
#define KVI_OPTIONS_WIDGET_PARENT_KviSoundOptionsWidget KviGeneralOptOptionsWidget
35
 
#define KVI_OPTIONS_WIDGET_CONTAINER_KviSoundOptionsWidget true
36
 
 
37
 
 
38
 
class KviSoundOptionsWidget : public KviOptionsWidget
39
 
{
40
 
        Q_OBJECT
41
 
public:
42
 
        KviSoundOptionsWidget(QWidget * parent);
43
 
        ~KviSoundOptionsWidget();
44
 
};
45
 
 
46
 
#define KVI_OPTIONS_WIDGET_ICON_KviSoundGeneralOptionsWidget KVI_SMALLICON_SOUND
47
 
#define KVI_OPTIONS_WIDGET_NAME_KviSoundGeneralOptionsWidget __tr2qs_no_lookup("Sound System")
48
 
#define KVI_OPTIONS_WIDGET_PARENT_KviSoundGeneralOptionsWidget KviSoundOptionsWidget
49
 
#define KVI_OPTIONS_WIDGET_KEYWORDS_KviSoundGeneralOptionsWidget __tr2qs_no_lookup("sound,xmms,audio,play,amarok")
50
 
#define KVI_OPTIONS_WIDGET_PRIORITY_KviSoundGeneralOptionsWidget 70000
51
 
 
52
 
class KviSoundGeneralOptionsWidget : public KviOptionsWidget
53
 
{
54
 
        Q_OBJECT
55
 
public:
56
 
        KviSoundGeneralOptionsWidget(QWidget * parent);
57
 
        ~KviSoundGeneralOptionsWidget();
58
 
protected:
59
 
        QComboBox * m_pSoundSystemBox;
60
 
        QPushButton * m_pSoundTestButton;
61
 
        QPushButton * m_pSoundAutoDetectButton;
62
 
        QComboBox * m_pMediaPlayerBox;
63
 
        QPushButton * m_pMediaTestButton;
64
 
        QPushButton * m_pMediaAutoDetectButton;
65
 
 
66
 
#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
67
 
        QComboBox * m_pWinampEncodingCombo;
68
 
#endif
69
 
        QComboBox * m_pTagsEncodingCombo;
70
 
        bool m_bFirstShow;
71
 
protected:
72
 
        void soundFillBox();
73
 
        void mediaFillBox();
74
 
        virtual void commit();
75
 
        virtual void showEvent(QShowEvent *e);
76
 
protected slots:
77
 
        void soundTest();
78
 
        void soundAutoDetect();
79
 
        void mediaTest();
80
 
        void mediaAutoDetect();
81
 
};
82
 
 
83
 
#define KVI_OPTIONS_WIDGET_ICON_KviSoundsOptionsWidget KVI_SMALLICON_SOUND
84
 
#define KVI_OPTIONS_WIDGET_NAME_KviSoundsOptionsWidget __tr2qs_no_lookup("Sounds")
85
 
#define KVI_OPTIONS_WIDGET_PARENT_KviSoundsOptionsWidget KviSoundOptionsWidget
86
 
#define KVI_OPTIONS_WIDGET_KEYWORDS_KviSoundsOptionsWidget __tr2qs_no_lookup("sound,events")
87
 
#define KVI_OPTIONS_WIDGET_PRIORITY_KviSoundsOptionsWidget 80000
88
 
 
89
 
class KviSoundsOptionsWidget : public KviOptionsWidget
90
 
{
91
 
        Q_OBJECT
92
 
public:
93
 
        KviSoundsOptionsWidget(QWidget * parent);
94
 
        ~KviSoundsOptionsWidget();
95
 
};
96
 
 
97
 
#endif //_OPTW_SOUND_H_