KVIrc  4.9.2
DeveloperAPIs
Macros | Functions
KviKvsModuleInterface.cpp File Reference
#include "KviKvsModuleInterface.h"
#include "KviKvsEventManager.h"
#include "KviModule.h"
#include "KviModuleManager.h"
#include "KviLocale.h"
#include "KviKvsTreeNodeData.h"
#include "KviKvsTreeNodeDataList.h"

Macros

#define COMPLETE_WORD_BY_DICT(__word, __list, __type, __dict)
 

Functions

static bool default_module_kvs_cmd_load (KviKvsModuleCommandCall *)
 
static bool default_module_kvs_cmd_unload (KviKvsModuleCommandCall *c)
 

Macro Definition Documentation

#define COMPLETE_WORD_BY_DICT (   __word,
  __list,
  __type,
  __dict 
)
Value:
{ \
KviPointerHashTableIterator<QString, __type> it(*__dict); \
int l = __word.length(); \
while(it.current()) \
{ \
if(KviQString::equalCIN(__word, it.currentKey(), l)) \
__list->append(new QString(it.currentKey())); \
++it; \
} \
}
#define l
Definition: detector.cpp:76
if(m_pFile) delete m_pFile
while(t.hasNext())
Definition: KvsObject_http.cpp:202
bool equalCIN(const QString &sz1, const QString &sz2, unsigned int uLen)
Compares two strings with case insensitive up to N chars.
Definition: KviQString.cpp:86

Referenced by KviKvsModuleInterface::completeCommand(), and KviKvsModuleInterface::completeFunction().

Function Documentation

static bool default_module_kvs_cmd_load ( KviKvsModuleCommandCall )
static
static bool default_module_kvs_cmd_unload ( KviKvsModuleCommandCall c)
static