Commit ed4aa297 authored by Jan Möbius's avatar Jan Möbius
Browse files

More cppcheck warnings

parent 17c5fc32
...@@ -54,9 +54,9 @@ class Menu : public QMenu ...@@ -54,9 +54,9 @@ class Menu : public QMenu
{ {
bool pressed_; bool pressed_;
public: public:
Menu(QWidget* _parent = 0); explicit Menu(QWidget* _parent = 0);
protected: protected:
void mousePressEvent(QMouseEvent* _event); void mousePressEvent(QMouseEvent* _event);
void mouseReleaseEvent(QMouseEvent* _event); void mouseReleaseEvent(QMouseEvent* _event);
}; };
\ No newline at end of file
...@@ -64,7 +64,7 @@ class DatacontrolToolboxWidget : public QWidget, public Ui::dctoolbox ...@@ -64,7 +64,7 @@ class DatacontrolToolboxWidget : public QWidget, public Ui::dctoolbox
void keyEvent( QKeyEvent* _event ); void keyEvent( QKeyEvent* _event );
public: public:
DatacontrolToolboxWidget(QWidget* _parent = 0); explicit DatacontrolToolboxWidget(QWidget* _parent = 0);
protected: protected:
......
...@@ -69,7 +69,7 @@ signals: ...@@ -69,7 +69,7 @@ signals:
public: public:
/// Constructor /// Constructor
TreeModel(QObject *_parent = 0); explicit TreeModel(QObject *_parent = 0);
/// Destructor /// Destructor
~TreeModel(); ~TreeModel();
......
...@@ -63,7 +63,7 @@ class DataControlTreeView : public QTreeView ...@@ -63,7 +63,7 @@ class DataControlTreeView : public QTreeView
void keyEvent( QKeyEvent* _event ); void keyEvent( QKeyEvent* _event );
public: public:
DataControlTreeView(QWidget* _parent = 0); explicit DataControlTreeView(QWidget* _parent = 0);
protected: protected:
virtual void keyPressEvent ( QKeyEvent * event ); virtual void keyPressEvent ( QKeyEvent * event );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment