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 --- kivio/plugins/kiviotargettool/kiviotargettoolfactory.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'kivio/plugins/kiviotargettool/kiviotargettoolfactory.h') diff --git a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h index abe028ea..e1ba4521 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h +++ b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h @@ -19,8 +19,8 @@ #ifndef KIVIOTARGETTOOLFACTORY_H #define KIVIOTARGETTOOLFACTORY_H -#include -#include +#include +#include #include @@ -29,12 +29,13 @@ class KInstance; class KivioTargetToolFactory : public KLibFactory { Q_OBJECT + TQ_OBJECT public: - KivioTargetToolFactory(QObject *parent = 0, const char *name = 0); + KivioTargetToolFactory(TQObject *tqparent = 0, const char *name = 0); ~KivioTargetToolFactory(); - virtual QObject* createObject( QObject* parent = 0, const char* name = 0, - const char* classname = "QObject", const QStringList &args = QStringList() ); + virtual TQObject* createObject( TQObject* tqparent = 0, const char* name = 0, + const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); static KInstance* global(); -- cgit v1.2.1