diff options
Diffstat (limited to 'kivio/plugins/kiviosmlconnector')
-rw-r--r-- | kivio/plugins/kiviosmlconnector/plugin.cpp | 6 | ||||
-rw-r--r-- | kivio/plugins/kiviosmlconnector/plugin.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kivio/plugins/kiviosmlconnector/plugin.cpp b/kivio/plugins/kiviosmlconnector/plugin.cpp index 5c4b74f7..3f01b263 100644 --- a/kivio/plugins/kiviosmlconnector/plugin.cpp +++ b/kivio/plugins/kiviosmlconnector/plugin.cpp @@ -29,12 +29,12 @@ ***************************************************/ K_EXPORT_COMPONENT_FACTORY( libkiviosmlconnector, SMLConnectorFactory ) -KInstance* SMLConnectorFactory::s_global = 0; +TDEInstance* SMLConnectorFactory::s_global = 0; SMLConnectorFactory::SMLConnectorFactory( TQObject* parent, const char* name ) : KLibFactory( parent, name ) { - s_global = new KInstance("kivio"); + s_global = new TDEInstance("kivio"); } SMLConnectorFactory::~SMLConnectorFactory() @@ -51,7 +51,7 @@ TQObject* SMLConnectorFactory::createObject( TQObject* parent, const char*, cons return obj; } -KInstance* SMLConnectorFactory::global() +TDEInstance* SMLConnectorFactory::global() { return s_global; } diff --git a/kivio/plugins/kiviosmlconnector/plugin.h b/kivio/plugins/kiviosmlconnector/plugin.h index 2b3e8028..54c81ebc 100644 --- a/kivio/plugins/kiviosmlconnector/plugin.h +++ b/kivio/plugins/kiviosmlconnector/plugin.h @@ -24,7 +24,7 @@ #include <klibloader.h> -class KInstance; +class TDEInstance; class SMLConnectorFactory : 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 |