From f6f9c296c3f9d39a8c3d0ee64a542a47f450be28 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 00:37:32 +0000 Subject: TQt4 port kpilot This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- conduits/knotes/knotes-factory.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'conduits/knotes/knotes-factory.h') diff --git a/conduits/knotes/knotes-factory.h b/conduits/knotes/knotes-factory.h index 02b0f61..b8c8311 100644 --- a/conduits/knotes/knotes-factory.h +++ b/conduits/knotes/knotes-factory.h @@ -37,6 +37,7 @@ class KAboutData; class KNotesConduitFactory : public KLibFactory { Q_OBJECT + TQ_OBJECT public: KNotesConduitFactory(TQObject * = 0L,const char * = 0L); @@ -50,9 +51,9 @@ public: // break its value. We store group and entry keys in here. protected: - virtual TQObject* createObject( TQObject* parent = 0, + virtual TQObject* createObject( TQObject* tqparent = 0, const char* name = 0, - const char* classname = "TQObject", + const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); private: KInstance *fInstance; -- cgit v1.2.1