aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/createandroidmanifestwizard.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-02-13 14:03:37 +0100
committerhjk <hjk@qt.io>2020-02-18 11:56:23 +0000
commitb18fceb15dacf32fa3bbe7ff1448a9ca57a6693b (patch)
tree992e4c3fe90d81b8fe75421f519569c0022748ff /src/plugins/android/createandroidmanifestwizard.h
parent7ba45c66ff31c19169fe66bbc3906405e3ec5dd3 (diff)
Android: Pass BuildSystem to CreateAndroidManifectWizard
Instead of a Target and hoping that its activeBuildystem is the right one. Change-Id: Ieb384d89e8f580b24205ce46a38f151aa72e2f6e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/android/createandroidmanifestwizard.h')
-rw-r--r--src/plugins/android/createandroidmanifestwizard.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/android/createandroidmanifestwizard.h b/src/plugins/android/createandroidmanifestwizard.h
index 3a5080f67ec..28aac0fa790 100644
--- a/src/plugins/android/createandroidmanifestwizard.h
+++ b/src/plugins/android/createandroidmanifestwizard.h
@@ -41,7 +41,7 @@ namespace Utils {
class InfoLabel;
}
-namespace ProjectExplorer { class Target; }
+namespace ProjectExplorer { class BuildSystem; }
namespace Android {
@@ -92,7 +92,7 @@ class ANDROID_EXPORT CreateAndroidManifestWizard : public Utils::Wizard
{
Q_OBJECT
public:
- CreateAndroidManifestWizard(ProjectExplorer::Target *target);
+ CreateAndroidManifestWizard(ProjectExplorer::BuildSystem *buildSystem);
QString buildKey() const;
void setBuildKey(const QString &buildKey);
@@ -103,7 +103,7 @@ public:
void setDirectory(const QString &directory);
void setCopyGradle(bool copy);
- ProjectExplorer::Target *target() const;
+ ProjectExplorer::BuildSystem *buildSystem() const;
private:
enum CopyState {
@@ -115,7 +115,7 @@ private:
void createAndroidManifestFile();
void createAndroidTemplateFiles();
- ProjectExplorer::Target *m_target;
+ ProjectExplorer::BuildSystem *m_buildSystem;
QString m_buildKey;
QString m_directory;
CopyState m_copyState;