diff options
Diffstat (limited to 'lib/interfaces/kdevgenericfactory.h')
-rw-r--r-- | lib/interfaces/kdevgenericfactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/interfaces/kdevgenericfactory.h b/lib/interfaces/kdevgenericfactory.h index e5dfa25a..f928d815 100644 --- a/lib/interfaces/kdevgenericfactory.h +++ b/lib/interfaces/kdevgenericfactory.h @@ -51,7 +51,7 @@ static const KDevPluginInfo data("KDevDummyPlugin"); typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory; K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( data ) ) -DummyPlugin::DummyPlugin(QObject *parent, const char *name, const QStringList & ) +DummyPlugin::DummyPlugin(TQObject *parent, const char *name, const TQStringList & ) :KDevPlugin(&data, parent, name) { } @@ -61,7 +61,7 @@ In the example above the duplication of information is avoided as same @ref KDev objects are used for plugin and for plugin factory. This is possible because @ref KDevPluginInfo class has an operator to cast @ref KDevPluginInfo to @ref KAboutData. */ -template <class T, class ParentType = QObject> +template <class T, class ParentType = TQObject> class KDevGenericFactory: public KGenericFactory<T, ParentType> { public: |