summaryrefslogtreecommitdiffstats
path: root/kpilot/lib/pluginfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/lib/pluginfactory.h')
-rw-r--r--kpilot/lib/pluginfactory.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpilot/lib/pluginfactory.h b/kpilot/lib/pluginfactory.h
index 8eecc5584..f43c706db 100644
--- a/kpilot/lib/pluginfactory.h
+++ b/kpilot/lib/pluginfactory.h
@@ -27,7 +27,7 @@
** Bug reports and questions can be sent to kde-pim@kde.org
*/
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kdebug.h>
#include <klibloader.h>
@@ -45,22 +45,22 @@ class KPilotLink;
template <class Widget, class Action> class ConduitFactory : public KLibFactory
{
public:
- ConduitFactory(QObject *parent = 0, const char *name = 0) :
+ ConduitFactory(TQObject *parent = 0, const char *name = 0) :
KLibFactory(parent,name)
{ fInstance = new KInstance(name); } ;
virtual ~ConduitFactory()
{ delete fInstance; } ;
protected:
- virtual QObject *createObject(
- QObject* parent = 0,
+ virtual TQObject *createObject(
+ TQObject* parent = 0,
const char* name = 0,
- const char* classname = "QObject",
- const QStringList &args = QStringList() )
+ const char* classname = "TQObject",
+ const TQStringList &args = TQStringList() )
{
if (qstrcmp(classname,"ConduitConfigBase")==0)
{
- QWidget *w = dynamic_cast<QWidget *>(parent);
+ TQWidget *w = dynamic_cast<TQWidget *>(parent);
if (w) return new Widget(w,name);
else
{