summaryrefslogtreecommitdiffstats
path: root/wizards/overviewpage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /wizards/overviewpage.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'wizards/overviewpage.cpp')
-rw-r--r--wizards/overviewpage.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/wizards/overviewpage.cpp b/wizards/overviewpage.cpp
index 15df0246f..4ed6c4acf 100644
--- a/wizards/overviewpage.cpp
+++ b/wizards/overviewpage.cpp
@@ -21,7 +21,7 @@
#include <tqbuttongroup.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqradiobutton.h>
#include <kaccelmanager.h>
@@ -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 );
}