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

◆ doAway

◆ executeInternalCommand

void KviTrayIconWidget::executeInternalCommand ( bool )
privateslot

◆ fillContextPopup

◆ flashingTimerShot

void KviTrayIconWidget::flashingTimerShot ( )
privateslot

References m_bFlashed, and refresh().

◆ getToolTipText()

const QString KviTrayIconWidget::getToolTipText ( bool bHtml)
private

◆ 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

Referenced by fillContextPopup().

◆ m_bFlashed

bool KviTrayIconWidget::m_bFlashed
private

Referenced by flashingTimerShot(), and refresh().

◆ m_bHidden

bool KviTrayIconWidget::m_bHidden
private

◆ m_CurrentPixmap

QPixmap KviTrayIconWidget::m_CurrentPixmap
private

Referenced by refresh(), and updateIcon().

◆ m_flashingTimer

QTimer KviTrayIconWidget::m_flashingTimer
private

Referenced by refresh().

◆ m_iChannels

unsigned int KviTrayIconWidget::m_iChannels
private

Referenced by grabActivityInfo(), and refresh().

◆ m_iConsoles

unsigned int KviTrayIconWidget::m_iConsoles
private

Referenced by grabActivityInfo(), and refresh().

◆ m_iOther

unsigned int KviTrayIconWidget::m_iOther
private

Referenced by grabActivityInfo(), and refresh().

◆ m_iQueries

unsigned int KviTrayIconWidget::m_iQueries
private

Referenced by grabActivityInfo(), and refresh().

◆ m_pAwayMenuId

QAction* KviTrayIconWidget::m_pAwayMenuId
private

Referenced by fillContextPopup().

◆ m_pContextPopup

QMenu* KviTrayIconWidget::m_pContextPopup
private

Referenced by ~KviTrayIconWidget().

◆ m_pTitleLabel

QLabel* KviTrayIconWidget::m_pTitleLabel
private

◆ m_pToggleFrame

QAction* KviTrayIconWidget::m_pToggleFrame
private

Referenced by fillContextPopup().


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