Commit 242b8393 authored by Fawzi Mohamed's avatar Fawzi Mohamed

ios: use QTC_OVERRIDE consistently

Change-Id: I154b70896b359e09f53607bedd968a5e7a0ab148
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 2d4cfc90
......@@ -52,7 +52,7 @@ class IosBuildStep : public ProjectExplorer::AbstractProcessStep
public:
IosBuildStep(ProjectExplorer::BuildStepList *parent);
~IosBuildStep();
~IosBuildStep() QTC_OVERRIDE;
bool init() QTC_OVERRIDE;
void run(QFutureInterface<bool> &fi) QTC_OVERRIDE;
......@@ -92,9 +92,9 @@ class IosBuildStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
public:
IosBuildStepConfigWidget(IosBuildStep *buildStep);
~IosBuildStepConfigWidget();
QString displayName() const;
QString summaryText() const;
~IosBuildStepConfigWidget() QTC_OVERRIDE;
QString displayName() const QTC_OVERRIDE;
QString summaryText() const QTC_OVERRIDE;
private slots:
void buildArgumentsChanged();
......
......@@ -36,6 +36,7 @@
#include <projectexplorer/buildstep.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <qtsupport/baseqtversion.h>
#include <utils/qtcoverride.h>
#include <QFutureInterface>
#include <QProcess>
......@@ -65,12 +66,12 @@ public:
friend class IosDeployStepFactory;
IosDeployStep(ProjectExplorer::BuildStepList *bc);
virtual ~IosDeployStep();
~IosDeployStep() QTC_OVERRIDE;
bool fromMap(const QVariantMap &map);
QVariantMap toMap() const;
bool fromMap(const QVariantMap &map) QTC_OVERRIDE;
QVariantMap toMap() const QTC_OVERRIDE;
virtual void run(QFutureInterface<bool> &fi);
void run(QFutureInterface<bool> &fi) QTC_OVERRIDE;
void cleanup();
ProjectExplorer::IDevice::ConstPtr device() const;
IosDevice::ConstPtr iosdevice() const;
......@@ -92,10 +93,10 @@ private slots:
private:
IosDeployStep(ProjectExplorer::BuildStepList *bc,
IosDeployStep *other);
bool init();
ProjectExplorer::BuildStepConfigWidget *createConfigWidget();
bool immutable() const { return true; }
bool runInGuiThread() const { return true; }
bool init() QTC_OVERRIDE;
ProjectExplorer::BuildStepConfigWidget *createConfigWidget() QTC_OVERRIDE;
bool immutable() const QTC_OVERRIDE { return true; }
bool runInGuiThread() const QTC_OVERRIDE { return true; }
void ctor();
QString deviceId() const;
......
......@@ -30,6 +30,7 @@
#define IOSDEPLOYSTEPWIDGET_H
#include <projectexplorer/buildstep.h>
#include <utils/qtcoverride.h>
QT_BEGIN_NAMESPACE
namespace Ui { class IosDeployStepWidget; }
......@@ -45,11 +46,11 @@ class IosDeployStepWidget : public ProjectExplorer::BuildStepConfigWidget
public:
IosDeployStepWidget(IosDeployStep *step);
~IosDeployStepWidget();
~IosDeployStepWidget() QTC_OVERRIDE;
private:
virtual QString summaryText() const;
virtual QString displayName() const;
QString summaryText() const QTC_OVERRIDE;
QString displayName() const QTC_OVERRIDE;
Ui::IosDeployStepWidget *ui;
IosDeployStep *m_step;
......
......@@ -29,11 +29,14 @@
#ifndef IOSDEVICE_H
#define IOSDEVICE_H
#include "iostoolhandler.h"
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/qtcoverride.h>
#include <QVariantMap>
#include <QMap>
#include <QString>
#include "iostoolhandler.h"
#include <QSharedPointer>
namespace ProjectExplorer{
......@@ -52,17 +55,17 @@ public:
typedef QSharedPointer<const IosDevice> ConstPtr;
typedef QSharedPointer<IosDevice> Ptr;
ProjectExplorer::IDevice::DeviceInfo deviceInformation() const;
ProjectExplorer::IDeviceWidget *createWidget();
QList<Core::Id> actionIds() const;
QString displayNameForActionId(Core::Id actionId) const;
void executeAction(Core::Id actionId, QWidget *parent = 0);
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const;
QString displayType() const;
ProjectExplorer::IDevice::Ptr clone() const;
void fromMap(const QVariantMap &map);
QVariantMap toMap() const;
ProjectExplorer::IDevice::DeviceInfo deviceInformation() const QTC_OVERRIDE;
ProjectExplorer::IDeviceWidget *createWidget() QTC_OVERRIDE;
QList<Core::Id> actionIds() const QTC_OVERRIDE;
QString displayNameForActionId(Core::Id actionId) const QTC_OVERRIDE;
void executeAction(Core::Id actionId, QWidget *parent = 0) QTC_OVERRIDE;
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const QTC_OVERRIDE;
QString displayType() const QTC_OVERRIDE;
ProjectExplorer::IDevice::Ptr clone() const QTC_OVERRIDE;
void fromMap(const QVariantMap &map) QTC_OVERRIDE;
QVariantMap toMap() const QTC_OVERRIDE;
QString uniqueDeviceID() const;
IosDevice(const QString &uid);
QString osVersion() const;
......
......@@ -30,10 +30,11 @@
#define IOSDEVICEFACTORY_H
#include <projectexplorer/devicesupport/idevicefactory.h>
#include <utils/qtcoverride.h>
#include <QTimer>
#include <QMap>
#include <QString>
#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
......
......@@ -30,6 +30,7 @@
#define IOSPLUGIN_H
#include <extensionsystem/iplugin.h>
#include <utils/qtcoverride.h>
namespace Ios {
......@@ -41,8 +42,8 @@ class IosPlugin : public ExtensionSystem::IPlugin
public:
IosPlugin();
bool initialize(const QStringList &arguments, QString *errorMessage);
void extensionsInitialized();
bool initialize(const QStringList &arguments, QString *errorMessage) QTC_OVERRIDE;
void extensionsInitialized() QTC_OVERRIDE;
private slots:
void kitsRestored();
};
......
......@@ -30,6 +30,7 @@
#define IOSQTVERSION_H
#include <qtsupport/baseqtversion.h>
#include <utils/qtcoverride.h>
#include <QCoreApplication>
......@@ -45,20 +46,20 @@ public:
IosQtVersion(const Utils::FileName &path, bool isAutodetected = false,
const QString &autodetectionSource = QString());
IosQtVersion *clone() const;
QString type() const;
bool isValid() const;
QString invalidReason() const;
IosQtVersion *clone() const QTC_OVERRIDE;
QString type() const QTC_OVERRIDE;
bool isValid() const QTC_OVERRIDE;
QString invalidReason() const QTC_OVERRIDE;
QList<ProjectExplorer::Abi> detectQtAbis() const;
QList<ProjectExplorer::Abi> detectQtAbis() const QTC_OVERRIDE;
void addToEnvironment(const ProjectExplorer::Kit *k, Utils::Environment &env) const;
void addToEnvironment(const ProjectExplorer::Kit *k, Utils::Environment &env) const QTC_OVERRIDE;
Core::FeatureSet availableFeatures() const;
QString platformName() const;
QString platformDisplayName() const;
Core::FeatureSet availableFeatures() const QTC_OVERRIDE;
QString platformName() const QTC_OVERRIDE;
QString platformDisplayName() const QTC_OVERRIDE;
QString description() const;
QString description() const QTC_OVERRIDE;
};
} // namespace Internal
......
......@@ -34,6 +34,7 @@
#include <projectexplorer/runconfiguration.h>
#include <utils/fileutils.h>
#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
......@@ -50,8 +51,8 @@ class IosRunConfiguration : public ProjectExplorer::RunConfiguration
public:
IosRunConfiguration(ProjectExplorer::Target *parent, Core::Id id, const QString &path);
QWidget *createConfigurationWidget();
Utils::OutputFormatter *createOutputFormatter() const;
QWidget *createConfigurationWidget() QTC_OVERRIDE;
Utils::OutputFormatter *createOutputFormatter() const QTC_OVERRIDE;
IosDeployStep *deployStep() const;
QStringList commandLineArguments();
......
......@@ -30,6 +30,7 @@
#define IOSRUNCONTROL_H
#include <projectexplorer/runconfiguration.h>
#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
......@@ -43,14 +44,14 @@ class IosRunControl : public ProjectExplorer::RunControl
public:
explicit IosRunControl(IosRunConfiguration *runConfig);
~IosRunControl();
~IosRunControl() QTC_OVERRIDE;
void start();
StopResult stop();
bool isRunning() const;
QString displayName() const;
QIcon icon() const;
void start() QTC_OVERRIDE;
StopResult stop() QTC_OVERRIDE;
bool isRunning() const QTC_OVERRIDE;
QString displayName() const QTC_OVERRIDE;
QIcon icon() const QTC_OVERRIDE;
private slots:
void handleRemoteProcessFinished(bool cleanEnd);
......
......@@ -64,11 +64,13 @@ public:
bool canHandle(ProjectExplorer::Target *t) const QTC_OVERRIDE;
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Target *t,
ProjectExplorer::Node *n) QTC_OVERRIDE;
ProjectExplorer::Node *n
) QTC_OVERRIDE;
private:
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent, const Core::Id id);
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent,
const Core::Id id) QTC_OVERRIDE;
ProjectExplorer::RunConfiguration *doRestore(ProjectExplorer::Target *parent,
const QVariantMap &map);
const QVariantMap &map) QTC_OVERRIDE;
};
class IosRunControlFactory : public ProjectExplorer::IRunControlFactory
......
......@@ -30,6 +30,7 @@
#define IOSSETTINGSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/qtcoverride.h>
#include <QPointer>
......@@ -45,9 +46,9 @@ class IosSettingsPage : public Core::IOptionsPage
public:
explicit IosSettingsPage(QObject *parent = 0);
QWidget *widget();
void apply();
void finish();
QWidget *widget() QTC_OVERRIDE;
void apply() QTC_OVERRIDE;
void finish() QTC_OVERRIDE;
private:
QPointer<IosSettingsWidget> m_widget;
......
......@@ -31,6 +31,7 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/fileutils.h>
#include <utils/qtcoverride.h>
#include <QSharedPointer>
......@@ -47,19 +48,19 @@ class IosSimulator : public ProjectExplorer::IDevice
public:
typedef QSharedPointer<const IosSimulator> ConstPtr;
typedef QSharedPointer<IosSimulator> Ptr;
ProjectExplorer::IDevice::DeviceInfo deviceInformation() const;
ProjectExplorer::IDevice::DeviceInfo deviceInformation() const QTC_OVERRIDE;
QString displayType() const;
ProjectExplorer::IDeviceWidget *createWidget();
QList<Core::Id> actionIds() const;
QString displayNameForActionId(Core::Id actionId) const;
void executeAction(Core::Id actionId, QWidget *parent = 0);
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const;
QString displayType() const QTC_OVERRIDE;
ProjectExplorer::IDeviceWidget *createWidget() QTC_OVERRIDE;
QList<Core::Id> actionIds() const QTC_OVERRIDE;
QString displayNameForActionId(Core::Id actionId) const QTC_OVERRIDE;
void executeAction(Core::Id actionId, QWidget *parent = 0) QTC_OVERRIDE;
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const QTC_OVERRIDE;
Utils::FileName simulatorPath() const;
void fromMap(const QVariantMap &map);
QVariantMap toMap() const;
void fromMap(const QVariantMap &map) QTC_OVERRIDE;
QVariantMap toMap() const QTC_OVERRIDE;
ProjectExplorer::IDevice::Ptr clone() const;
ProjectExplorer::IDevice::Ptr clone() const QTC_OVERRIDE;
protected:
friend class IosSimulatorFactory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment