diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-16 17:10:55 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-23 10:27:19 +0000 |
commit | 22e3a7b3a4651a487f0e408a8aa255706337a689 (patch) | |
tree | 01f093df479c27715c3aafbc8ce995520f0d0009 /src/plugins/projectexplorer | |
parent | f133ca30e365aef5d757dc8b86a4f44dd431853b (diff) | |
download | qt-creator-22e3a7b3a4651a487f0e408a8aa255706337a689.tar.gz |
Target: Make constructor private
Use Project::createTarget consistently
Change-Id: Ic8b60f35a830080d325758c93bca7068c9859c59
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r-- | src/plugins/projectexplorer/target.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/target.h b/src/plugins/projectexplorer/target.h index cd5ec80c0c..0655c44564 100644 --- a/src/plugins/projectexplorer/target.h +++ b/src/plugins/projectexplorer/target.h @@ -59,7 +59,6 @@ class PROJECTEXPLORER_EXPORT Target : public ProjectConfiguration Q_OBJECT public: - Target(Project *parent, Kit *k); ~Target() override; Project *project() const; @@ -158,6 +157,7 @@ signals: void buildDirectoryChanged(); private: + Target(Project *parent, Kit *k); void setEnabled(bool); bool fromMap(const QVariantMap &map) override; @@ -169,7 +169,6 @@ private: void changeBuildConfigurationEnabled(); void changeDeployConfigurationEnabled(); void changeRunConfigurationEnabled(); - void handleKitUpdates(ProjectExplorer::Kit *k); void handleKitRemoval(ProjectExplorer::Kit *k); |