diff options
| author | 2017-10-21 18:10:40 -0400 | |
|---|---|---|
| committer | 2017-10-21 18:10:40 -0400 | |
| commit | e9f3c2248ab67e1265667de5ddc6bc59ce235c98 (patch) | |
| tree | 1f5d9b5954582e6c68f69ae0226e7b969c6549fa /src/modules/notifier/NotifierWindowTab.h | |
| parent | Make the issue/PR templates much simpler. (#2301) (diff) | |
| download | KVIrc-e9f3c2248ab67e1265667de5ddc6bc59ce235c98.tar.gz KVIrc-e9f3c2248ab67e1265667de5ddc6bc59ce235c98.tar.bz2 KVIrc-e9f3c2248ab67e1265667de5ddc6bc59ce235c98.zip | |
notifier module: general code cleanup
Diffstat (limited to 'src/modules/notifier/NotifierWindowTab.h')
| -rw-r--r-- | src/modules/notifier/NotifierWindowTab.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/notifier/NotifierWindowTab.h b/src/modules/notifier/NotifierWindowTab.h index 784936aa6..dfc9714cf 100644 --- a/src/modules/notifier/NotifierWindowTab.h +++ b/src/modules/notifier/NotifierWindowTab.h @@ -36,11 +36,11 @@ #include <QScrollArea> +class KviWindow; +class QPainter; +class QTabWidget; class QVBoxLayout; class QWidget; -class QTabWidget; -class QPainter; -class KviWindow; /** * \class NotifierWindowTab @@ -65,10 +65,10 @@ public: private: QString m_szLabel; - KviWindow * m_pWnd; - QTabWidget * m_pParent; - QVBoxLayout * m_pVBox; - QWidget * m_pVWidget; + KviWindow * m_pWnd = nullptr; + QTabWidget * m_pParent = nullptr; + QVBoxLayout * m_pVBox = nullptr; + QWidget * m_pVWidget = nullptr; public: /** @@ -88,17 +88,17 @@ public: * \brief Returns the name of the current window * \return QString */ - inline QString label() const { return m_szLabel; }; + inline QString label() const { return m_szLabel; } /** * \brief Returns the pointer of the current window * \return KviWindow * */ - inline KviWindow * wnd() const { return m_pWnd; }; + inline KviWindow * wnd() const { return m_pWnd; } protected: - virtual void mouseDoubleClickEvent(QMouseEvent * e); - virtual void resizeEvent(QResizeEvent * e); - virtual void paintEvent(QPaintEvent * e); + void mouseDoubleClickEvent(QMouseEvent * e) override; + void resizeEvent(QResizeEvent * e) override; + void paintEvent(QPaintEvent * e) override; private slots: /** * \brief Emitted when the scrollbar range is changed |
