-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 8 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 56 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.h | 6 |
3 files changed, 35 insertions, 35 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index cdee87c..ed601cf 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -72,2 +72,3 @@ void SoundSettings::reject() | |||
72 | { | 72 | { |
73 | qDebug("here"); | ||
73 | Config config( "qpe"); | 74 | Config config( "qpe"); |
@@ -90,4 +91,4 @@ void SoundSettings::reject() | |||
90 | // sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 91 | // sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); |
91 | 92 | ::exit(-1); | |
92 | QDialog::reject(); | 93 | // QDialog::reject(); |
93 | } | 94 | } |
@@ -115,3 +116,4 @@ void SoundSettings::accept() | |||
115 | // cfg.writeEntry( "hideIcon", HideIcon_CheckBox->isChecked()); | 116 | // cfg.writeEntry( "hideIcon", HideIcon_CheckBox->isChecked()); |
116 | QDialog::accept(); | 117 | // QDialog::accept(); |
118 | ::exit(0); | ||
117 | } | 119 | } |
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 937b068..563b438 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -3,3 +3,3 @@ | |||
3 | ** | 3 | ** |
4 | ** Created: Sun May 19 12:11:35 2002 | 4 | ** Created: Thu May 23 11:23:54 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
@@ -81,5 +81,5 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
81 | if ( !name ) | 81 | if ( !name ) |
82 | setName( "SoundSettingsBase" ); | 82 | setName( "SoundSettingsBase" ); |
83 | resize( 255, 301 ); | 83 | resize( 255, 301 ); |
84 | setCaption( tr( "Vmemo Settings" ) ); | 84 | setCaption( tr( "Sound Settings" ) ); |
85 | SoundSettingsBaseLayout = new QGridLayout( this ); | 85 | SoundSettingsBaseLayout = new QGridLayout( this ); |
@@ -97,12 +97,12 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
97 | GroupBox3Layout->setAlignment( Qt::AlignTop ); | 97 | GroupBox3Layout->setAlignment( Qt::AlignTop ); |
98 | GroupBox3Layout->setSpacing( 2 ); | 98 | GroupBox3Layout->setSpacing( 6 ); |
99 | GroupBox3Layout->setMargin( 2 ); | 99 | GroupBox3Layout->setMargin( 11 ); |
100 | 100 | ||
101 | Layout10 = new QVBoxLayout; | 101 | Layout10 = new QVBoxLayout; |
102 | Layout10->setSpacing( 2 ); | 102 | Layout10->setSpacing( 6 ); |
103 | Layout10->setMargin( 2 ); | 103 | Layout10->setMargin( 0 ); |
104 | 104 | ||
105 | Layout16 = new QHBoxLayout; | 105 | Layout16 = new QHBoxLayout; |
106 | Layout16->setSpacing( 2 ); | 106 | Layout16->setSpacing( 6 ); |
107 | Layout16->setMargin( 2 ); | 107 | Layout16->setMargin( 0 ); |
108 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 108 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
@@ -123,4 +123,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
123 | Layout13 = new QHBoxLayout; | 123 | Layout13 = new QHBoxLayout; |
124 | Layout13->setSpacing( 2 ); | 124 | Layout13->setSpacing( 6 ); |
125 | Layout13->setMargin( 2 ); | 125 | Layout13->setMargin( 0 ); |
126 | 126 | ||
@@ -140,4 +140,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
140 | Layout12 = new QHBoxLayout; | 140 | Layout12 = new QHBoxLayout; |
141 | Layout12->setSpacing( 2 ); | 141 | Layout12->setSpacing( 6 ); |
142 | Layout12->setMargin( 2 ); | 142 | Layout12->setMargin( 0 ); |
143 | 143 | ||
@@ -165,4 +165,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
165 | Layout17 = new QHBoxLayout; | 165 | Layout17 = new QHBoxLayout; |
166 | Layout17->setSpacing( 2 ); | 166 | Layout17->setSpacing( 6 ); |
167 | Layout17->setMargin( 2 ); | 167 | Layout17->setMargin( 0 ); |
168 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 168 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
@@ -186,4 +186,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
186 | Layout12_2 = new QVBoxLayout; | 186 | Layout12_2 = new QVBoxLayout; |
187 | Layout12_2->setSpacing( 2 ); | 187 | Layout12_2->setSpacing( 6 ); |
188 | Layout12_2->setMargin( 2 ); | 188 | Layout12_2->setMargin( 0 ); |
189 | 189 | ||
@@ -195,3 +195,3 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
195 | Layout11 = new QVBoxLayout( privateLayoutWidget ); | 195 | Layout11 = new QVBoxLayout( privateLayoutWidget ); |
196 | Layout11->setSpacing( 2 ); | 196 | Layout11->setSpacing( 6 ); |
197 | Layout11->setMargin( 0 ); | 197 | Layout11->setMargin( 0 ); |
@@ -203,8 +203,6 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
203 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); | 203 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); |
204 | sampleRate->insertItem( tr( "8000" ) ); | ||
205 | sampleRate->insertItem( tr( "11025" ) ); | 204 | sampleRate->insertItem( tr( "11025" ) ); |
206 | sampleRate->insertItem( tr( "22050" ) ); | 205 | sampleRate->insertItem( tr( "22050" ) ); |
207 | sampleRate->insertItem( tr( "33075" ) ); | 206 | sampleRate->insertItem( tr( "32000" ) ); |
208 | sampleRate->insertItem( tr( "44100" ) ); | 207 | sampleRate->insertItem( tr( "44100" ) ); |
209 | sampleRate->setFixedWidth(90); | ||
210 | Layout11->addWidget( sampleRate ); | 208 | Layout11->addWidget( sampleRate ); |
@@ -231,11 +229,11 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
231 | 229 | ||
232 | // // touchsound = new QCheckBox( this, "touchsound" ); | 230 | touchsound = new QCheckBox( this, "touchsound" ); |
233 | // // touchsound->setText( tr( "Screen sounds" ) ); | 231 | touchsound->setText( tr( "Screen sounds" ) ); |
234 | // // Layout12_2->addWidget( touchsound ); | 232 | Layout12_2->addWidget( touchsound ); |
235 | 233 | ||
236 | // // keysound = new QCheckBox( this, "keysound" ); | 234 | keysound = new QCheckBox( this, "keysound" ); |
237 | // // keysound->setText( tr( "Keyboard sounds" ) ); | 235 | keysound->setText( tr( "Keyboard sounds" ) ); |
238 | // // Layout12_2->addWidget( keysound ); | 236 | Layout12_2->addWidget( keysound ); |
239 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 237 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
240 | Layout12_2->addItem( spacer_9 ); | 238 | Layout12_2->addItem( spacer_9 ); |
241 | 239 | ||
diff --git a/noncore/settings/sound/soundsettingsbase.h b/noncore/settings/sound/soundsettingsbase.h index 8ad80f6..66ba34a 100644 --- a/noncore/settings/sound/soundsettingsbase.h +++ b/noncore/settings/sound/soundsettingsbase.h | |||
@@ -3,3 +3,3 @@ | |||
3 | ** | 3 | ** |
4 | ** Created: Sun May 19 12:11:23 2002 | 4 | ** Created: Thu May 23 11:23:38 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
@@ -47,4 +47,4 @@ public: | |||
47 | QComboBox* LocationComboBox; | 47 | QComboBox* LocationComboBox; |
48 | /* QCheckBox* touchsound; */ | 48 | QCheckBox* touchsound; |
49 | /* QCheckBox* keysound; */ | 49 | QCheckBox* keysound; |
50 | 50 | ||