summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/groupwarewizard.cpp4
-rw-r--r--wizards/overviewpage.cpp26
2 files changed, 15 insertions, 15 deletions
diff --git a/wizards/groupwarewizard.cpp b/wizards/groupwarewizard.cpp
index ef8a2b514..dd2fa0364 100644
--- a/wizards/groupwarewizard.cpp
+++ b/wizards/groupwarewizard.cpp
@@ -33,11 +33,11 @@ GroupwareWizard::GroupwareWizard( TQWidget *parent, const char *name )
{
setCaption( i18n( "KDE Groupware Wizard" ) );
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
mOverViewPage = new OverViewPage( this );
- tqlayout->addWidget( mOverViewPage );
+ layout->addWidget( mOverViewPage );
connect( mOverViewPage, TQT_SIGNAL( cancel() ),
tqApp, TQT_SLOT( quit() ) );
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 );
}