KVIrc  4.9.2
DeveloperAPIs
Functions | Variables
KvsObject_trayIcon.cpp File Reference
#include "KvsObject_trayIcon.h"
#include "KvsObject_popupMenu.h"
#include "KviIconManager.h"
#include "kvi_debug.h"
#include "KviError.h"
#include "KviLocale.h"
#include <QSystemTrayIcon>

Functions

 connect (m_pTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(slotActivated(QSystemTrayIcon::ActivationReason)))
 
 connect (m_pTrayIcon, SIGNAL(messageClicked()), this, SLOT(slotMessageClicked()))
 
 KVSO_CLASS_FUNCTION (trayIcon, setIcon)
 
 KVSO_CLASS_FUNCTION (trayIcon, setTooltip)
 
 KVSO_CLASS_FUNCTION (trayIcon, show)
 
 KVSO_CLASS_FUNCTION (trayIcon, hide)
 
 KVSO_CLASS_FUNCTION (trayIcon, isVisible)
 
 KVSO_CLASS_FUNCTION (trayIcon, showMessage)
 
 KVSO_CLASS_FUNCTION (trayIcon, setContextMenu)
 
 KVSO_CLASS_FUNCTION (trayIcon, activatedEvent)
 
 KVSO_CLASS_FUNCTION (trayIcon, messageClickedEvent)
 

Variables

 m_pTrayIcon = new QSystemTrayIcon(nullptr)
 

Function Documentation

connect ( m_pTrayIcon  ,
SIGNAL(activated(QSystemTrayIcon::ActivationReason))  ,
this  ,
SLOT(slotActivated(QSystemTrayIcon::ActivationReason))   
)
connect ( m_pTrayIcon  ,
SIGNAL(messageClicked())  ,
this  ,
SLOT(slotMessageClicked())   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
setIcon   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
setTooltip   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
show   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
hide   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
isVisible   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
showMessage   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
setContextMenu   
)
KVSO_CLASS_FUNCTION ( trayIcon  ,
activatedEvent   
)

References c.

KVSO_CLASS_FUNCTION ( trayIcon  ,
messageClickedEvent   
)

References c.

Variable Documentation

delete m_pTrayIcon = new QSystemTrayIcon(nullptr)