KVIrc 5.2.6
Developer APIs
KviTrayIconWidget Class Referencefinal

#include <libkvitrayicon.h>

+ Inheritance diagram for KviTrayIconWidget:

Public Member Functions

 KviTrayIconWidget ()
 
void refresh () override
 
void updateIcon ()
 
 ~KviTrayIconWidget () override
 
- Public Member Functions inherited from KviTrayIcon
virtual ~KviTrayIcon ()
 

Private Slots

void activatedSlot (QSystemTrayIcon::ActivationReason reason)
 
void disableTrayIcon ()
 
void doAway (bool)
 
void executeInternalCommand (bool)
 
void fillContextPopup ()
 
void flashingTimerShot ()
 
void toggleParentFrame ()
 

Private Member Functions

const QString getToolTipText (bool bHtml)
 
void grabActivityInfo ()
 

Private Attributes

QMenu m_awayPopup
 
bool m_bFlashed
 
bool m_bHidden
 
QPixmap m_CurrentPixmap
 
QTimer m_flashingTimer
 
unsigned int m_iChannels
 
unsigned int m_iConsoles
 
unsigned int m_iOther
 
unsigned int m_iQueries
 
QAction * m_pAwayMenuId
 
QMenu * m_pContextPopup
 
QLabel * m_pTitleLabel
 
QAction * m_pToggleFrame
 

Constructor & Destructor Documentation

◆ KviTrayIconWidget()

◆ ~KviTrayIconWidget()

KviTrayIconWidget::~KviTrayIconWidget ( )
override

Member Function Documentation

◆ activatedSlot

void KviTrayIconWidget::activatedSlot ( QSystemTrayIcon::ActivationReason reason)
privateslot

◆ disableTrayIcon

void KviTrayIconWidget::disableTrayIcon ( )
privateslot

◆ doAway

◆ executeInternalCommand

void KviTrayIconWidget::executeInternalCommand ( bool )
privateslot

References g_pMainWindow.

Referenced by KviTrayIconWidget().

◆ fillContextPopup

◆ flashingTimerShot

void KviTrayIconWidget::flashingTimerShot ( )
privateslot

References m_bFlashed, and refresh().

Referenced by KviTrayIconWidget().

◆ getToolTipText()

const QString KviTrayIconWidget::getToolTipText ( bool bHtml)
private

References __tr2qs_no_xgettext, first(), g_pMainWindow, idlemsgs, NIDLEMSGS, and t.

Referenced by refresh().

◆ grabActivityInfo()

◆ refresh()

◆ toggleParentFrame

void KviTrayIconWidget::toggleParentFrame ( )
privateslot

◆ updateIcon()

void KviTrayIconWidget::updateIcon ( )

References m_CurrentPixmap.

Referenced by refresh().

Member Data Documentation

◆ m_awayPopup

QMenu KviTrayIconWidget::m_awayPopup
private

◆ m_bFlashed

bool KviTrayIconWidget::m_bFlashed
private

◆ m_bHidden

bool KviTrayIconWidget::m_bHidden
private

◆ m_CurrentPixmap

QPixmap KviTrayIconWidget::m_CurrentPixmap
private

◆ m_flashingTimer

QTimer KviTrayIconWidget::m_flashingTimer
private

Referenced by KviTrayIconWidget(), and refresh().

◆ m_iChannels

unsigned int KviTrayIconWidget::m_iChannels
private

◆ m_iConsoles

unsigned int KviTrayIconWidget::m_iConsoles
private

◆ m_iOther

unsigned int KviTrayIconWidget::m_iOther
private

◆ m_iQueries

unsigned int KviTrayIconWidget::m_iQueries
private

◆ m_pAwayMenuId

QAction* KviTrayIconWidget::m_pAwayMenuId
private

◆ m_pContextPopup

QMenu* KviTrayIconWidget::m_pContextPopup
private

◆ m_pTitleLabel

QLabel* KviTrayIconWidget::m_pTitleLabel
private

Referenced by KviTrayIconWidget().

◆ m_pToggleFrame

QAction* KviTrayIconWidget::m_pToggleFrame
private

The documentation for this class was generated from the following files: