class InputWidget;
class MsgProcessorStatusWidget;
class NickListWidget;
-class SystemTrayIcon;
+class SystemTray;
class QMenu;
class QLabel;
void addBufferView(ClientBufferViewConfig *config);
BufferView *allBuffersView() const;
- inline QSystemTrayIcon *systemTrayIcon() const;
+ inline SystemTray *systemTray() const;
virtual bool event(QEvent *event);
KHelpMenu *_kHelpMenu;
#endif
- QMenu *systrayMenu;
QLabel *coreLagLabel;
QLabel *sslLabel;
MsgProcessorStatusWidget *msgProcessorStatusWidget;
void toggleMinimizedToTray();
void enableMenus();
- QSystemTrayIcon *_trayIcon;
+ SystemTray *_systemTray;
QList<BufferViewDock *> _bufferViews;
BufferWidget *_bufferWidget;
friend class QtUi;
};
-QSystemTrayIcon *MainWin::systemTrayIcon() const {
- return _trayIcon;
+SystemTray *MainWin::systemTray() const {
+ return _systemTray;
}
#endif