#include <libkvitrayicon.h>
KviTrayIconWidget::KviTrayIconWidget |
( |
| ) |
|
References __tr2qs, activatedSlot(), KviIconManager::Away, connect(), KviIconManager::DefaultIcon, disableTrayIcon(), executeInternalCommand(), fillContextPopup(), flashingTimerShot(), g_pDock1, g_pIconManager, g_pMainWindow, KviIconManager::getSmallIcon(), KviIconManager::Info, KVI_INTERNALCOMMAND_ABOUT_ABOUTKVIRC, KVI_INTERNALCOMMAND_OPTIONS_DIALOG, m_bFlashed, m_bHidden, m_iChannels, m_iConsoles, m_iOther, m_iQueries, m_pAwayMenuId, m_pAwayPopup, m_pContextPopup, m_pFlashingTimer, m_pTitleLabel, m_pToggleFrame, Normal, KviIconManager::Options, p, KviIconManager::QuitApp, KviMainWindow::setTrayIcon(), toggleParentFrame(), and KviIconManager::TrayIcon.
KviTrayIconWidget::~KviTrayIconWidget |
( |
| ) |
|
void KviTrayIconWidget::activatedSlot |
( |
QSystemTrayIcon::ActivationReason |
reason | ) |
|
|
protectedslot |
void KviTrayIconWidget::die |
( |
| ) |
|
|
virtual |
void KviTrayIconWidget::disableTrayIcon |
( |
| ) |
|
|
protectedslot |
void KviTrayIconWidget::doAway |
( |
bool |
| ) |
|
|
protectedslot |
References KviWindow::connection(), KviPointerHashTableIterator< Key, T >::current(), KviIrcConnection::encodeText(), KviApplication::findConsole(), g_pApp, g_pGlobalWindowDict, KviIrcConnectionUserInfo::isAway(), KviConsoleWindow::isConnected(), KVI_OPTION_STRING, KviOption_stringAwayMessage, KviIrcConnection::sendFmtData(), and KviIrcConnection::userInfo().
Referenced by fillContextPopup().
bool KviTrayIconWidget::event |
( |
QEvent * |
e | ) |
|
|
protectedvirtual |
References __tr2qs_no_xgettext, first(), KviWindowListBase::firstItem(), g_pMainWindow, idlemsgs, m_Tip, KviWindowListBase::nextItem(), NIDLEMSGS, t(), KviDynamicToolTip::tip(), and KviMainWindow::windowListWidget().
void KviTrayIconWidget::executeInternalCommand |
( |
bool |
| ) |
|
|
protectedslot |
void KviTrayIconWidget::fillContextPopup |
( |
| ) |
|
|
protectedslot |
References __tr2qs, KviIconManager::Away, KviWindow::connection(), KviConsoleWindow::context(), KviPointerHashTableIterator< Key, T >::current(), KviConsoleWindow::currentNetworkName(), doAway(), g_pApp, g_pGlobalWindowDict, g_pIconManager, g_pMainWindow, KviIconManager::getSmallIcon(), KviIrcContext::id(), KviIrcConnectionUserInfo::isAway(), KviConsoleWindow::isConnected(), m_pAwayMenuId, m_pAwayPopup, m_pToggleFrame, KviIconManager::NotAway, KviApplication::topmostConnectedConsole(), and KviIrcConnection::userInfo().
Referenced by KviTrayIconWidget().
void KviTrayIconWidget::flashingTimerShot |
( |
| ) |
|
|
protectedslot |
void KviTrayIconWidget::grabActivityInfo |
( |
| ) |
|
|
protected |
References KviWindow::Channel, KviWindow::Console, KviWindowListBase::firstItem(), g_pMainWindow, KVI_OPTION_BOOL, KVI_OPTION_UINT, KviOption_boolUseLevelBasedTrayNotification, KviOption_uintMinTrayHighLevelMessage, KviOption_uintMinTrayLowLevelMessage, m_iChannels, m_iConsoles, m_iOther, m_iQueries, KviWindowListBase::nextItem(), KviWindow::Query, t(), and KviMainWindow::windowListWidget().
Referenced by refresh().
void KviTrayIconWidget::refresh |
( |
| ) |
|
|
virtual |
Reimplemented from KviTrayIcon.
References g_pDock1, g_pDock2, g_pDock3, g_pIconManager, KviIconManager::getSmallIcon(), grabActivityInfo(), ICON_SIZE, KVI_OPTION_BOOL, KviOption_boolEnableTrayIconFlashing, m_bFlashed, m_CurrentPixmap, m_iChannels, m_iConsoles, m_iOther, m_iQueries, m_pFlashingTimer, KviIconManager::Message, and updateIcon().
Referenced by flashingTimerShot().
void KviTrayIconWidget::toggleParentFrame |
( |
| ) |
|
|
protectedslot |
void KviTrayIconWidget::updateIcon |
( |
| ) |
|
bool KviTrayIconWidget::m_bFlashed |
|
protected |
bool KviTrayIconWidget::m_bHidden |
|
protected |
QPixmap KviTrayIconWidget::m_CurrentPixmap |
|
protected |
unsigned int KviTrayIconWidget::m_iChannels |
|
protected |
unsigned int KviTrayIconWidget::m_iConsoles |
|
protected |
unsigned int KviTrayIconWidget::m_iOther |
|
protected |
unsigned int KviTrayIconWidget::m_iQueries |
|
protected |
QAction* KviTrayIconWidget::m_pAwayMenuId |
|
protected |
QMenu* KviTrayIconWidget::m_pAwayPopup |
|
protected |
QMenu* KviTrayIconWidget::m_pContextPopup |
|
protected |
QTimer* KviTrayIconWidget::m_pFlashingTimer |
|
protected |
QLabel* KviTrayIconWidget::m_pTitleLabel |
|
protected |
QAction* KviTrayIconWidget::m_pToggleFrame |
|
protected |
The documentation for this class was generated from the following files: