forked from qt-creator/qt-creator
Android: Inline AndroidDeployStepWidget
BuildStepConfigWidget with manual tweaks is good enough. Also move AndroidDeployQtStepFactory to the usual place at the end of the file. Change-Id: I92af31ef77f986b6fcd84a14ac62b70e2da32ff2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -62,13 +62,11 @@ public:
|
||||
enum UninstallType {
|
||||
Keep,
|
||||
Uninstall,
|
||||
ForceUnintall
|
||||
ForceUninstall
|
||||
};
|
||||
|
||||
AndroidDeployQtStep(ProjectExplorer::BuildStepList *bc, Utils::Id id);
|
||||
|
||||
static Utils::Id stepId();
|
||||
|
||||
bool fromMap(const QVariantMap &map) override;
|
||||
QVariantMap toMap() const override;
|
||||
|
||||
@@ -77,7 +75,6 @@ public:
|
||||
|
||||
signals:
|
||||
void askForUninstall(DeployErrorCode errorCode);
|
||||
void setSerialNumber(const QString &serialNumber);
|
||||
|
||||
private:
|
||||
void runCommand(const Utils::CommandLine &command);
|
||||
@@ -87,7 +84,6 @@ private:
|
||||
void gatherFilesToPull();
|
||||
DeployErrorCode runDeploy();
|
||||
void slotAskForUninstall(DeployErrorCode errorCode);
|
||||
void slotSetSerialNumber(const QString &serialNumber);
|
||||
|
||||
bool runImpl();
|
||||
|
||||
@@ -99,9 +95,6 @@ private:
|
||||
void stdError(const QString &line);
|
||||
DeployErrorCode parseDeployErrors(QString &deployOutputLine) const;
|
||||
|
||||
void slotProcessFinished(int, QProcess::ExitStatus);
|
||||
void processFinished(int exitCode, QProcess::ExitStatus status);
|
||||
|
||||
friend void operator|=(DeployErrorCode &e1, const DeployErrorCode &e2) { e1 = static_cast<AndroidDeployQtStep::DeployErrorCode>((int)e1 | (int)e2); }
|
||||
friend DeployErrorCode operator|(const DeployErrorCode &e1, const DeployErrorCode &e2) { return static_cast<AndroidDeployQtStep::DeployErrorCode>((int)e1 | (int)e2); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user