From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: TQt4 port k3b This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libk3b/plugin/k3bpluginfactory.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libk3b/plugin/k3bpluginfactory.h') diff --git a/libk3b/plugin/k3bpluginfactory.h b/libk3b/plugin/k3bpluginfactory.h index 6dbc6cb..463703f 100644 --- a/libk3b/plugin/k3bpluginfactory.h +++ b/libk3b/plugin/k3bpluginfactory.h @@ -23,7 +23,7 @@ #include /** - * Template based on KGenericFactory. This is just here to avoid using the QStringList args parameter + * Template based on KGenericFactory. This is just here to avoid using the TQStringList args parameter * in every plugin's constructor. * * Use this as follows: @@ -64,14 +64,14 @@ class K3bPluginFactory : public KLibFactory } } - virtual QObject* createObject( QObject *parent, const char *name, - const char*, const QStringList& ) { + virtual TQObject* createObject( TQObject *tqparent, const char *name, + const char*, const TQStringList& ) { initializeMessageCatalogue(); - return new T( parent, name ); + return new T( tqparent, name ); } private: - QCString m_instanceName; + TQCString m_instanceName; bool m_catalogueInitialized; static KInstance* s_instance; -- cgit v1.2.3