summary refs log tree commit diff
path: root/include/TrayIcon.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-10 12:59:21 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-10 12:59:21 +0300
commit1bfe48de7512a1f80a721c89127f1491641fd7a7 (patch)
tree0312f020eeff7425e2681a7c6c2c327c28fc05ce /include/TrayIcon.h
parentAllow port number as part of the hostname (diff)
downloadnheko-1bfe48de7512a1f80a721c89127f1491641fd7a7.tar.xz
Style change again
Diffstat (limited to 'include/TrayIcon.h')
-rw-r--r--include/TrayIcon.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/TrayIcon.h b/include/TrayIcon.h

index 7fe46ad3..2c9020c1 100644 --- a/include/TrayIcon.h +++ b/include/TrayIcon.h
@@ -28,31 +28,31 @@ class MsgCountComposedIcon : public QIconEngine { public: - MsgCountComposedIcon(const QString &filename); + MsgCountComposedIcon(const QString &filename); - virtual void paint(QPainter *p, const QRect &rect, QIcon::Mode mode, QIcon::State state); - virtual QIconEngine *clone() const; + virtual void paint(QPainter *p, const QRect &rect, QIcon::Mode mode, QIcon::State state); + virtual QIconEngine *clone() const; - int msgCount = 0; + int msgCount = 0; private: - const int BubbleDiameter = 17; + const int BubbleDiameter = 17; - QIcon icon_; + QIcon icon_; }; class TrayIcon : public QSystemTrayIcon { - Q_OBJECT + Q_OBJECT public: - TrayIcon(const QString &filename, QWidget *parent); + TrayIcon(const QString &filename, QWidget *parent); public slots: - void setUnreadCount(int count); + void setUnreadCount(int count); private: - QAction *viewAction_; - QAction *quitAction_; + QAction *viewAction_; + QAction *quitAction_; - MsgCountComposedIcon *icon_; + MsgCountComposedIcon *icon_; };