2
* KMix -- KDE's full featured mini mixer
5
* Copyright (C) 2000 Stefan Schimanski <1Stein@gmx.de>
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.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
30
// include files for Qt
32
#include <qtabwidget.h>
34
// include files for KDE
36
#include <kmainwindow.h>
39
#include <kiconloader.h>
40
#include <kuniqueapp.h>
45
class KMixerPrefWidget;
50
class KMixApp : public KUniqueApplication
61
class KMixWindow : public KMainWindow
80
void closeEvent( QCloseEvent * e );
92
virtual void applyPrefs( KMixPrefDlg *prefDlg );
96
QPopupMenu *m_fileMenu;
97
QPopupMenu *m_viewMenu;
98
QPopupMenu *m_helpMenu;
100
bool m_showDockWidget;
109
QList<Mixer> m_mixers;
110
QList<KMixerWidget> m_mixerWidgets;
115
KMixPrefDlg *m_prefDlg;
116
KMixDockWidget *m_dockWidget;
119
void insertMixerWidget( KMixerWidget *mw );
120
void removeMixerWidget( KMixerWidget *mw );
123
void toggleVisibility();