summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index 8b97e4d..20f0dab 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -5,48 +5,49 @@
5 ** 5 **
6 ** This file may be distributed and/or modified under the terms of the 6 ** This file may be distributed and/or modified under the terms of the
7 ** GNU General Public License version 2 as published by the Free Software 7 ** GNU General Public License version 2 as published by the Free Software
8 ** Foundation and appearing in the file LICENSE.GPL included in the 8 ** Foundation and appearing in the file LICENSE.GPL included in the
9 ** packaging of this file. 9 ** packaging of this file.
10 ** 10 **
11 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 ** 13 **
14 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 14 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
15 ** 15 **
16 ** Contact info@trolltech.com if any conditions of this licensing are 16 ** Contact info@trolltech.com if any conditions of this licensing are
17 ** not clear to you. 17 ** not clear to you.
18 ** 18 **
19 **********************************************************************/ 19 **********************************************************************/
20// parts copyright 2002 L.J. Potter 20// parts copyright 2002 L.J. Potter
21 21
22#include "soundsettings.h" 22#include "soundsettings.h"
23 23
24#include <qpe/qpeapplication.h> 24#include <qpe/qpeapplication.h>
25#include <qpe/config.h> 25#include <qpe/config.h>
26#include <qpe/qcopenvelope_qws.h> 26#include <qpe/qcopenvelope_qws.h>
27#include <qpe/storage.h> 27#include <qpe/storage.h>
28 28
29#include <qmessagebox.h>
29#include <qapplication.h> 30#include <qapplication.h>
30#include <qslider.h> 31#include <qslider.h>
31#include <qcheckbox.h> 32#include <qcheckbox.h>
32#include <qlineedit.h> 33#include <qlineedit.h>
33#include <qcombobox.h> 34#include <qcombobox.h>
34 35
35#include <sys/utsname.h> 36#include <sys/utsname.h>
36#include <sys/time.h> 37#include <sys/time.h>
37#include <sys/types.h> 38#include <sys/types.h>
38#include <unistd.h> 39#include <unistd.h>
39#include <stdio.h> 40#include <stdio.h>
40#include <sys/stat.h> 41#include <sys/stat.h>
41 42
42SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl ) 43SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl )
43 : SoundSettingsBase( parent, objname, TRUE, fl ) 44 : SoundSettingsBase( parent, objname, TRUE, fl )
44{ 45{
45 keyReset=FALSE; 46 keyReset=FALSE;
46 47
47 Config config( "qpe"); 48 Config config( "qpe");
48 config.setGroup( "Volume" ); 49 config.setGroup( "Volume" );
49 Config cfg("Vmemo"); 50 Config cfg("Vmemo");
50 connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); 51 connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) );
51 AlertCheckBox->setChecked(cfg.readBoolEntry("Alert")); 52 AlertCheckBox->setChecked(cfg.readBoolEntry("Alert"));
52 53