diff options
Diffstat (limited to 'kplato/kptfactory.h')
-rw-r--r-- | kplato/kptfactory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kplato/kptfactory.h b/kplato/kptfactory.h index 49e51ce9..a8126835 100644 --- a/kplato/kptfactory.h +++ b/kplato/kptfactory.h @@ -30,11 +30,12 @@ namespace KPlato class Factory : public KoFactory { Q_OBJECT + TQ_OBJECT public: - Factory( QObject* parent = 0, const char* name = 0 ); + Factory( TQObject* tqparent = 0, const char* name = 0 ); ~Factory(); - virtual KParts::Part *createPartObject( QWidget *parentWidget = 0, const char *widgetName = 0, QObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const QStringList &args = QStringList() ); + virtual KParts::Part *createPartObject( TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); static KInstance* global(); |