author | llornkcor <llornkcor> | 2003-08-10 23:02:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-08-10 23:02:47 (UTC) |
commit | 44bb1f23dcd0bea4775ba4b48fb370ad651290cc (patch) (unidiff) | |
tree | 83028d0b3af21790e9e69dd83ce495a020bea948 /noncore/settings/sound/soundsettingsbase.cpp | |
parent | 41b3267ce7142a62ac3d3d6eef3feb33f00deda5 (diff) | |
download | opie-44bb1f23dcd0bea4775ba4b48fb370ad651290cc.zip opie-44bb1f23dcd0bea4775ba4b48fb370ad651290cc.tar.gz opie-44bb1f23dcd0bea4775ba4b48fb370ad651290cc.tar.bz2 |
add adpcm checkbox
Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index af794ba..f283119 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -140,37 +140,41 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
140 | 140 | ||
141 | keyLabel= new QLabel( this, "keyLabel" ); | 141 | keyLabel= new QLabel( this, "keyLabel" ); |
142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); | 142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); |
143 | 143 | ||
144 | QLabel *timeLimitLabel; | 144 | QLabel *timeLimitLabel; |
145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); | 145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); |
146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); | 146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); |
147 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); | 147 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); |
148 | 148 | ||
149 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); | 149 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); |
150 | timeLimitComboBox->insertItem( tr( "30" ) ); | 150 | timeLimitComboBox->insertItem( tr( "30" ) ); |
151 | timeLimitComboBox->insertItem( tr( "20" ) ); | 151 | timeLimitComboBox->insertItem( tr( "20" ) ); |
152 | timeLimitComboBox->insertItem( tr( "15" ) ); | 152 | timeLimitComboBox->insertItem( tr( "15" ) ); |
153 | timeLimitComboBox->insertItem( tr( "10" ) ); | 153 | timeLimitComboBox->insertItem( tr( "10" ) ); |
154 | timeLimitComboBox->insertItem( tr( "5" ) ); | 154 | timeLimitComboBox->insertItem( tr( "5" ) ); |
155 | timeLimitComboBox->insertItem( tr( "Unlimited" ) ); | 155 | timeLimitComboBox->insertItem( tr( "Unlimited" ) ); |
156 | 156 | ||
157 | SoundSettingsBaseLayout->addMultiCellWidget(timeLimitComboBox , 8, 8, 0, 0, 1); | 157 | SoundSettingsBaseLayout->addMultiCellWidget(timeLimitComboBox , 8, 8, 0, 0, 1); |
158 | 158 | ||
159 | 159 | ||
160 | restartCheckBox= new QCheckBox( this, "restartCheck" ); | 160 | restartCheckBox= new QCheckBox( this, "restartCheck" ); |
161 | restartCheckBox->setText( tr( "Restart Opie if needed" ) ); | 161 | restartCheckBox->setText( tr( "Restart Opie if needed" ) ); |
162 | 162 | ||
163 | SoundSettingsBaseLayout->addMultiCellWidget( restartCheckBox , 9, 9, 0, 0, 1); | 163 | SoundSettingsBaseLayout->addMultiCellWidget( restartCheckBox , 9, 9, 0, 0, 1); |
164 | 164 | ||
165 | adpcmCheckBox = new QCheckBox( this, "adpcmCheck" ); | ||
166 | adpcmCheckBox->setText( tr( "Use ADPCM compression" ) ); | ||
167 | |||
168 | SoundSettingsBaseLayout->addMultiCellWidget( adpcmCheckBox , 10, 10, 0, 0, 1); | ||
165 | 169 | ||
166 | QSpacerItem* spacer4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); | 170 | QSpacerItem* spacer4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); |
167 | SoundSettingsBaseLayout->addItem( spacer4, 9, 0 ); | 171 | SoundSettingsBaseLayout->addItem( spacer4, 10, 0 ); |
168 | } | 172 | } |
169 | 173 | ||
170 | /* | 174 | /* |
171 | * Destroys the object and frees any allocated resources | 175 | * Destroys the object and frees any allocated resources |
172 | */ | 176 | */ |
173 | SoundSettingsBase::~SoundSettingsBase() | 177 | SoundSettingsBase::~SoundSettingsBase() |
174 | { | 178 | { |
175 | // no need to delete child widgets, Qt does it all for us | 179 | // no need to delete child widgets, Qt does it all for us |
176 | } | 180 | } |