From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kexi/plugins/migration/keximigrationpart.cpp | 10 +++++----- kexi/plugins/migration/keximigrationpart.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kexi/plugins/migration') diff --git a/kexi/plugins/migration/keximigrationpart.cpp b/kexi/plugins/migration/keximigrationpart.cpp index 0f6c408b..5d4830ef 100644 --- a/kexi/plugins/migration/keximigrationpart.cpp +++ b/kexi/plugins/migration/keximigrationpart.cpp @@ -23,8 +23,8 @@ #include -KexiMigrationPart::KexiMigrationPart(QObject *parent, const char *name, const QStringList &args) - : KexiInternalPart(parent, name, args) +KexiMigrationPart::KexiMigrationPart(TQObject *tqparent, const char *name, const TQStringList &args) + : KexiInternalPart(tqparent, name, args) { } @@ -32,12 +32,12 @@ KexiMigrationPart::~KexiMigrationPart() { } -QWidget *KexiMigrationPart::createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, - QWidget *parent, const char *objName, QMap* args ) +TQWidget *KexiMigrationPart::createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, + TQWidget *tqparent, const char *objName, TQMap* args ) { Q_UNUSED( mainWin ); - KexiMigration::ImportWizard *w = new KexiMigration::ImportWizard(parent, args); + KexiMigration::ImportWizard *w = new KexiMigration::ImportWizard(tqparent, args); w->setName(objName); return w; } diff --git a/kexi/plugins/migration/keximigrationpart.h b/kexi/plugins/migration/keximigrationpart.h index 528aac82..b41656a6 100644 --- a/kexi/plugins/migration/keximigrationpart.h +++ b/kexi/plugins/migration/keximigrationpart.h @@ -26,13 +26,13 @@ class KexiMigrationPart : public KexiInternalPart { public: - KexiMigrationPart(QObject *parent, const char *name, const QStringList &args); + KexiMigrationPart(TQObject *tqparent, const char *name, const TQStringList &args); virtual ~KexiMigrationPart(); /*! Reimplement this if your internal part has to return widgets - or QDialog objects. */ - virtual QWidget *createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, - QWidget *parent, const char *objName = 0, QMap* args = 0); + or TQDialog objects. */ + virtual TQWidget *createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, + TQWidget *tqparent, const char *objName = 0, TQMap* args = 0); }; #endif -- cgit v1.2.1