diff options
Diffstat (limited to 'src/modules/system/plugin.h')
-rw-r--r-- | src/modules/system/plugin.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/system/plugin.h b/src/modules/system/plugin.h index 64b1723a..c5aa5014 100644 --- a/src/modules/system/plugin.h +++ b/src/modules/system/plugin.h @@ -37,22 +37,22 @@ class KviPlugin { protected: // You have to create plugin instance by calling KviPlugin::load() - KviPlugin(kvi_library_t pLib, const QString& name); + KviPlugin(kvi_library_t pLib, const TQString& name); public: ~KviPlugin(); private: // shared // internal kvi_library_t m_Plugin; - QString m_szName; + TQString m_szName; public: - static KviPlugin* load(const QString& szFileName); + static KviPlugin* load(const TQString& szFileName); bool pfree(char * pBuffer); bool unload(); bool canunload(); - int call(const QString& szFunctionName, int argc, char * argv[], char ** pBuffer); - QString name(); - void setName(const QString& szName); + int call(const TQString& szFunctionName, int argc, char * argv[], char ** pBuffer); + TQString name(); + void setName(const TQString& szName); protected: }; @@ -65,16 +65,16 @@ class KviPluginManager // shared bool m_bCanUnload; // internal - KviPointerHashTable<QString,KviPlugin> * m_pPluginDict; + KviPointerHashTable<TQString,KviPlugin> * m_pPluginDict; public: bool pluginCall(KviKvsModuleFunctionCall *c); bool checkUnload(); void unloadAll(); protected: - bool findPlugin(QString& szName); - bool isPluginLoaded(const QString& szFileNameOrPathToLoad); - bool loadPlugin(const QString& szPluginPath); - KviPlugin * getPlugin(const QString& szPluginPath); + bool findPlugin(TQString& szName); + bool isPluginLoaded(const TQString& szFileNameOrPathToLoad); + bool loadPlugin(const TQString& szPluginPath); + KviPlugin * getPlugin(const TQString& szPluginPath); }; #endif //_PLUGIN_H_
\ No newline at end of file |