KVIrc  4.9.2
DeveloperAPIs
Macros
KviKvsKernel.cpp File Reference
#include "KviKvsKernel.h"
#include "KviKvsParser.h"
#include "KviKvsHash.h"
#include "KviKvsAliasManager.h"
#include "KviKvsCoreSimpleCommands.h"
#include "KviKvsCoreFunctions.h"
#include "KviKvsCoreCallbackCommands.h"
#include "KviKvsSwitchList.h"
#include "KviKvsVariantList.h"
#include "KviKvsScript.h"
#include "KviKvsObjectController.h"
#include "KviKvsAsyncOperation.h"
#include "KviModuleManager.h"
#include <QDir>

Macros

#define COMPLETE_COMMAND_BY_DICT(__type, __dict)
 

Macro Definition Documentation

#define COMPLETE_COMMAND_BY_DICT (   __type,
  __dict 
)
Value:
{ \
KviPointerHashTableIterator<QString, __type> it(*__dict); \
int l = szCommandBegin.length(); \
while(it.current()) \
{ \
if(KviQString::equalCIN(szCommandBegin, it.currentKey(), l)) \
pMatches->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 KviKvsKernel::completeCommand().