KVIrc 5.2.6
Developer APIs
KviIsOnNotifyListManager Class Reference

#include <KviNotifyList.h>

+ Inheritance diagram for KviIsOnNotifyListManager:

Protected Member Functions

bool handleIsOn (KviIrcMessage *msg) override
 
bool handleUserhost (KviIrcMessage *msg) override
 
 KviIsOnNotifyListManager (KviIrcConnection *pConnection)
 
void start () override
 
void stop () override
 
 ~KviIsOnNotifyListManager ()
 
- Protected Member Functions inherited from KviNotifyListManager
virtual bool handleWatchReply (KviIrcMessage *msg)
 
 KviNotifyListManager (KviIrcConnection *pConnection)
 
void notifyOffLine (const QString &nick, const QString &user=QString(), const QString &host=QString(), const QString &szReason=QString())
 
void notifyOnLine (const QString &nick, const QString &user=QString(), const QString &host=QString(), const QString &szReason=QString(), bool bJoin=true)
 
 ~KviNotifyListManager ()
 

Private Slots

void buildIsOnList ()
 
void buildNotifyList ()
 
void buildRegUserDict ()
 
void buildUserhostList ()
 
bool doMatchUser (const QString &notifyString, const KviIrcMask &mask)
 
void newIsOnSession ()
 
void newNotifySession ()
 
void newUserhostSession ()
 
void sendIsOn ()
 
void sendUserhost ()
 

Private Member Functions

void delayedIsOnSession ()
 
void delayedNotifySession ()
 
void delayedUserhostSession ()
 

Private Attributes

bool m_bExpectingIsOn
 
bool m_bExpectingUserhost
 
bool m_bRunning = false
 
std::vector< QString > m_IsOnList
 
std::vector< QString > m_NotifyList
 
std::vector< QString > m_OnlineList
 
QTimer m_pDelayedIsOnTimer
 
QTimer m_pDelayedNotifyTimer
 
QTimer m_pDelayedUserhostTimer
 
std::map< QString, QString > m_pRegUserDict
 
QString m_szIsOnString
 
QString m_szUserhostString
 
std::vector< QString > m_UserhostList
 

Friends

class KviConsoleWindow
 
class KviIrcConnection
 
class KviIrcServerParser
 

Additional Inherited Members

- Public Member Functions inherited from KviNotifyListManager
KviConsoleWindowconsole () const
 
- Protected Attributes inherited from KviNotifyListManager
KviIrcConnectionm_pConnection
 
KviConsoleWindowm_pConsole
 

Constructor & Destructor Documentation

◆ KviIsOnNotifyListManager()

◆ ~KviIsOnNotifyListManager()

KviIsOnNotifyListManager::~KviIsOnNotifyListManager ( )
protected

References m_bRunning, and stop().

Member Function Documentation

◆ buildIsOnList

void KviIsOnNotifyListManager::buildIsOnList ( )
privateslot

References m_IsOnList, m_NotifyList, m_szIsOnString, and s.

Referenced by newIsOnSession().

◆ buildNotifyList

void KviIsOnNotifyListManager::buildNotifyList ( )
privateslot

References m_NotifyList, and m_pRegUserDict.

Referenced by newNotifySession().

◆ buildRegUserDict

void KviIsOnNotifyListManager::buildRegUserDict ( )
privateslot

◆ buildUserhostList

void KviIsOnNotifyListManager::buildUserhostList ( )
privateslot

◆ delayedIsOnSession()

◆ delayedNotifySession()

◆ delayedUserhostSession()

◆ doMatchUser

◆ handleIsOn()

◆ handleUserhost()

◆ newIsOnSession

void KviIsOnNotifyListManager::newIsOnSession ( )
privateslot

◆ newNotifySession

void KviIsOnNotifyListManager::newNotifySession ( )
privateslot

◆ newUserhostSession

◆ sendIsOn

◆ sendUserhost

◆ start()

◆ stop()

Friends And Related Symbol Documentation

◆ KviConsoleWindow

friend class KviConsoleWindow
friend

References KviConsoleWindow.

Referenced by KviConsoleWindow.

◆ KviIrcConnection

◆ KviIrcServerParser

friend class KviIrcServerParser
friend

References KviIrcServerParser.

Referenced by KviIrcServerParser.

Member Data Documentation

◆ m_bExpectingIsOn

bool KviIsOnNotifyListManager::m_bExpectingIsOn
private

Referenced by handleIsOn(), sendIsOn(), and start().

◆ m_bExpectingUserhost

bool KviIsOnNotifyListManager::m_bExpectingUserhost
private

Referenced by handleUserhost(), sendUserhost(), and start().

◆ 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

Referenced by buildIsOnList(), sendIsOn(), and stop().

◆ 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: