Пример #1
0
void KviQueryWindow::userAction(KviIrcMask * pUser, unsigned int uActionType)
{
	int iTemperature = kvi_getUserActionTemperature(uActionType);
	if(KVI_OPTION_BOOL(KviOption_boolEnableQueryTracing))
	{
		QString szOldUser, szOldHost;
		if(!m_pUserListView->userActionVerifyMask(pUser->nick(),pUser->user(),pUser->host(),iTemperature,szOldUser,szOldHost))
			notifyTargetChange(pUser->nick(),szOldUser,szOldHost,pUser->nick(),pUser->user(),pUser->host());
	} else {
		m_pUserListView->userAction(pUser,iTemperature);
	}
	updateLabelText();
}
Пример #2
0
void KviQueryWindow::userAction(const QString & szNick, const QString & szUser, const QString & szHost, unsigned int uActionType)
{
	int iTemperature = kvi_getUserActionTemperature(uActionType);
	if(KVI_OPTION_BOOL(KviOption_boolEnableQueryTracing))
	{
		QString szOldUser, szOldHost;
		if(!m_pUserListView->userActionVerifyMask(szNick,szUser,szHost,iTemperature,szOldUser,szOldHost))
			notifyTargetChange(szNick,szOldUser,szOldHost,szNick,szUser,szHost);
	} else {
		m_pUserListView->userAction(szNick,szUser,szHost,iTemperature);
	}

	updateLabelText();
}
Пример #3
0
void KviQueryWindow::userAction(const QString & szNick, unsigned int uActionType)
{
	int iTemperature = kvi_getUserActionTemperature(uActionType);
	m_pUserListView->userAction(szNick, iTemperature);
	updateLabelText();
}