aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/NotifierWindowTab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/NotifierWindowTab.h')
-rw-r--r--src/modules/notifier/NotifierWindowTab.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/notifier/NotifierWindowTab.h b/src/modules/notifier/NotifierWindowTab.h
index 784936aa6..550d3dd60 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; };
+ QString label() const { return m_szLabel; }
/**
* \brief Returns the pointer of the current window
* \return KviWindow *
*/
- inline KviWindow * wnd() const { return m_pWnd; };
+ 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