diff options
Diffstat (limited to 'kivio/plugins/kiviotargettool')
-rw-r--r-- | kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp | 6 | ||||
-rw-r--r-- | kivio/plugins/kiviotargettool/kiviotargettoolfactory.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp index 048c8e32..ebc5075f 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp +++ b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp @@ -22,12 +22,12 @@ K_EXPORT_COMPONENT_FACTORY( libkiviotargettool, KivioTargetToolFactory ) -KInstance* KivioTargetToolFactory::s_global = 0; +TDEInstance* KivioTargetToolFactory::s_global = 0; KivioTargetToolFactory::KivioTargetToolFactory(TQObject *parent, const char *name) : KLibFactory(parent, name) { - s_global = new KInstance("kivio"); + s_global = new TDEInstance("kivio"); } KivioTargetToolFactory::~KivioTargetToolFactory() @@ -44,7 +44,7 @@ TQObject* KivioTargetToolFactory::createObject( TQObject* parent, const char*, c return obj; } -KInstance* KivioTargetToolFactory::global() +TDEInstance* KivioTargetToolFactory::global() { return s_global; } diff --git a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h index 391c7823..091cba2d 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h +++ b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h @@ -24,7 +24,7 @@ #include <klibloader.h> -class KInstance; +class TDEInstance; class KivioTargetToolFactory : public KLibFactory { @@ -37,10 +37,10 @@ class KivioTargetToolFactory : public KLibFactory virtual TQObject* createObject( TQObject* parent = 0, const char* name = 0, const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); - static KInstance* global(); + static TDEInstance* global(); private: - static KInstance* s_global; + static TDEInstance* s_global; }; #endif |