diff options
Diffstat (limited to 'kivio/plugins/kivioselecttool')
-rw-r--r-- | kivio/plugins/kivioselecttool/plugin.cpp | 6 | ||||
-rw-r--r-- | kivio/plugins/kivioselecttool/plugin.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kivio/plugins/kivioselecttool/plugin.cpp b/kivio/plugins/kivioselecttool/plugin.cpp index fba217c6..9107adac 100644 --- a/kivio/plugins/kivioselecttool/plugin.cpp +++ b/kivio/plugins/kivioselecttool/plugin.cpp @@ -29,12 +29,12 @@ ***************************************************/ K_EXPORT_COMPONENT_FACTORY( libkivioselecttool, SelectToolFactory ) -KInstance* SelectToolFactory::s_global = 0; +TDEInstance* SelectToolFactory::s_global = 0; SelectToolFactory::SelectToolFactory( TQObject* parent, const char* name ) : KLibFactory( parent, name ) { - s_global = new KInstance("kivio"); + s_global = new TDEInstance("kivio"); } SelectToolFactory::~SelectToolFactory() @@ -51,7 +51,7 @@ TQObject* SelectToolFactory::createObject( TQObject* parent, const char*, const return obj; } -KInstance* SelectToolFactory::global() +TDEInstance* SelectToolFactory::global() { return s_global; } diff --git a/kivio/plugins/kivioselecttool/plugin.h b/kivio/plugins/kivioselecttool/plugin.h index fc43d4fb..ee901dd3 100644 --- a/kivio/plugins/kivioselecttool/plugin.h +++ b/kivio/plugins/kivioselecttool/plugin.h @@ -24,7 +24,7 @@ #include <klibloader.h> -class KInstance; +class TDEInstance; class SelectToolFactory : public KLibFactory { Q_OBJECT @@ -36,10 +36,10 @@ public: 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 |