![]() |
KVIrc 5.2.0
Developer APIs
|
The class which manages a query. More...
#include <KviQueryWindow.h>
Public Types | |
enum | Flag { Dead = 1 } |
Holds the flags of a query. More... | |
![]() | |
enum | ActivityTemperature { Ice = 0 , VeryCold = 1 , Cold = 2 , Undefined = 3 , Hot = 4 , VeryHot = 5 , Fire = 6 } |
Holds the activity meter in temperature scale. More... | |
enum | ActivityValue { None = 0 , VeryLow = 1 , Low = 2 , Medium = 3 , High = 4 , VeryHigh = 5 } |
Holds the activity meter in value scale. More... | |
enum | AttentionLevel { VisibleAndActive = 0 , MainWindowIsVisible = 1 } |
attention levels usable in hasAttention() More... | |
enum | Type { Console = 0 , Channel = 1 , Query = 2 , DeadChannel = 3 , DeadQuery = 4 , Editor = 5 , Help = 6 , Terminal = 7 , SocketSpy = 8 , Links = 9 , List = 10 , DccChat = 11 , DccTransfer = 12 , DccCanvas = 13 , DccVoice = 14 , DccVideo = 15 , UserWindow = 16 , Tool = 17 , IOGraph = 18 , DirBrowser = 19 , ScriptEditor = 20 , ScriptObject = 21 , LogView = 22 , Offer = 23 , Debug = 24 , Unknown = 25 , TypeCount = 26 } |
Holds the types of a window; these are used by the KVIrc core and distributed modules. More... | |
Public Member Functions | |
void | applyOptions () override |
Applies the options. | |
bool | avatarChanged (const QString &szNick) |
Called when the target changes the avatar. | |
QFrame * | buttonContainer () override |
Returns the button container. | |
bool | isDeadQuery () |
Returns true if the query is dead. | |
KviQueryWindow (KviConsoleWindow *lpConsole, const QString &szNick) | |
Constructs the query object. | |
void | mergeQuery (KviQueryWindow *pQuery) |
Merges a query into the one we're using. | |
bool | nickChange (const QString &szOldNick, const QString &szNewNick) |
Called when the target changes the nick. | |
void | notifyCommonChannels (const QString &szNick, const QString &szUser, const QString &szHost, int iChans, const QString &szChans) |
Notify us if we have common channels with the target. | |
void | ownAction (const QString &szBuffer) override |
Called when we perform an action. | |
void | ownMessage (const QString &szBuffer, bool bUserFeedback=true) override |
Called when we send a message to the query target. | |
int | selectedCount () |
Returns the number of selected users in the userlist. | |
void | setAliveQuery () |
Sets the status of the query as alive. | |
void | setDeadQuery () |
Sets the status of the query as dead. | |
KviUserListEntry * | setTarget (const QString &szNick, const QString &szUser, const QString &szHost) |
Sets the target of the query. | |
void | showListView (bool bShow, bool bIgnoreSizeChange=false) |
Shows the userlist view. | |
QSize | sizeHint () const override |
Returns the size of the query object. | |
const QString & | target () override |
Returns the name of the query target. | |
void | updateLabelText () |
Updates the text of the tooltip. | |
void | userAction (const QString &szNick, const QString &szUser, const QString &szHost, unsigned int uActionType) |
Called when a user performs an action. | |
void | userAction (const QString &szNick, unsigned int uActionType) |
Called when a user performs an action. | |
void | userAction (KviIrcMask *user, unsigned int uActionType) |
Called when a user performs an action. | |
KviUserListView * | userListView () |
Returns the userlist of the query (the remote peer) | |
~KviQueryWindow () | |
Destroys the query object. | |
![]() | |
virtual bool | activityMeter (unsigned int *puActivityValue, unsigned int *puActivityTemperature) |
KviIrcConnection * | connection () |
Returns the current IRC connection (if any) | |
KviConsoleWindow * | console () const |
Returns the console that this window belongs to. | |
KviIrcContext * | context () |
void | contextPopup () |
QString | decodeText (const char *pcText) |
virtual QTextCodec * | defaultTextCodec () |
void | delayedAutoRaise () |
void | delayedClose () |
void | demandAttention () |
Notify the window manager that this window demands attention. | |
QByteArray | encodeText (const QString &szText) |
void | forceTextCodec (QTextCodec *pCodec) |
virtual void | getConfigGroupName (QString &szBuffer) |
void | getDefaultLogFileName (QString &szBuffer) |
void | getDefaultLogFileName (QString &szBuffer, QDate date, bool bGzip, unsigned int uDatetimeFormat) |
bool | hasAttention (AttentionLevel eLevel=VisibleAndActive) |
Returns whether this window is the active one. | |
virtual bool | highlightMe (unsigned int uValue) |
virtual bool | highlightMeter (unsigned int *puValue) |
QString | id () const |
Returns the global ID of this window. | |
KviInput * | input () const |
void | internalOutput (KviIrcView *pView, int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime()) |
bool | isChannel () const |
bool | isConsole () const |
bool | isDocked () const |
bool | isQuery () const |
KviWindow (Type eType, const QString &szName, KviConsoleWindow *pConsole=nullptr) | |
Constructs the window object. | |
virtual KviIrcView * | lastClickedView () const |
Returns the KviIrcView that was last clicked in this window. | |
const QString & | lastLineOfText () |
const QString & | lastMessageText () |
void | listWindowTypes () |
virtual const QString & | localNick () |
QTextEncoder * | makeEncoder () |
unsigned long int | numericId () const |
Returns the global ID of this window. | |
virtual void | output (int iMsgType, const char *pcFormat,...) |
virtual void | output (int iMsgType, const kvi_wchar_t *pwFormat,...) |
void | output (int iMsgType, const QDateTime &datetime, const char *pcFormat,...) |
void | output (int iMsgType, const QDateTime &datetime, const kvi_wchar_t *pwFormat,...) |
void | output (int iMsgType, const QDateTime &datetime, QString szFmt,...) |
virtual void | output (int iMsgType, QString szFmt,...) |
virtual void | outputNoFmt (int iMsgType, const char *pcText, int iFlags=0, const QDateTime &datetime=QDateTime()) |
virtual void | outputNoFmt (int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime()) |
virtual void | outputNoFmt (int iMsgType, const QString &szText, int iFlags=0, const QDateTime &datetime=QDateTime()) |
virtual KviWindow * | outputProxy () |
void | pasteLastLog () |
Pastes the most recent channel log into the buffer. | |
virtual const QString & | plainTextCaption () |
void | setFixedCaption (const QString &szCaption) |
void | setProgress (int iProgress) |
Sets the progress for the WindowList item. | |
bool | setTextEncoding (const QString &szTextEncoding) |
void | setWindowName (const QString &szName) |
Sets the name of the window. | |
void | setWindowTitle (QString &szTitle) |
KviTalSplitter * | splitter () const |
Returns the splitter of this window. | |
QTextCodec * | textCodec () |
const QString & | textEncoding () const |
virtual void | toggleButtonContainer () |
Type | type () const |
Returns the type of the window. | |
virtual const char * | typeString () |
Returns a descriptive name of the window type. | |
void | unhighlight () |
void | updateBackgrounds (QObject *pObj=nullptr) |
virtual void | updateCaption () |
virtual void | updateIcon () |
KviIrcView * | view () const |
Returns the KviIrcView of this window. | |
KviWindowListItem * | windowListItem () const |
Returns the windowList item. | |
const QString & | windowName () const |
Returns the name of this window. | |
~KviWindow () | |
Destroys the window object. | |
Protected Slots | |
void | slotDndEvents (const QString &szFile) |
Triggers the OnQueryFileDropped event. | |
void | textViewRightClicked () |
Triggers the OnQueryPopupRequest event. | |
void | toggleListView () |
Toggles the userlist view. | |
![]() | |
void | childDestroyed () |
void | cryptControllerFinished () |
void | cryptSessionInfoDestroyed () |
void | systemTextEncodingPopupActivated (QAction *pAction) |
void | textEncodingButtonClicked () |
void | toggleCryptController () |
Protected Member Functions | |
void | fillCaptionBuffers () override |
Fills in the caption buffers. | |
void | getBaseLogFileName (QString &szBuffer) override |
Gets the base of the log file name. | |
QString | getInfoLabelText () |
Gets the info of the text in the upper part of the query. | |
void | getWindowListTipText (QString &szBuffer) override |
Gets the window list and info label tooltip text. | |
void | loadProperties (KviConfigurationFile *pCfg) override |
Loads the properties from file. | |
QPixmap * | myIconPtr () override |
Returns the icon associated to the query. | |
void | notifyTargetChange (const QString &szOldNick, const QString &szOldUser, const QString &szOldHost, const QString &szNick, const QString &szUser, const QString &szHost) |
Called to notify us that the target of the query is changed. | |
void | resizeEvent (QResizeEvent *) override |
void | saveProperties (KviConfigurationFile *pCfg) override |
Saves the properties to file. | |
void | triggerCreationEvents () override |
Trigger the OnQueryWindowCreated event. | |
![]() | |
void | childEvent (QChildEvent *pEvent) override |
void | childInserted (QWidget *pObject) |
void | childRemoved (QWidget *pObject) |
virtual void | childrenTreeChanged (QWidget *pAdded) |
void | closeEvent (QCloseEvent *pEvent) override |
void | createCryptControllerButton (QWidget *pPar) |
void | createSystemTextEncodingPopup () |
void | createTextEncodingButton (QWidget *pPar) |
QToolButton * | createToolButton (QWidget *pPar, const char *pcName, KviIconManager::SmallIcon eIcon, const QString &szToolTip, bool bOn) |
virtual void | createWindowListItem () |
virtual void | destroyWindowListItem () |
bool | eventFilter (QObject *pObject, QEvent *pEvent) override |
void | fillSingleColorCaptionBuffers (const QString &szName) |
void | focusInEvent (QFocusEvent *) override |
bool | focusNextPrevChild (bool bNext) override |
void | inputMethodEvent (QInputMethodEvent *e) override |
virtual void | lostUserFocus () |
void | moveEvent (QMoveEvent *pEvent) override |
virtual void | preprocessMessage (QString &szMessage) |
void | setType (Type eType) |
virtual void | triggerDestructionEvents () |
virtual void | youAreDocked () |
virtual void | youAreUndocked () |
Protected Attributes | |
int | m_iFlags |
QFrame * | m_pButtonGrid |
KviThemedLabel * | m_pLabel |
KviWindowToolPageButton * | m_pListViewButton |
KviUserListView * | m_pUserListView |
QList< int > | m_SplitterSizesList |
![]() | |
bool | m_bIsDocked |
bool | m_bProcessingInputEvent |
Type | m_eType |
KviTalHBox * | m_pButtonBox |
KviConsoleWindow * | m_pConsole |
QWidget * | m_pFocusHandler |
QToolButton * | m_pHideToolsButton |
KviInput * | m_pInput |
KviIrcView * | m_pIrcView |
QWidget * | m_pLastFocusedChild |
KviTalSplitter * | m_pSplitter |
QTextCodec * | m_pTextCodec |
QToolButton * | m_pTextEncodingButton |
KviWindowListItem * | m_pWindowListItem |
QString | m_szName |
QString | m_szPlainTextCaption |
QString | m_szTextEncoding |
unsigned long int | m_uId |
Additional Inherited Members | |
![]() | |
void | autoRaise () |
void | dock () |
void | reloadImages () |
void | savePropertiesAsDefault () |
void | undock () |
![]() | |
void | windowNameChanged () |
![]() | |
static const char * | m_typeTable [TypeCount] |
![]() | |
int | KviProperty_ChildFocusOwner |
The class which manages a query.
enum KviQueryWindow::Flag |
KviQueryWindow::KviQueryWindow | ( | KviConsoleWindow * | lpConsole, |
const QString & | szNick | ||
) |
Constructs the query object.
lpConsole | The associated console |
szNick | The nickname with who we open a query |
References __tr2qs, buttonContainer(), connect(), KviWindow::connection(), KviWindow::createCryptControllerButton(), KviWindow::createTextEncodingButton(), KviIrcView::enableDnd(), KviIconManager::HideListView, KVI_OPTION_BOOL, KviWindow::KviInput, KviOption_boolAutoLogQueries, KviOption_boolPasteLastLogOnQueryJoin, KviTalSplitter, m_iFlags, KviWindow::m_pButtonBox, m_pButtonGrid, KviWindow::m_pInput, KviWindow::m_pIrcView, m_pLabel, m_pListViewButton, KviWindow::m_pSplitter, m_pUserListView, KviWindow::pasteLastLog(), KviIrcConnection::registerQuery(), KviTalHBox::setSpacing(), KviTalHBox::setStretchFactor(), KviIconManager::ShowListView, slotDndEvents(), KviIrcView::startLogging(), textViewRightClicked(), toggleListView(), KviWindow::updateCaption(), and updateLabelText().
KviQueryWindow::~KviQueryWindow | ( | ) |
Destroys the query object.
References KviWindow::connection(), KviWindow::context(), KviWindow::DeadQuery, m_pUserListView, KviUserListView::partAll(), KviWindow::type(), KviIrcContext::unregisterDeadQuery(), and KviIrcConnection::unregisterQuery().
|
overridevirtual |
Applies the options.
Reimplemented from KviWindow.
References KviThemedLabel::applyOptions(), KviUserListView::applyOptions(), KviWindow::applyOptions(), m_pLabel, m_pUserListView, and updateLabelText().
|
inline |
Called when the target changes the avatar.
szNick | The nickname of the user |
References KviUserListView::avatarChanged().
|
inlineoverridevirtual |
Returns the button container.
Reimplemented from KviWindow.
Referenced by KviQueryWindow().
|
overrideprotectedvirtual |
Fills in the caption buffers.
Reimplemented from KviWindow.
References __tr2qs, KviWindow::connection(), KviIrcConnection::currentNickName(), KviIrcConnection::currentServerName(), KviWindow::m_szPlainTextCaption, and KviWindow::windowName().
|
overrideprotectedvirtual |
Gets the base of the log file name.
szBuffer | The buffer where to save the info |
Reimplemented from KviWindow.
References KviWindow::connection(), KviWindow::console(), KviWindow::context(), KviConsoleWindow::currentNetworkName(), szBuffer, and KviWindow::windowName().
|
protected |
Gets the info of the text in the upper part of the query.
References __tr2qs, KviIrcUserEntry::accountName(), KviWindow::connection(), KviIrcUserDataBase::find(), KviIrcUserEntry::hasAccountName(), KviIrcUserEntry::hasHops(), KviIrcUserEntry::hasHost(), KviIrcUserEntry::hasRealName(), KviIrcUserEntry::hasServer(), KviIrcUserEntry::hasUser(), KviIrcUserEntry::hops(), KviIrcUserEntry::host(), KviIrcUserEntry::isAway(), KVI_OPTION_BOOL, KviOption_boolShowExtendedInfoInQueryLabel, KviWindow::m_szName, KviIrcUserEntry::realName(), KviIrcUserEntry::server(), KviControlCodes::stripControlBytes(), KviIrcUserEntry::user(), and KviIrcConnection::userDataBase().
Referenced by updateLabelText().
|
overrideprotectedvirtual |
Gets the window list and info label tooltip text.
Reimplemented from KviWindow.
References __tr2qs, KviWindow::connection(), KviWindow::console(), END_TABLE_BOLD_ROW, KviIrcUserDataBase::find(), KviConsoleWindow::getUserTipText(), KviWindow::m_szName, START_TABLE_BOLD_ROW, szBuffer, and KviIrcConnection::userDataBase().
Referenced by updateLabelText().
|
inline |
|
overrideprotectedvirtual |
Loads the properties from file.
pCfg | The configuration file |
Reimplemented from KviWindow.
References KviWindow::loadProperties(), KviWindow::m_pSplitter, m_SplitterSizesList, KviConfigurationFile::readBoolEntry(), KviConfigurationFile::readIntListEntry(), and showListView().
void KviQueryWindow::mergeQuery | ( | KviQueryWindow * | pQuery | ) |
Merges a query into the one we're using.
pQuery | The source query |
References KviIrcView::appendMessagesFrom(), KviWindow::m_pIrcView, and updateLabelText().
Referenced by KviIrcServerParser::parseLiteralNick().
|
overrideprotectedvirtual |
Returns the icon associated to the query.
Reimplemented from KviWindow.
References KviIconManager::DeadQuery, g_pIconManager, KviIconManager::getSmallIcon(), isDeadQuery(), and KviIconManager::Query.
bool KviQueryWindow::nickChange | ( | const QString & | szOldNick, |
const QString & | szNewNick | ||
) |
Called when the target changes the nick.
szOldNick | The old nickname of the user |
szNewNick | The new nickname of the user |
References m_pUserListView, KviUserListView::nickChange(), KviWindow::setWindowName(), KviWindow::updateCaption(), and updateLabelText().
void KviQueryWindow::notifyCommonChannels | ( | const QString & | szNick, |
const QString & | szUser, | ||
const QString & | szHost, | ||
int | iChans, | ||
const QString & | szChans | ||
) |
Notify us if we have common channels with the target.
szNick | The nickname of the user |
szUser | The username of the user |
szHost | The hostname of the user |
iChans | The number of common channels |
szChans | The common channels |
References __tr2qs, KVI_OUT_QUERYTRACE, KviWindow::output(), szHost, and updateLabelText().
Referenced by KviIrcServerParser::parseLiteralNick(), and setTarget().
|
protected |
Called to notify us that the target of the query is changed.
szOldNick | The old nickname of the target |
szOldUser | The old username of the target |
szOldHost | The old hostname of the target |
szNick | The new nickname of the target |
szUser | The new username of the target |
szHost | The new hostname of the target |
References __tr2qs, KVI_OUT_QUERYTRACE, KviWindow::output(), szHost, and updateLabelText().
Referenced by userAction(), and userAction().
|
overridevirtual |
Called when we perform an action.
szBuffer | The buffer :) |
Reimplemented from KviWindow.
References __tr2qs, KviWindow::connection(), KviControlCodes::CryptEscape, KviWindow::decodeText(), KviCryptEngine::Encoded, KviIrcConnection::encodeText(), KviWindow::encodeText(), KviCryptEngine::Encrypted, KviIrcConnectionUserInfo::hostName(), KVI_OPTION_BOOL, KVI_OUT_OWNACTION, KVI_OUT_OWNACTIONCRYPTED, KVI_OUT_SYSTEMERROR, KVI_USERACTION_ACTION, KviEvent_OnMeAction, KviOption_boolStripMircColorsInUserMessages, KVS_TRIGGER_EVENT_2_HALTED, m_pUserListView, KviIrcConnectionUserInfo::nickName(), KviWindow::output(), KviCString::ptr(), KviControlCodes::stripControlBytes(), szBuffer, KviUserListView::userAction(), userAction(), KviIrcConnection::userInfo(), KviIrcConnectionUserInfo::userName(), and KviWindow::windowName().
|
overridevirtual |
Called when we send a message to the query target.
szBuffer | The buffer where to store the data |
bUserFeedback | Whether to display the echo feedback to the user |
Reimplemented from KviWindow.
References __tr2qs, KviWindow::connection(), KviControlCodes::CryptEscape, KviWindow::decodeText(), KviCryptEngine::Encoded, KviIrcConnection::encodeText(), KviWindow::encodeText(), KviCryptEngine::Encrypted, KviIrcConnectionUserInfo::hostName(), KVI_OUT_OWNPRIVMSG, KVI_OUT_OWNPRIVMSGCRYPTED, KVI_OUT_SYSTEMERROR, KVI_OUT_SYSTEMWARNING, KVI_USERACTION_PRIVMSG, KviWindow::m_pConsole, KviWindow::makeEncoder(), KviIrcConnectionUserInfo::nickName(), KviConsoleWindow::NoNotifications, KviWindow::output(), KviWindow::outputNoFmt(), KviConsoleWindow::outputPrivmsg(), KviCString::ptr(), KviIrcConnection::sendFmtData(), szBuffer, userAction(), KviIrcConnection::userInfo(), KviIrcConnectionUserInfo::userName(), and KviWindow::windowName().
|
overrideprotected |
References KviInput::heightHint(), KviWindow::m_pButtonBox, KviWindow::m_pInput, and KviWindow::m_pSplitter.
|
overrideprotectedvirtual |
Saves the properties to file.
pCfg | The configuration file |
Reimplemented from KviWindow.
References KviWindow::m_pSplitter, m_pUserListView, m_SplitterSizesList, KviWindow::saveProperties(), and KviConfigurationFile::writeEntry().
|
inline |
Returns the number of selected users in the userlist.
References KviUserListView::selectedCount().
void KviQueryWindow::setAliveQuery | ( | ) |
Sets the status of the query as alive.
References KviWindow::connection(), KviWindow::context(), KviIrcUserDataBase::find(), KviIrcUserEntry::host(), KviIrcView::isLogging(), m_iFlags, KviWindow::m_pIrcView, m_pUserListView, KviWindow::Query, KviIrcConnection::registerQuery(), setTarget(), KviWindow::setType(), KviUserListView::setUserDataBase(), KviIrcView::startLogging(), szHost, target(), KviIrcContext::unregisterDeadQuery(), KviWindow::updateIcon(), KviIrcUserEntry::user(), and KviIrcConnection::userDataBase().
void KviQueryWindow::setDeadQuery | ( | ) |
Sets the status of the query as dead.
References KviWindow::connection(), KviWindow::context(), Dead, KviWindow::DeadQuery, KviUserListView::enableUpdates(), m_iFlags, m_pUserListView, KviUserListView::partAll(), KviIrcContext::registerDeadQuery(), KviWindow::setType(), KviUserListView::setUserDataBase(), KviIrcConnection::unregisterQuery(), KviWindow::updateCaption(), KviWindow::updateIcon(), and updateLabelText().
KviUserListEntry * KviQueryWindow::setTarget | ( | const QString & | szNick, |
const QString & | szUser, | ||
const QString & | szHost | ||
) |
Sets the target of the query.
szNick | The nickname of the user |
szUser | The username of the user |
szHost | The hostname of the user |
References KviIrcUserEntry::avatar(), KviConsoleWindow::checkDefaultAvatar(), KviWindow::connection(), KviIrcConnection::getCommonChannels(), KviUserListEntry::globalData(), KviUserListView::join(), KVI_OPTION_BOOL, KviEvent_OnQueryTargetAdded, KviOption_boolEnableQueryTracing, KVS_TRIGGER_EVENT_3, KviWindow::m_pConsole, m_pUserListView, notifyCommonChannels(), KviWindow::setWindowName(), szHost, KviWindow::updateCaption(), and updateLabelText().
Referenced by KviIrcConnection::loginComplete(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPrivmsg(), and setAliveQuery().
void KviQueryWindow::showListView | ( | bool | bShow, |
bool | bIgnoreSizeChange = false |
||
) |
Shows the userlist view.
bShow | Whether to show or hide the view |
bIgnoreSizeChange | Whether to ignore the size change |
References m_pListViewButton, KviWindow::m_pSplitter, m_pUserListView, and m_SplitterSizesList.
Referenced by loadProperties(), and toggleListView().
|
override |
Returns the size of the query object.
References KviInput::heightHint(), KviWindow::m_pInput, KviWindow::m_pIrcView, KviWindow::m_pSplitter, and KviIrcView::sizeHint().
|
protectedslot |
Triggers the OnQueryFileDropped event.
szFile | The file dropped in the query |
References KviEvent_OnQueryFileDropped, and KVS_TRIGGER_EVENT_1.
Referenced by KviQueryWindow().
|
inlineoverridevirtual |
Returns the name of the query target.
Reimplemented from KviWindow.
References KviWindow::windowName().
Referenced by setAliveQuery().
|
protectedslot |
Triggers the OnQueryPopupRequest event.
References KviEvent_OnQueryPopupRequest, and KVS_TRIGGER_EVENT_0.
Referenced by KviQueryWindow().
|
protectedslot |
Toggles the userlist view.
References m_pUserListView, and showListView().
Referenced by KviQueryWindow().
|
overrideprotectedvirtual |
Trigger the OnQueryWindowCreated event.
Reimplemented from KviWindow.
References KviEvent_OnQueryWindowCreated, and KVS_TRIGGER_EVENT_0.
void KviQueryWindow::updateLabelText | ( | ) |
Updates the text of the tooltip.
References KviTalToolTip::add(), getInfoLabelText(), getWindowListTipText(), m_pLabel, and szBuffer.
Referenced by applyOptions(), KviQueryWindow(), mergeQuery(), nickChange(), notifyCommonChannels(), notifyTargetChange(), KviIrcServerParser::parseNumericWhoisAway(), KviIrcServerParser::parseNumericWhoisServer(), KviIrcServerParser::parseNumericWhoisUser(), KviIrcServerParser::parseNumericWhoReply(), KviIrcServerParser::parseNumericWhospcrpl(), setDeadQuery(), setTarget(), userAction(), userAction(), and userAction().
void KviQueryWindow::userAction | ( | const QString & | szNick, |
const QString & | szUser, | ||
const QString & | szHost, | ||
unsigned int | uActionType | ||
) |
Called when a user performs an action.
szNick | The nickname of the user |
szUser | The username of the user |
szHost | The hostname of the user |
uActionType | The type of the action |
References kvi_getUserActionTemperature(), KVI_OPTION_BOOL, KviOption_boolEnableQueryTracing, m_pUserListView, notifyTargetChange(), szHost, updateLabelText(), KviUserListView::userAction(), and KviUserListView::userActionVerifyMask().
void KviQueryWindow::userAction | ( | const QString & | szNick, |
unsigned int | uActionType | ||
) |
Called when a user performs an action.
szNick | The nickname of the user |
uActionType | The type of the action |
References kvi_getUserActionTemperature(), m_pUserListView, updateLabelText(), and KviUserListView::userAction().
void KviQueryWindow::userAction | ( | KviIrcMask * | user, |
unsigned int | uActionType | ||
) |
Called when a user performs an action.
user | The source user |
uActionType | The type of the action |
References KviIrcMask::host(), kvi_getUserActionTemperature(), KVI_OPTION_BOOL, KviOption_boolEnableQueryTracing, m_pUserListView, KviIrcMask::nick(), notifyTargetChange(), updateLabelText(), KviIrcMask::user(), KviUserListView::userAction(), and KviUserListView::userActionVerifyMask().
Referenced by ownAction(), ownMessage(), KviIrcServerParser::parseLiteralNick(), KviIrcServerParser::parseLiteralNotice(), and KviIrcServerParser::parseLiteralPrivmsg().
|
inline |
Returns the userlist of the query (the remote peer)
Referenced by KviApplication::notifierMessage().
|
protected |
Referenced by KviQueryWindow(), setAliveQuery(), and setDeadQuery().
|
protected |
Referenced by KviQueryWindow().
|
protected |
Referenced by applyOptions(), KviQueryWindow(), and updateLabelText().
|
protected |
Referenced by KviQueryWindow(), and showListView().
|
protected |
|
protected |
Referenced by loadProperties(), saveProperties(), and showListView().