#include <KviNotifyList.h>
◆ KviIsOnNotifyListManager()
KviIsOnNotifyListManager::KviIsOnNotifyListManager |
( |
KviIrcConnection * | pConnection | ) |
|
|
protected |
◆ ~KviIsOnNotifyListManager()
KviIsOnNotifyListManager::~KviIsOnNotifyListManager |
( |
| ) |
|
|
protected |
◆ buildIsOnList
void KviIsOnNotifyListManager::buildIsOnList |
( |
| ) |
|
|
privateslot |
◆ buildNotifyList
void KviIsOnNotifyListManager::buildNotifyList |
( |
| ) |
|
|
privateslot |
◆ buildRegUserDict
void KviIsOnNotifyListManager::buildRegUserDict |
( |
| ) |
|
|
privateslot |
◆ buildUserhostList
void KviIsOnNotifyListManager::buildUserhostList |
( |
| ) |
|
|
privateslot |
◆ delayedIsOnSession()
void KviIsOnNotifyListManager::delayedIsOnSession |
( |
| ) |
|
|
private |
◆ delayedNotifySession()
void KviIsOnNotifyListManager::delayedNotifySession |
( |
| ) |
|
|
private |
References __tr2qs, _OUTPUT_VERBOSE, KVI_OPTION_UINT, KVI_OUT_SYSTEMWARNING, KviOption_uintNotifyListCheckTimeInSecs, KviNotifyListManager::m_pConsole, m_pDelayedNotifyTimer, and KviWindow::output().
Referenced by handleIsOn(), handleUserhost(), newIsOnSession(), and newUserhostSession().
◆ delayedUserhostSession()
void KviIsOnNotifyListManager::delayedUserhostSession |
( |
| ) |
|
|
private |
◆ doMatchUser
bool KviIsOnNotifyListManager::doMatchUser |
( |
const QString & | notifyString, |
|
|
const KviIrcMask & | mask ) |
|
privateslot |
References __tr2qs, _OUTPUT_VERBOSE, KviUserListView::findEntry(), KviRegisteredUserDataBase::findUserByName(), g_pRegisteredUserDataBase, KviIrcMask::host(), i, KVI_OUT_SYSTEMMESSAGE, KVI_OUT_SYSTEMWARNING, KviNotifyListManager::m_pConsole, m_pRegUserDict, KviIrcMask::nick(), KviConsoleWindow::notifyListView(), KviNotifyListManager::notifyOffLine(), KviNotifyListManager::notifyOnLine(), KviWindow::output(), start(), stop(), u, and KviIrcMask::user().
Referenced by handleIsOn(), and handleUserhost().
◆ handleIsOn()
Reimplemented from KviNotifyListManager.
References __tr2qs, _OUTPUT_VERBOSE, KviIrcConnection::channelList(), KviWindow::connection(), KviNotifyListManager::console(), KviIrcConnection::decodeText(), delayedIsOnSession(), delayedNotifySession(), delayedUserhostSession(), doMatchUser(), KviQString::equalCI(), KviIrcUserDataBase::find(), KviUserListView::findEntry(), KviCString::hasData(), i, kvi_extractToken(), KVI_OPTION_BOOL, KVI_OUT_SYSTEMMESSAGE, KviOption_boolNotifyListSendUserhostForOnlineUsers, l, KviLagMeter::lagCheckComplete(), KviIrcConnection::lagMeter(), m_bExpectingIsOn, m_IsOnList, m_NotifyList, m_OnlineList, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, KviConsoleWindow::notifyListView(), KviNotifyListManager::notifyOffLine(), KviWindow::output(), KviCString::ptr(), s, KviIrcMessage::trailing(), and KviIrcConnection::userDataBase().
◆ handleUserhost()
bool KviIsOnNotifyListManager::handleUserhost |
( |
KviIrcMessage * | msg | ) |
|
|
overrideprotectedvirtual |
Reimplemented from KviNotifyListManager.
References __tr2qs, _OUTPUT_VERBOSE, KviCString::cutLeft(), KviCString::cutRight(), KviIrcConnection::decodeText(), delayedIsOnSession(), delayedNotifySession(), delayedUserhostSession(), doMatchUser(), KviQString::equalCI(), KviCString::findFirstIdx(), KviCString::firstCharIs(), KviCString::hasData(), i, kvi_extractToken(), KVI_OUT_SYSTEMMESSAGE, KVI_OUT_SYSTEMWARNING, KviLagMeter::lagCheckComplete(), KviIrcConnection::lagMeter(), KviCString::lastCharIs(), KviCString::left(), m_bExpectingUserhost, m_NotifyList, m_OnlineList, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, m_UserhostList, KviIrcMask::nick(), KviWindow::output(), KviCString::ptr(), s, szHost, and KviIrcMessage::trailing().
◆ newIsOnSession
void KviIsOnNotifyListManager::newIsOnSession |
( |
| ) |
|
|
privateslot |
◆ newNotifySession
void KviIsOnNotifyListManager::newNotifySession |
( |
| ) |
|
|
privateslot |
◆ newUserhostSession
void KviIsOnNotifyListManager::newUserhostSession |
( |
| ) |
|
|
privateslot |
References __tr2qs, buildUserhostList(), delayedIsOnSession(), delayedNotifySession(), delayedUserhostSession(), KVI_OUT_SYSTEMWARNING, m_NotifyList, m_OnlineList, KviNotifyListManager::m_pConsole, m_UserhostList, KviWindow::output(), and sendUserhost().
Referenced by KviIsOnNotifyListManager().
◆ sendIsOn
void KviIsOnNotifyListManager::sendIsOn |
( |
| ) |
|
|
privateslot |
References __tr2qs, _OUTPUT_PARANOIC, KviIrcConnection::encodeText(), KVI_OUT_SYSTEMMESSAGE, KviLagMeter::lagCheckRegister(), KviIrcConnection::lagMeter(), m_bExpectingIsOn, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, m_szIsOnString, KviWindow::output(), and KviIrcConnection::sendFmtData().
Referenced by newIsOnSession().
◆ sendUserhost
void KviIsOnNotifyListManager::sendUserhost |
( |
| ) |
|
|
privateslot |
References __tr2qs, _OUTPUT_PARANOIC, KviIrcConnection::encodeText(), KVI_OUT_SYSTEMMESSAGE, KviLagMeter::lagCheckRegister(), KviIrcConnection::lagMeter(), m_bExpectingUserhost, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, m_szUserhostString, KviWindow::output(), and KviIrcConnection::sendFmtData().
Referenced by newUserhostSession().
◆ start()
void KviIsOnNotifyListManager::start |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from KviNotifyListManager.
References __tr2qs, _OUTPUT_VERBOSE, buildRegUserDict(), KviIrcConnection::currentNickName(), KVI_OUT_SYSTEMMESSAGE, m_bExpectingIsOn, m_bExpectingUserhost, m_bRunning, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, m_pRegUserDict, newNotifySession(), KviConsoleWindow::notifyListView(), KviWindow::output(), KviUserListView::partAllButOne(), and stop().
Referenced by doMatchUser().
◆ stop()
void KviIsOnNotifyListManager::stop |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from KviNotifyListManager.
References KviIrcConnection::currentNickName(), KviLagMeter::lagCheckAbort(), KviIrcConnection::lagMeter(), m_bRunning, m_IsOnList, m_NotifyList, m_OnlineList, KviNotifyListManager::m_pConnection, KviNotifyListManager::m_pConsole, m_pDelayedIsOnTimer, m_pDelayedNotifyTimer, m_pDelayedUserhostTimer, m_pRegUserDict, m_szIsOnString, m_szUserhostString, m_UserhostList, KviConsoleWindow::notifyListView(), and KviUserListView::partAllButOne().
Referenced by doMatchUser(), newNotifySession(), start(), and ~KviIsOnNotifyListManager().
◆ KviConsoleWindow
◆ KviIrcConnection
◆ KviIrcServerParser
◆ m_bExpectingIsOn
bool KviIsOnNotifyListManager::m_bExpectingIsOn |
|
private |
◆ m_bExpectingUserhost
bool KviIsOnNotifyListManager::m_bExpectingUserhost |
|
private |
◆ m_bRunning
bool KviIsOnNotifyListManager::m_bRunning = false |
|
private |
◆ m_IsOnList
std::vector<QString> KviIsOnNotifyListManager::m_IsOnList |
|
private |
◆ m_NotifyList
std::vector<QString> KviIsOnNotifyListManager::m_NotifyList |
|
private |
◆ m_OnlineList
std::vector<QString> KviIsOnNotifyListManager::m_OnlineList |
|
private |
◆ m_pDelayedIsOnTimer
QTimer KviIsOnNotifyListManager::m_pDelayedIsOnTimer |
|
private |
◆ m_pDelayedNotifyTimer
QTimer KviIsOnNotifyListManager::m_pDelayedNotifyTimer |
|
private |
◆ m_pDelayedUserhostTimer
QTimer KviIsOnNotifyListManager::m_pDelayedUserhostTimer |
|
private |
◆ m_pRegUserDict
std::map<QString, QString> KviIsOnNotifyListManager::m_pRegUserDict |
|
private |
◆ m_szIsOnString
QString KviIsOnNotifyListManager::m_szIsOnString |
|
private |
◆ m_szUserhostString
QString KviIsOnNotifyListManager::m_szUserhostString |
|
private |
◆ m_UserhostList
std::vector<QString> KviIsOnNotifyListManager::m_UserhostList |
|
private |
The documentation for this class was generated from the following files: