aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/kit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/kit.h')
-rw-r--r--src/plugins/projectexplorer/kit.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/kit.h b/src/plugins/projectexplorer/kit.h
index 9c5551d8c61..ab9b1681f65 100644
--- a/src/plugins/projectexplorer/kit.h
+++ b/src/plugins/projectexplorer/kit.h
@@ -33,6 +33,8 @@
#include <QSet>
#include <QVariant>
+#include <memory>
+
namespace Utils {
class Environment;
class MacroExpander;
@@ -59,6 +61,8 @@ public:
using Predicate = std::function<bool(const Kit *)>;
explicit Kit(Core::Id id = Core::Id());
+ explicit Kit(const QVariantMap &data);
+ ~Kit();
// Do not trigger evaluations
void blockNotification();
@@ -127,9 +131,6 @@ public:
private:
void setSdkProvided(bool sdkProvided);
- ~Kit();
- Kit(const QVariantMap &data);
-
// Unimplemented.
Kit(const Kit &other);
void operator=(const Kit &other);
@@ -139,7 +140,7 @@ private:
QVariantMap toMap() const;
- Internal::KitPrivate *const d;
+ const std::unique_ptr<Internal::KitPrivate> d;
friend class KitInformation;
friend class KitManager;