KVIrc
4.9.2
DeveloperAPIs
|
#include <KviRegisteredChannelDataBase.h>
Public Member Functions | |
void | add (KviRegisteredChannel *pChan) |
QHash< QString, KviRegisteredChannelList * > * | channelDict () |
KviRegisteredChannel * | find (const QString &szName, const QString &szNetMask) |
KviRegisteredChannel * | findExact (const QString &szName, const QString &szNetMask) |
KviRegisteredChannelDataBase () | |
void | load (const QString &szFilename) |
void | remove (KviRegisteredChannel *pChan) |
void | save (const QString &szFilename) |
~KviRegisteredChannelDataBase () | |
Protected Attributes | |
QHash< QString, KviRegisteredChannelList * > * | m_pChannelDict |
KviRegisteredChannelDataBase::KviRegisteredChannelDataBase | ( | ) |
References m_pChannelDict.
KviRegisteredChannelDataBase::~KviRegisteredChannelDataBase | ( | ) |
References m_pChannelDict.
void KviRegisteredChannelDataBase::add | ( | KviRegisteredChannel * | pChan | ) |
|
inline |
Referenced by ChannelsJoinDialog::fillListView(), regchan_kvs_cmd_showlist(), and regchan_kvs_fnc_list().
KviRegisteredChannel * KviRegisteredChannelDataBase::find | ( | const QString & | szName, |
const QString & | szNetMask | ||
) |
KviRegisteredChannel * KviRegisteredChannelDataBase::findExact | ( | const QString & | szName, |
const QString & | szNetMask | ||
) |
References c, KviQString::equalCI(), l, and m_pChannelDict.
Referenced by add(), regchan_kvs_cmd_remove(), and regchan_kvs_cmd_setProperty().
void KviRegisteredChannelDataBase::load | ( | const QString & | szFilename | ) |
References add(), c, KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), KviQString::cutToLast(), d, KviConfigurationFile::dict(), KviQString::leftToLast(), m_pChannelDict, KviConfigurationFile::Read, s, KviRegisteredChannel::setProperty(), and sit.
Referenced by KviApplication::setup().
void KviRegisteredChannelDataBase::remove | ( | KviRegisteredChannel * | pChan | ) |
References KVI_TRACE_FUNCTION, l, m_pChannelDict, and KviRegisteredChannel::name().
Referenced by ChannelsJoinDialog::deleteClicked(), and regchan_kvs_cmd_remove().
void KviRegisteredChannelDataBase::save | ( | const QString & | szFilename | ) |
|
protected |
Referenced by add(), find(), findExact(), KviRegisteredChannelDataBase(), load(), remove(), save(), and ~KviRegisteredChannelDataBase().