summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexidswelcome.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/kexidswelcome.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/widget/kexidswelcome.cpp')
-rw-r--r--kexi/widget/kexidswelcome.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/widget/kexidswelcome.cpp b/kexi/widget/kexidswelcome.cpp
index 957132a1..ca2480f6 100644
--- a/kexi/widget/kexidswelcome.cpp
+++ b/kexi/widget/kexidswelcome.cpp
@@ -17,9 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qpushbutton.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqpushbutton.h>
#include <klocale.h>
#include <kiconloader.h>
@@ -30,22 +30,22 @@
#include "kexidatasourcewizard.h"
#include "kexidswelcome.h"
-KexiDSWelcome::KexiDSWelcome(KexiDataSourceWizard *parent)
- : QWidget(parent)
+KexiDSWelcome::KexiDSWelcome(KexiDataSourceWizard *tqparent)
+ : TQWidget(tqparent)
{
- m_wiz = parent;
+ m_wiz = tqparent;
KexiDSPixmap *pic = new KexiDSPixmap(this);
- QLabel *lText = new QLabel(i18n("Kexi can help you with creation of %2 using data sources in almost no time with the \"%1 Wizard\""), this);
- lText->setAlignment(AlignTop | AlignLeft | WordBreak);
- QCheckBox *useWizard = new QCheckBox(i18n("Create %1 using the \"%1 Wizard\""), this);
- connect(useWizard, SIGNAL(toggled(bool)), this, SLOT(setUseWizard(bool)));
+ TQLabel *lText = new TQLabel(i18n("Kexi can help you with creation of %2 using data sources in almost no time with the \"%1 Wizard\""), this);
+ lText->tqsetAlignment(AlignTop | AlignLeft | WordBreak);
+ TQCheckBox *useWizard = new TQCheckBox(i18n("Create %1 using the \"%1 Wizard\""), this);
+ connect(useWizard, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setUseWizard(bool)));
useWizard->setChecked(true);
- QSpacerItem *spacer = new QSpacerItem(320, 220);
- QCheckBox *dontShow = new QCheckBox(i18n("Do not show this wizard again"), this);
+ TQSpacerItem *spacer = new TQSpacerItem(320, 220);
+ TQCheckBox *dontShow = new TQCheckBox(i18n("Do not show this wizard again"), this);
- QGridLayout *g = new QGridLayout(this);
+ TQGridLayout *g = new TQGridLayout(this);
g->addMultiCellWidget(pic, 0, 4, 0, 0);
g->addWidget(lText, 0, 1);
@@ -57,7 +57,7 @@ KexiDSWelcome::KexiDSWelcome(KexiDataSourceWizard *parent)
void
KexiDSWelcome::setUseWizard(bool use)
{
-#if KDE_IS_VERSION(3,1,9) && !defined(Q_WS_WIN)
+#if KDE_IS_VERSION(3,1,9) && !defined(TQ_WS_WIN)
bool useIcons = KGlobalSettings::showIconsOnPushButtons();
#else
bool useIcons = true;