summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettingsbase.cpp14
-rw-r--r--noncore/settings/sound/soundsettingsbase.h4
2 files changed, 9 insertions, 9 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp
index 563b438..7c2123a 100644
--- a/noncore/settings/sound/soundsettingsbase.cpp
+++ b/noncore/settings/sound/soundsettingsbase.cpp
@@ -70,25 +70,25 @@ static const char* const image1_data[] = {
* Constructs a SoundSettingsBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
QPixmap image0( ( const char** ) image0_data );
QPixmap image1( ( const char** ) image1_data );
if ( !name )
- setName( "SoundSettingsBase" );
+ setName( "SoundSettingsBase" );
resize( 255, 301 );
setCaption( tr( "Sound Settings" ) );
SoundSettingsBaseLayout = new QGridLayout( this );
SoundSettingsBaseLayout->setSpacing( 6 );
SoundSettingsBaseLayout->setMargin( 11 );
GroupBox3 = new QGroupBox( this, "GroupBox3" );
GroupBox3->setFrameShape( QGroupBox::Box );
GroupBox3->setFrameShadow( QGroupBox::Sunken );
GroupBox3->setTitle( tr( "Levels" ) );
GroupBox3->setColumnLayout(0, Qt::Vertical );
GroupBox3->layout()->setSpacing( 0 );
@@ -218,31 +218,31 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
AlertCheckBox = new QCheckBox( privateLayoutWidget, "AlertCheckBox" );
AlertCheckBox->setText( tr( "Visual Alerts" ) );
Layout11->addWidget( AlertCheckBox );
TextLabel1 = new QLabel( privateLayoutWidget, "TextLabel1" );
TextLabel1->setText( tr( "Location" ) );
Layout11->addWidget( TextLabel1 );
LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" );
Layout11->addWidget( LocationComboBox );
Layout12_2->addWidget( GroupBox1 );
- touchsound = new QCheckBox( this, "touchsound" );
- touchsound->setText( tr( "Screen sounds" ) );
- Layout12_2->addWidget( touchsound );
+// touchsound = new QCheckBox( this, "touchsound" );
+// touchsound->setText( tr( "Screen sounds" ) );
+// Layout12_2->addWidget( touchsound );
- keysound = new QCheckBox( this, "keysound" );
- keysound->setText( tr( "Keyboard sounds" ) );
- Layout12_2->addWidget( keysound );
+// keysound = new QCheckBox( this, "keysound" );
+// keysound->setText( tr( "Keyboard sounds" ) );
+// Layout12_2->addWidget( keysound );
QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
Layout12_2->addItem( spacer_9 );
SoundSettingsBaseLayout->addLayout( Layout12_2, 0, 1 );
}
/*
* Destroys the object and frees any allocated resources
*/
SoundSettingsBase::~SoundSettingsBase()
{
// no need to delete child widgets, Qt does it all for us
diff --git a/noncore/settings/sound/soundsettingsbase.h b/noncore/settings/sound/soundsettingsbase.h
index 66ba34a..e65c813 100644
--- a/noncore/settings/sound/soundsettingsbase.h
+++ b/noncore/settings/sound/soundsettingsbase.h
@@ -36,26 +36,26 @@ public:
QSlider* volume;
QSlider* mic;
QLabel* PixmapLabel2_2;
QLabel* TextLabel2_2;
QGroupBox* GroupBox1;
QLabel* sampleRateLabel;
QComboBox* sampleRate;
QCheckBox* stereoCheckBox;
QCheckBox* sixteenBitCheckBox;
QCheckBox* AlertCheckBox;
QLabel* TextLabel1;
QComboBox* LocationComboBox;
- QCheckBox* touchsound;
- QCheckBox* keysound;
+/* QCheckBox* touchsound; */
+/* QCheckBox* keysound; */
protected:
QGridLayout* SoundSettingsBaseLayout;
QVBoxLayout* GroupBox3Layout;
QVBoxLayout* Layout10;
QHBoxLayout* Layout16;
QHBoxLayout* Layout13;
QHBoxLayout* Layout12;
QHBoxLayout* Layout17;
QVBoxLayout* Layout12_2;
QVBoxLayout* Layout11;
};