KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
KviKvsAliasManager Class Reference

#include <KviKvsAliasManager.h>

+ Inheritance diagram for KviKvsAliasManager:

Signals

void aliasRefresh (const QString &)
 

Public Member Functions

void add (const QString &szName, KviKvsScript *pAlias)
 
KviPointerHashTable< QString,
KviKvsScript > * 
aliasDict ()
 
void clear ()
 
void completeCommand (const QString &word, KviPointerList< QString > *matches)
 
void load (const QString &filename)
 
const KviKvsScriptlookup (const QString &szName)
 
bool remove (const QString &szName)
 
bool removeNamespace (const QString &szName)
 
void save (const QString &filename)
 

Static Public Member Functions

static void done ()
 
static void init ()
 
static KviKvsAliasManagerinstance ()
 

Protected Member Functions

 KviKvsAliasManager ()
 
 ~KviKvsAliasManager ()
 

Protected Attributes

KviPointerHashTable< QString,
KviKvsScript > * 
m_pAliasDict
 

Static Protected Attributes

static KviKvsAliasManagerm_pAliasManager = nullptr
 

Constructor & Destructor Documentation

KviKvsAliasManager::KviKvsAliasManager ( )
protected
KviKvsAliasManager::~KviKvsAliasManager ( )
protected

References m_pAliasDict, and m_pAliasManager.

Member Function Documentation

void KviKvsAliasManager::add ( const QString &  szName,
KviKvsScript pAlias 
)
KviPointerHashTable<QString, KviKvsScript>* KviKvsAliasManager::aliasDict ( )
inline
void KviKvsAliasManager::aliasRefresh ( const QString &  )
signal

Referenced by add().

void KviKvsAliasManager::clear ( )
inline
void KviKvsAliasManager::completeCommand ( const QString &  word,
KviPointerList< QString > *  matches 
)
void KviKvsAliasManager::done ( )
static

References instance().

Referenced by KviKvs::done().

void KviKvsAliasManager::init ( )
static

References instance(), and KviKvsAliasManager().

Referenced by KviKvs::init().

static KviKvsAliasManager* KviKvsAliasManager::instance ( )
inlinestatic
void KviKvsAliasManager::load ( const QString &  filename)
const KviKvsScript* KviKvsAliasManager::lookup ( const QString &  szName)
inline
bool KviKvsAliasManager::remove ( const QString &  szName)
inline
bool KviKvsAliasManager::removeNamespace ( const QString &  szName)
void KviKvsAliasManager::save ( const QString &  filename)

Member Data Documentation

KviPointerHashTable<QString, KviKvsScript>* KviKvsAliasManager::m_pAliasDict
protected
KviKvsAliasManager * KviKvsAliasManager::m_pAliasManager = nullptr
staticprotected

The documentation for this class was generated from the following files: