diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/migration | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/plugins/migration')
-rw-r--r-- | kexi/plugins/migration/keximigrationpart.cpp | 10 | ||||
-rw-r--r-- | kexi/plugins/migration/keximigrationpart.h | 8 |
2 files changed, 9 insertions, 9 deletions
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 <kgenericfactory.h> -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<QString,QString>* args ) +TQWidget *KexiMigrationPart::createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, + TQWidget *tqparent, const char *objName, TQMap<TQString,TQString>* 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<QString,QString>* args = 0); + or TQDialog objects. */ + virtual TQWidget *createWidget(const char* /*widgetClass*/, KexiMainWindow* mainWin, + TQWidget *tqparent, const char *objName = 0, TQMap<TQString,TQString>* args = 0); }; #endif |