summaryrefslogtreecommitdiffstats
path: root/kmix/dialogselectmaster.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commite2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch)
tree9047cf9e6b5c43878d5bf82660adae77ceee097a /kmix/dialogselectmaster.h
downloadtdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz
tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmix/dialogselectmaster.h')
-rw-r--r--kmix/dialogselectmaster.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/kmix/dialogselectmaster.h b/kmix/dialogselectmaster.h
new file mode 100644
index 00000000..912d870d
--- /dev/null
+++ b/kmix/dialogselectmaster.h
@@ -0,0 +1,43 @@
+#ifndef DIALOGSELECTMASTER_H
+#define DIALOGSELECTMASTER_H
+
+class QButtonGroup;
+#include <qradiobutton.h>
+class QScrollView;
+#include <qstringlist.h>
+class QVBox;
+class QVBoxLayout;
+
+class KComboBox;
+#include <kdialogbase.h>
+
+class Mixer;
+
+class DialogSelectMaster : public KDialogBase
+{
+ Q_OBJECT
+ public:
+ DialogSelectMaster(Mixer *);
+ ~DialogSelectMaster();
+
+ signals:
+ void newMasterSelected(int, QString& );
+
+ public slots:
+ void apply();
+
+ private:
+ void createWidgets(Mixer*);
+ void createPage(Mixer*);
+ QVBoxLayout* _layout;
+ KComboBox* m_cMixer;
+ QScrollView* m_scrollableChannelSelector;
+ QVBox *m_vboxForScrollView;
+ QButtonGroup *m_buttonGroupForScrollView;
+ QStringList m_mixerPKs;
+
+ private slots:
+ void createPageByID(int mixerId);
+};
+
+#endif