~ubuntu-branches/ubuntu/natty/kdemultimedia/natty-proposed

« back to all changes in this revision

Viewing changes to kmix/dialogselectmaster.h

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers
  • Date: 2011-05-26 02:41:36 UTC
  • mfrom: (0.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: james.westby@ubuntu.com-20110526024136-jjwsigfy402jhupm
Tags: upstream-4.6.3
ImportĀ upstreamĀ versionĀ 4.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//-*-C++-*-
2
 
/*
3
 
 * KMix -- KDE's full featured mini mixer
4
 
 *
5
 
 * Copyright Christian Esken <esken@kde.org>
6
 
 *
7
 
 * This program is free software; you can redistribute it and/or
8
 
 * modify it under the terms of the GNU Library General Public
9
 
 * License as published by the Free Software Foundation; either
10
 
 * version 2 of the License, or (at your option) any later version.
11
 
 *
12
 
 * This program is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 
 * Library General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU Library General Public
18
 
 * License along with this program; if not, write to the Free
19
 
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20
 
 */
21
 
#ifndef DIALOGSELECTMASTER_H
22
 
#define DIALOGSELECTMASTER_H
23
 
 
24
 
class QButtonGroup;
25
 
class KComboBox;
26
 
#include <qradiobutton.h>
27
 
class QScrollArea;
28
 
#include <kvbox.h>
29
 
class QVBoxLayout;
30
 
 
31
 
#include <kdialog.h>
32
 
 
33
 
class Mixer;
34
 
 
35
 
class DialogSelectMaster : public KDialog
36
 
{
37
 
    Q_OBJECT
38
 
 public:
39
 
    DialogSelectMaster(Mixer * = 0);
40
 
    ~DialogSelectMaster();
41
 
 
42
 
 signals:
43
 
     void newMasterSelected(QString&, QString& );
44
 
 
45
 
 public slots:
46
 
    void apply();
47
 
 
48
 
 private:
49
 
    void createWidgets(Mixer*);
50
 
    void createPage(Mixer*);
51
 
    QVBoxLayout* _layout;
52
 
    KComboBox* m_cMixer;
53
 
    QScrollArea* m_scrollableChannelSelector;
54
 
    KVBox *m_vboxForScrollView;
55
 
    QButtonGroup *m_buttonGroupForScrollView;
56
 
    //QStringList m_mixerPKs;
57
 
    QFrame *m_mainFrame;
58
 
 
59
 
 private slots:
60
 
   void createPageByID(int mixerId);
61
 
};
62
 
 
63
 
#endif