2
* KMix -- KDE's full featured mini mixer
4
* Copyright (C) 2000 Stefan Schimanski <1Stein@gmx.de>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Library General Public License for more details.
16
* You should have received a copy of the GNU Library General Public
17
* License along with this program; if not, write to the Free
18
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29
#include <QtDBus/QtDBus>
37
//#include <kxmlguiwindow.h>
38
#include <kdedmodule.h>
42
//class KMixDockWidget;
44
//class ViewDockAreaPopup;
45
#include "core/mixer.h"
50
KMixD : public KDEDModule, protected QDBusContext
53
Q_CLASSINFO("D-Bus Interface", "org.kde.KMixD")
56
KMixD(QObject* parent, const QList<QVariant>&);
60
void saveBaseConfig();
62
void loadBaseConfig();
65
void initActionsLate();
67
void fixConfigAfterRead();
72
//virtual void applyPrefs( KMixPrefDlg *prefDlg );
76
//KAction* _actionShowMenubar;
79
bool m_multiDriverMode; // Not officially supported.
80
bool m_autouseMultimediaKeys; // Due to message freeze, not in config dialog in KDE4.4
82
QString m_hwInfoString;
83
QString m_defaultCardOnStart;
84
bool m_dontSetDefaultCardOnStart;
85
unsigned int m_configVersion;
86
//void increaseOrDecreaseVolume(bool increase);
91
void plugged( const char* driverName, const QString& udi, QString& dev);
92
void unplugged( const QString& udi);
93
//void slotIncreaseVolume();
94
//void slotDecreaseVolume();