Commit 2369b01e authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

Mark explicit.

parent f604f267
...@@ -32,7 +32,7 @@ class PlayGround : public QGraphicsView ...@@ -32,7 +32,7 @@ class PlayGround : public QGraphicsView
Q_OBJECT Q_OBJECT
public: public:
PlayGround(TopLevel *parent); explicit PlayGround(TopLevel *parent);
~PlayGround(); ~PlayGround();
enum LoadError { NoError, OldFileVersionError, OtherError }; enum LoadError { NoError, OldFileVersionError, OtherError };
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
class PlaygroundDelegate : public QAbstractItemDelegate class PlaygroundDelegate : public QAbstractItemDelegate
{ {
public: public:
PlaygroundDelegate(QObject *parent = 0); explicit PlaygroundDelegate(QObject *parent = 0);
private: private:
virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
......
...@@ -26,7 +26,7 @@ class SoundFactory ...@@ -26,7 +26,7 @@ class SoundFactory
{ {
public: public:
SoundFactory(TopLevel *parent); explicit SoundFactory(TopLevel *parent);
~SoundFactory(); ~SoundFactory();
bool loadLanguage(const QString &selectedLanguageFile); bool loadLanguage(const QString &selectedLanguageFile);
......
Supports Markdown
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