-rw-r--r-- | microkde/kdialogbase.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp index c953058..d1f7630 100644 --- a/microkde/kdialogbase.cpp +++ b/microkde/kdialogbase.cpp @@ -18,3 +18,3 @@ KDialogBase::KDialogBase( QWidget *parent, const char *name, bool modal, int buttonMask, ButtonCode defaultButton, - bool separator, + bool separator, const QString &user1, @@ -30,5 +30,5 @@ KDialogBase::KDialogBase( QWidget *parent, const char *name, bool modal, -KDialogBase::KDialogBase( int dialogFace, const QString &caption, - int buttonMask, ButtonCode defaultButton, - QWidget *parent, const char *name, bool modal, +KDialogBase::KDialogBase( int dialogFace, const QString &caption, + int buttonMask, ButtonCode defaultButton, + QWidget *parent, const char *name, bool modal, bool separator, @@ -80,3 +80,2 @@ void KDialogBase::init( const QString &caption, int buttonMask, if ( buttonMask & Default ) { - qDebug("buttonMask & Default "); mDefaultButton = new QPushButton( i18n("Default"), this ); @@ -106,3 +105,3 @@ void KDialogBase::init( const QString &caption, int buttonMask, mCloseButton = 0; - } + } } @@ -127,3 +126,3 @@ void KDialogBase::hideButtons() if ( mCloseButton ) mCloseButton->hide() ; - + } @@ -131,3 +130,3 @@ void KDialogBase::initLayout() { - + delete mTopLayout; @@ -136,8 +135,8 @@ void KDialogBase::initLayout() mTopLayout->setSpacing( spacingHint() ); - + mTopLayout->addWidget( mMainWidget ); - + QBoxLayout *buttonLayout = new QHBoxLayout; mTopLayout->addLayout( buttonLayout ); - + if ( mUser1Button ) buttonLayout->addWidget( mUser1Button ); @@ -207,3 +206,3 @@ QPushButton *KDialogBase::findButton( ButtonCode id ) button = mCancelButton; - break; + break; case Default: @@ -215,3 +214,3 @@ QPushButton *KDialogBase::findButton( ButtonCode id ) default: - break; + break; } |