summaryrefslogtreecommitdiffstats
path: root/src/kvirc/kvs/kvi_kvs_moduleinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_moduleinterface.h')
-rw-r--r--src/kvirc/kvs/kvi_kvs_moduleinterface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_moduleinterface.h b/src/kvirc/kvs/kvi_kvs_moduleinterface.h
index 698c393..0b47154 100644
--- a/src/kvirc/kvs/kvi_kvs_moduleinterface.h
+++ b/src/kvirc/kvs/kvi_kvs_moduleinterface.h
@@ -79,8 +79,8 @@ public:
KviKvsSwitchList * switchList(){ return m_pSwitchList; };
// forwarders for the switch list
- bool hasSwitch(unsigned short u,const TQString &szSwitch){ return (m_pSwitchList->tqfind(u,szSwitch) != 0); };
- KviKvsVariant * getSwitch(unsigned short u,const TQString &szSwitch){ return m_pSwitchList->tqfind(u,szSwitch); };
+ bool hasSwitch(unsigned short u,const TQString &szSwitch){ return (m_pSwitchList->find(u,szSwitch) != 0); };
+ KviKvsVariant * getSwitch(unsigned short u,const TQString &szSwitch){ return m_pSwitchList->find(u,szSwitch); };
};
class KVIRC_API KviKvsModuleCallbackCommandCall : public KviKvsModuleCommandCall
@@ -167,11 +167,11 @@ public:
void kvsUnregisterAllEventHandlers();
KviKvsModuleSimpleCommandExecRoutine * kvsFindSimpleCommand(const TQString &szCommand)
- { return m_pModuleSimpleCommandExecRoutineDict->tqfind(szCommand); };
+ { return m_pModuleSimpleCommandExecRoutineDict->find(szCommand); };
KviKvsModuleCallbackCommandExecRoutine * kvsFindCallbackCommand(const TQString &szCommand)
- { return m_pModuleCallbackCommandExecRoutineDict->tqfind(szCommand); };
+ { return m_pModuleCallbackCommandExecRoutineDict->find(szCommand); };
KviKvsModuleFunctionExecRoutine * kvsFindFunction(const TQString &szFunction)
- { return m_pModuleFunctionExecRoutineDict->tqfind(szFunction); };
+ { return m_pModuleFunctionExecRoutineDict->find(szFunction); };
void completeCommand(const TQString &cmd,KviPointerList<TQString> * matches);
void completeFunction(const TQString &cmd,KviPointerList<TQString> * matches);