diff options
Diffstat (limited to 'wizards/overviewpage.cpp')
-rw-r--r-- | wizards/overviewpage.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/wizards/overviewpage.cpp b/wizards/overviewpage.cpp index 15df0246f..8dcea2bb1 100644 --- a/wizards/overviewpage.cpp +++ b/wizards/overviewpage.cpp @@ -43,29 +43,29 @@ OverViewPage::OverViewPage( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQGridLayout *tqlayout = new TQGridLayout( this, 7, 4, KDialog::marginHint(), + TQGridLayout *layout = new TQGridLayout( this, 7, 4, KDialog::marginHint(), KDialog::spacingHint() ); const TQString msg = i18n( "KDE Groupware Wizard" ); TQLabel *label = new TQLabel( "<qt><b><u><h2>" + msg + "</h2></u></b></qt>" , this ); - tqlayout->addMultiCellWidget( label, 0, 0, 0, 2 ); + layout->addMultiCellWidget( label, 0, 0, 0, 2 ); label = new TQLabel( this ); label->setPixmap( KGlobal::iconLoader()->loadIcon( "network", KIcon::Desktop ) ); - tqlayout->addWidget( label, 0, 3 ); + layout->addWidget( label, 0, 3 ); label = new TQLabel( "", this ); - tqlayout->addWidget( label, 1, 0 ); - tqlayout->setRowSpacing( 1, 20 ); + layout->addWidget( label, 1, 0 ); + layout->setRowSpacing( 1, 20 ); label = new TQLabel( i18n( "Select the type of server you want connect your KDE to:" ), this ); - tqlayout->addMultiCellWidget( label, 2, 2, 0, 3 ); + layout->addMultiCellWidget( label, 2, 2, 0, 3 ); TQPushButton *button; #ifdef WITH_EGROUPWARE button = new TQPushButton( i18n("eGroupware"), this ); - tqlayout->addMultiCellWidget( button, 3, 3, 0, 3 ); + layout->addMultiCellWidget( button, 3, 3, 0, 3 ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardEGroupware() ) ); #endif @@ -73,33 +73,33 @@ OverViewPage::OverViewPage( TQWidget *parent, const char *name ) #ifdef WITH_KOLAB button = new TQPushButton( i18n("Kolab"), this ); - tqlayout->addMultiCellWidget( button, 4, 4, 0, 3 ); + layout->addMultiCellWidget( button, 4, 4, 0, 3 ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardKolab() ) ); #endif #ifdef WITH_SLOX button = new TQPushButton( i18n("SUSE Linux Openexchange (SLOX)"), this ); - tqlayout->addMultiCellWidget( button, 5, 5, 0, 3 ); + layout->addMultiCellWidget( button, 5, 5, 0, 3 ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardSlox() ) ); #endif #ifdef WITH_NEWEXCHANGE button = new TQPushButton( i18n("Microsoft Exchange"), this ); button->hide(); // not quite ready yet - tqlayout->addMultiCellWidget( button, 6, 6, 0, 3 ); + layout->addMultiCellWidget( button, 6, 6, 0, 3 ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardExchange() ) ); #endif TQFrame *frame = new TQFrame( this ); frame->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); - tqlayout->addMultiCellWidget( frame, 7, 7, 0, 3 ); + layout->addMultiCellWidget( frame, 7, 7, 0, 3 ); TQPushButton *cancelButton = new KPushButton( KStdGuiItem::close(), this ); - tqlayout->addWidget( cancelButton, 8, 3 ); + layout->addWidget( cancelButton, 8, 3 ); connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( cancel() ) ); - tqlayout->setRowStretch( 7, 1 ); + layout->setRowStretch( 7, 1 ); KAcceleratorManager::manage( this ); } |