diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-08-26 18:35:30 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-08-27 12:10:29 +0200 |
commit | 715796b48a4d6656b8375bc42c3396308089c937 (patch) | |
tree | 576749701ac9b10d5c5f6e4e377d15b99f793b45 /src/plugins/projectexplorer | |
parent | 8d188d01046caaf7e41657e5c34c450620de05f1 (diff) | |
download | qt-creator-715796b48a4d6656b8375bc42c3396308089c937.tar.gz |
Fix krazy issues: Use explicit constructors
* Fix all warnings about non-explicit constructors except for those
in 3rdparty code.
Diffstat (limited to 'src/plugins/projectexplorer')
5 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/buildconfigurationmodel.h b/src/plugins/projectexplorer/buildconfigurationmodel.h index 5f14552ca6..fb3dd78582 100644 --- a/src/plugins/projectexplorer/buildconfigurationmodel.h +++ b/src/plugins/projectexplorer/buildconfigurationmodel.h @@ -46,7 +46,7 @@ class BuildConfigurationModel : public QAbstractListModel { Q_OBJECT public: - BuildConfigurationModel(Target *target, QObject *parent = 0); + explicit BuildConfigurationModel(Target *target, QObject *parent = 0); int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; diff --git a/src/plugins/projectexplorer/deployconfigurationmodel.h b/src/plugins/projectexplorer/deployconfigurationmodel.h index 26f5534709..cb94db1624 100644 --- a/src/plugins/projectexplorer/deployconfigurationmodel.h +++ b/src/plugins/projectexplorer/deployconfigurationmodel.h @@ -45,7 +45,7 @@ class DeployConfigurationModel : public QAbstractListModel { Q_OBJECT public: - DeployConfigurationModel(Target *target, QObject *parent = 0); + explicit DeployConfigurationModel(Target *target, QObject *parent = 0); int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; diff --git a/src/plugins/projectexplorer/environmenteditmodel.h b/src/plugins/projectexplorer/environmenteditmodel.h index 489b09203e..6f15f4a9a7 100644 --- a/src/plugins/projectexplorer/environmenteditmodel.h +++ b/src/plugins/projectexplorer/environmenteditmodel.h @@ -96,7 +96,7 @@ class PROJECTEXPLORER_EXPORT EnvironmentWidget : public QWidget { Q_OBJECT public: - EnvironmentWidget(QWidget *parent, QWidget *additionalDetailsWidget = 0); + explicit EnvironmentWidget(QWidget *parent, QWidget *additionalDetailsWidget = 0); ~EnvironmentWidget(); void setBaseEnvironmentText(const QString &text); diff --git a/src/plugins/projectexplorer/miniprojecttargetselector.h b/src/plugins/projectexplorer/miniprojecttargetselector.h index adaff962f7..551af5bbc5 100644 --- a/src/plugins/projectexplorer/miniprojecttargetselector.h +++ b/src/plugins/projectexplorer/miniprojecttargetselector.h @@ -57,7 +57,7 @@ private: ProjectExplorer::Project* m_project; public: - ProjectListWidget(ProjectExplorer::Project *project, QWidget *parent = 0); + explicit ProjectListWidget(ProjectExplorer::Project *project, QWidget *parent = 0); QSize sizeHint() const; @@ -74,7 +74,7 @@ class MiniTargetWidget : public QWidget { Q_OBJECT public: - MiniTargetWidget(ProjectExplorer::Target *target, QWidget *parent = 0); + explicit MiniTargetWidget(ProjectExplorer::Target *target, QWidget *parent = 0); ProjectExplorer::Target *target() const; bool hasBuildConfiguration() const; @@ -113,7 +113,7 @@ class MiniProjectTargetSelector : public QWidget { Q_OBJECT public: - MiniProjectTargetSelector(QAction *projectAction, QWidget *parent = 0); + explicit MiniProjectTargetSelector(QAction *projectAction, QWidget *parent = 0); void setVisible(bool visible); signals: diff --git a/src/plugins/projectexplorer/runconfigurationmodel.h b/src/plugins/projectexplorer/runconfigurationmodel.h index 243916769a..dd311e7f48 100644 --- a/src/plugins/projectexplorer/runconfigurationmodel.h +++ b/src/plugins/projectexplorer/runconfigurationmodel.h @@ -44,7 +44,7 @@ class RunConfigurationModel : public QAbstractListModel { Q_OBJECT public: - RunConfigurationModel(Target *target, QObject *parent = 0); + explicit RunConfigurationModel(Target *target, QObject *parent = 0); int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; |