Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index f86db78..727d202 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp @@ -4,24 +4,25 @@ ** Created: Sun May 19 12:11:35 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "soundsettingsbase.h" #include <qcheckbox.h> #include <qcombobox.h> #include <qgroupbox.h> #include <qmainwindow.h> +#include <qpe/qpeapplication.h> #include <qlabel.h> #include <qpushbutton.h> #include <qslider.h> #include <qlayout.h> #include <qvariant.h> #include <qtooltip.h> #include <qwhatsthis.h> #include <qimage.h> #include <qpixmap.h> static const char* const image0_data[] = { "16 16 3 1", @@ -75,24 +76,25 @@ static const char* const image1_data[] = { * 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 ) : QMainWindow( parent, name, fl ) { QPixmap image0( ( const char** ) image0_data ); QPixmap image1( ( const char** ) image1_data ); if ( !name ) setName( "SoundSettingsBase" ); resize( 255, 301 ); setCaption( tr( "Vmemo 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 ); GroupBox3->layout()->setMargin( 0 ); GroupBox3Layout = new QVBoxLayout( GroupBox3->layout() ); @@ -242,13 +244,12 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m 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 } - |