Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 05b4b7e..1a60109 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -144,12 +144,15 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
144 | keyComboBox->insertItem( tr( "Key_Calender" ) ); | 144 | keyComboBox->insertItem( tr( "Key_Calender" ) ); |
145 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); | 145 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); |
146 | keyComboBox->insertItem( tr( "Key_Menu" ) ); | 146 | keyComboBox->insertItem( tr( "Key_Menu" ) ); |
147 | keyComboBox->insertItem( tr( "Key_Mail" ) ); | 147 | keyComboBox->insertItem( tr( "Key_Mail" ) ); |
148 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); | 148 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); |
149 | 149 | ||
150 | keyLabel= new QLabel( this, "keyLabel" ); | ||
151 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); | ||
152 | |||
150 | QLabel *timeLimitLabel; | 153 | QLabel *timeLimitLabel; |
151 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); | 154 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); |
152 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); | 155 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); |
153 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); | 156 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); |
154 | 157 | ||
155 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); | 158 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); |
@@ -159,12 +162,19 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
159 | timeLimitComboBox->insertItem( tr( "10" ) ); | 162 | timeLimitComboBox->insertItem( tr( "10" ) ); |
160 | timeLimitComboBox->insertItem( tr( "5" ) ); | 163 | timeLimitComboBox->insertItem( tr( "5" ) ); |
161 | timeLimitComboBox->insertItem( tr( "Unlimited" ) ); | 164 | timeLimitComboBox->insertItem( tr( "Unlimited" ) ); |
162 | 165 | ||
163 | SoundSettingsBaseLayout->addMultiCellWidget(timeLimitComboBox , 8, 8, 0, 0, 1); | 166 | SoundSettingsBaseLayout->addMultiCellWidget(timeLimitComboBox , 8, 8, 0, 0, 1); |
164 | 167 | ||
168 | |||
169 | restartCheckBox= new QCheckBox( this, "restartCheck" ); | ||
170 | restartCheckBox->setText( tr( "Restart Opie if needed" ) ); | ||
171 | |||
172 | SoundSettingsBaseLayout->addMultiCellWidget( restartCheckBox , 9, 9, 0, 0, 1); | ||
173 | |||
174 | |||
165 | QSpacerItem* spacer4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); | 175 | QSpacerItem* spacer4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); |
166 | SoundSettingsBaseLayout->addItem( spacer4, 9, 0 ); | 176 | SoundSettingsBaseLayout->addItem( spacer4, 9, 0 ); |
167 | } | 177 | } |
168 | 178 | ||
169 | /* | 179 | /* |
170 | * Destroys the object and frees any allocated resources | 180 | * Destroys the object and frees any allocated resources |