summaryrefslogtreecommitdiffstats
path: root/wizards/overviewpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /wizards/overviewpage.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wizards/overviewpage.cpp')
-rw-r--r--wizards/overviewpage.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/wizards/overviewpage.cpp b/wizards/overviewpage.cpp
index 0a4a5a3fa..657a8a0da 100644
--- a/wizards/overviewpage.cpp
+++ b/wizards/overviewpage.cpp
@@ -19,10 +19,10 @@
Boston, MA 02110-1301, USA.
*/
-#include <qbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
#include <kaccelmanager.h>
#include <kdialog.h>
@@ -40,59 +40,59 @@
#include "overviewpage.h"
-OverViewPage::OverViewPage( QWidget *parent, const char *name )
- : QWidget( parent, name )
+OverViewPage::OverViewPage( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
- QGridLayout *layout = new QGridLayout( this, 7, 4, KDialog::marginHint(),
+ TQGridLayout *layout = new TQGridLayout( this, 7, 4, KDialog::marginHint(),
KDialog::spacingHint() );
- const QString msg = i18n( "KDE Groupware Wizard" );
- QLabel *label = new QLabel( "<qt><b><u><h2>" + msg + "</h2></u></b></qt>" , this );
+ const TQString msg = i18n( "KDE Groupware Wizard" );
+ TQLabel *label = new TQLabel( "<qt><b><u><h2>" + msg + "</h2></u></b></qt>" , this );
layout->addMultiCellWidget( label, 0, 0, 0, 2 );
- label = new QLabel( this );
+ label = new TQLabel( this );
label->setPixmap( KGlobal::iconLoader()->loadIcon( "network", KIcon::Desktop ) );
layout->addWidget( label, 0, 3 );
- label = new QLabel( "", this );
+ label = new TQLabel( "", this );
layout->addWidget( label, 1, 0 );
layout->setRowSpacing( 1, 20 );
- label = new QLabel( i18n( "Select the type of server you want connect your KDE to:" ), this );
+ label = new TQLabel( i18n( "Select the type of server you want connect your KDE to:" ), this );
layout->addMultiCellWidget( label, 2, 2, 0, 3 );
- QPushButton *button = new QPushButton( i18n("eGroupware"), this );
+ TQPushButton *button = new TQPushButton( i18n("eGroupware"), this );
layout->addMultiCellWidget( button, 3, 3, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardEGroupware() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardEGroupware() ) );
// FIXME: Maybe hyperlinks would be better than buttons.
- button = new QPushButton( i18n("Kolab"), this );
+ button = new TQPushButton( i18n("Kolab"), this );
layout->addMultiCellWidget( button, 4, 4, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardKolab() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardKolab() ) );
- button = new QPushButton( i18n("SUSE Linux Openexchange (SLOX)"), this );
+ button = new TQPushButton( i18n("SUSE Linux Openexchange (SLOX)"), this );
layout->addMultiCellWidget( button, 5, 5, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardSlox() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardSlox() ) );
- button = new QPushButton( i18n("Novell GroupWise"), this );
+ button = new TQPushButton( i18n("Novell GroupWise"), this );
layout->addMultiCellWidget( button, 6, 6, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardGroupwise() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardGroupwise() ) );
- button = new QPushButton( i18n("Microsoft Exchange"), this );
+ button = new TQPushButton( i18n("Microsoft Exchange"), this );
button->hide(); // not quite ready yet
layout->addMultiCellWidget( button, 7, 7, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardExchange() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardExchange() ) );
- QFrame *frame = new QFrame( this );
- frame->setFrameStyle( QFrame::HLine | QFrame::Sunken );
+ TQFrame *frame = new TQFrame( this );
+ frame->setFrameStyle( TQFrame::HLine | TQFrame::Sunken );
layout->addMultiCellWidget( frame, 8, 8, 0, 3 );
- QPushButton *cancelButton = new KPushButton( KStdGuiItem::close(), this );
+ TQPushButton *cancelButton = new KPushButton( KStdGuiItem::close(), this );
layout->addWidget( cancelButton, 9, 3 );
- connect( cancelButton, SIGNAL( clicked() ), this, SIGNAL( cancel() ) );
+ connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( cancel() ) );
layout->setRowStretch( 8, 1 );