summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2014-09-24 12:49:32 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2014-09-25 12:16:47 +0200
commit48f19e925b9af6fb0b22c8bd6c34a4778fe280a8 (patch)
treeb929e23cd0487100fa7f21234400b616231e4143
parent652c53bf06826bc347d5384b3da01c8a083b2118 (diff)
downloadqt-creator-48f19e925b9af6fb0b22c8bd6c34a4778fe280a8.tar.gz
Use Q_DECL_OVERRIDE instead of QTC_OVERRIDE
This patch removes src/libs/utils/qtcoverride.h and uses Q_DECL_OVERRIDE from Qt 5 instead. Change-Id: I61ffa539648ffe996dc061eec7708c04580c0f09 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
-rw-r--r--src/libs/qmljs/jsoncheck.h21
-rw-r--r--src/libs/qmljs/qmljsbind.h23
-rw-r--r--src/libs/qmljs/qmljscheck.h75
-rw-r--r--src/libs/qmljs/qmljscodeformatter.h5
-rw-r--r--src/libs/qmljs/qmljsdescribevalue.cpp10
-rw-r--r--src/libs/qmljs/qmljsdescribevalue.h22
-rw-r--r--src/libs/qmljs/qmljsevaluate.h183
-rw-r--r--src/libs/qmljs/qmljsimportdependencies.h1
-rw-r--r--src/libs/qmljs/qmljsinterpreter.h179
-rw-r--r--src/libs/qmljs/qmljsscopeastpath.h15
-rw-r--r--src/libs/qmljs/qmljssimplereader.h7
-rw-r--r--src/libs/qmljs/qmljsvalueowner.cpp2
-rw-r--r--src/libs/utils/qtcoverride.h41
-rw-r--r--src/libs/utils/utils-lib.pri1
-rw-r--r--src/plugins/beautifier/artisticstyle/artisticstyle.h7
-rw-r--r--src/plugins/beautifier/artisticstyle/artisticstyleoptionspage.h7
-rw-r--r--src/plugins/beautifier/artisticstyle/artisticstylesettings.h7
-rw-r--r--src/plugins/beautifier/beautifierplugin.h7
-rw-r--r--src/plugins/beautifier/clangformat/clangformat.h7
-rw-r--r--src/plugins/beautifier/clangformat/clangformatoptionspage.h7
-rw-r--r--src/plugins/beautifier/clangformat/clangformatsettings.h7
-rw-r--r--src/plugins/beautifier/configurationeditor.h7
-rw-r--r--src/plugins/beautifier/uncrustify/uncrustify.h7
-rw-r--r--src/plugins/beautifier/uncrustify/uncrustifyoptionspage.h7
-rw-r--r--src/plugins/beautifier/uncrustify/uncrustifysettings.h5
-rw-r--r--src/plugins/clangcodemodel/clangeditordocumentparser.h3
-rw-r--r--src/plugins/clangcodemodel/clangeditordocumentprocessor.h11
-rw-r--r--src/plugins/cppeditor/cppeditor.h31
-rw-r--r--src/plugins/cppeditor/cppquickfixassistant.h11
-rw-r--r--src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp11
-rw-r--r--src/plugins/cppeditor/cppvirtualfunctionassistprovider.h7
-rw-r--r--src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp2
-rw-r--r--src/plugins/cpptools/builtineditordocumentparser.h3
-rw-r--r--src/plugins/cpptools/builtineditordocumentprocessor.h11
-rw-r--r--src/plugins/cpptools/cppclassesfilter.h5
-rw-r--r--src/plugins/cpptools/cppcompletionassist.cpp17
-rw-r--r--src/plugins/cpptools/cppcompletionassist.h11
-rw-r--r--src/plugins/cpptools/cppcompletionassistprovider.h9
-rw-r--r--src/plugins/cpptools/cppfunctionsfilter.h5
-rw-r--r--src/plugins/cpptools/cppsemanticinfoupdater.cpp1
-rw-r--r--src/plugins/cpptools/cppsourceprocessor.h21
-rw-r--r--src/plugins/fakevim/fakevimplugin.cpp11
-rw-r--r--src/plugins/glsleditor/glslcompletionassist.cpp9
-rw-r--r--src/plugins/glsleditor/glslcompletionassist.h11
-rw-r--r--src/plugins/ios/iosbuildstep.h33
-rw-r--r--src/plugins/ios/iosdeployconfiguration.h19
-rw-r--r--src/plugins/ios/iosdeploystep.h15
-rw-r--r--src/plugins/ios/iosdeploystepfactory.h17
-rw-r--r--src/plugins/ios/iosdeploystepwidget.h5
-rw-r--r--src/plugins/ios/iosdevice.h25
-rw-r--r--src/plugins/ios/iosdevicefactory.h13
-rw-r--r--src/plugins/ios/iosdsymbuildstep.h39
-rw-r--r--src/plugins/ios/iosplugin.h5
-rw-r--r--src/plugins/ios/iosqtversion.h21
-rw-r--r--src/plugins/ios/iosqtversionfactory.h9
-rw-r--r--src/plugins/ios/iosrunconfiguration.h9
-rw-r--r--src/plugins/ios/iosruncontrol.h9
-rw-r--r--src/plugins/ios/iosrunfactories.h25
-rw-r--r--src/plugins/ios/iossettingspage.h7
-rw-r--r--src/plugins/ios/iossimulator.h23
-rw-r--r--src/plugins/ios/iossimulatorfactory.h13
-rw-r--r--src/plugins/qmakeprojectmanager/profilecompletionassist.h5
-rw-r--r--src/plugins/qmldesigner/components/componentcore/abstractactiongroup.h6
-rw-r--r--src/plugins/qmldesigner/components/debugview/debugview.h66
-rw-r--r--src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h2
-rw-r--r--src/plugins/qmldesigner/components/formeditor/dragtool.h36
-rw-r--r--src/plugins/qmldesigner/components/formeditor/formeditorview.h64
-rw-r--r--src/plugins/qmldesigner/components/formeditor/movetool.h32
-rw-r--r--src/plugins/qmldesigner/components/formeditor/resizetool.h32
-rw-r--r--src/plugins/qmldesigner/components/formeditor/selectiontool.h32
-rw-r--r--src/plugins/qmldesigner/components/integration/componentview.h64
-rw-r--r--src/plugins/qmldesigner/components/integration/designdocumentview.h50
-rw-r--r--src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.h70
-rw-r--r--src/plugins/qmldesigner/components/navigator/navigatorview.h66
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.h60
-rw-r--r--src/plugins/qmldesigner/components/stateseditor/stateseditorview.h68
-rw-r--r--src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.cpp2
-rw-r--r--src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h8
-rw-r--r--src/plugins/qmldesigner/designercore/include/nodeinstanceview.h66
-rw-r--r--src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h1
-rw-r--r--src/plugins/qmldesigner/designercore/include/rewriterview.h62
-rw-r--r--src/plugins/qmljseditor/qmljscompletionassist.cpp23
-rw-r--r--src/plugins/qmljseditor/qmljscompletionassist.h23
-rw-r--r--src/plugins/qmljseditor/qmljsquickfixassist.h11
-rw-r--r--src/plugins/qmljstools/qmljsmodelmanager.h11
-rw-r--r--src/plugins/texteditor/circularclipboardassist.cpp5
-rw-r--r--src/plugins/texteditor/circularclipboardassist.h5
-rw-r--r--src/plugins/texteditor/codeassist/assistinterface.h1
-rw-r--r--src/plugins/texteditor/codeassist/assistproposalitem.h1
-rw-r--r--src/plugins/texteditor/codeassist/completionassistprovider.h3
-rw-r--r--src/plugins/texteditor/codeassist/functionhintproposal.h13
-rw-r--r--src/plugins/texteditor/codeassist/functionhintproposalwidget.h23
-rw-r--r--src/plugins/texteditor/codeassist/genericproposal.h13
-rw-r--r--src/plugins/texteditor/codeassist/genericproposalmodel.h7
-rw-r--r--src/plugins/texteditor/codeassist/genericproposalwidget.h23
-rw-r--r--src/plugins/texteditor/codeassist/keywordscompletionassist.h15
-rw-r--r--src/plugins/texteditor/codeassist/quickfixassistprocessor.h3
-rw-r--r--src/tools/iostool/iosdevicemanager.cpp6
-rw-r--r--src/tools/iostool/iosdevicemanager.h4
-rw-r--r--src/tools/iostool/main.cpp4
100 files changed, 1004 insertions, 1119 deletions
diff --git a/src/libs/qmljs/jsoncheck.h b/src/libs/qmljs/jsoncheck.h
index 5bef0ad9d4..c4a010e105 100644
--- a/src/libs/qmljs/jsoncheck.h
+++ b/src/libs/qmljs/jsoncheck.h
@@ -37,7 +37,6 @@
#include <qmljs/qmljsstaticanalysismessage.h>
#include <utils/json.h>
-#include <utils/qtcoverride.h>
#include <QStack>
#include <QList>
@@ -54,16 +53,16 @@ public:
QList<StaticAnalysis::Message> operator()(Utils::JsonSchema *schema);
private:
- bool preVisit(AST::Node *) QTC_OVERRIDE;
- void postVisit(AST::Node *) QTC_OVERRIDE;
-
- bool visit(AST::ObjectLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::ArrayLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::NullExpression *ast) QTC_OVERRIDE;
- bool visit(AST::TrueLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::FalseLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::NumericLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::StringLiteral *ast) QTC_OVERRIDE;
+ bool preVisit(AST::Node *) Q_DECL_OVERRIDE;
+ void postVisit(AST::Node *) Q_DECL_OVERRIDE;
+
+ bool visit(AST::ObjectLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ArrayLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NullExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TrueLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FalseLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NumericLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StringLiteral *ast) Q_DECL_OVERRIDE;
struct AnalysisData
{
diff --git a/src/libs/qmljs/qmljsbind.h b/src/libs/qmljs/qmljsbind.h
index 7a453f3da3..790a341369 100644
--- a/src/libs/qmljs/qmljsbind.h
+++ b/src/libs/qmljs/qmljsbind.h
@@ -32,7 +32,6 @@
#include <qmljs/parser/qmljsastvisitor_p.h>
#include <qmljs/qmljsvalueowner.h>
-#include <utils/qtcoverride.h>
#include <QHash>
#include <QCoreApplication>
@@ -69,21 +68,21 @@ protected:
void accept(AST::Node *node);
- bool visit(AST::UiProgram *ast) QTC_OVERRIDE;
- bool visit(AST::Program *ast) QTC_OVERRIDE;
+ bool visit(AST::UiProgram *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Program *ast) Q_DECL_OVERRIDE;
// Ui
- bool visit(AST::UiImport *ast) QTC_OVERRIDE;
- bool visit(AST::UiPublicMember *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectDefinition *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiScriptBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiArrayBinding *ast) QTC_OVERRIDE;
+ bool visit(AST::UiImport *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiPublicMember *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectDefinition *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiScriptBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiArrayBinding *ast) Q_DECL_OVERRIDE;
// QML/JS
- bool visit(AST::FunctionDeclaration *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionExpression *ast) QTC_OVERRIDE;
- bool visit(AST::VariableDeclaration *ast) QTC_OVERRIDE;
+ bool visit(AST::FunctionDeclaration *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VariableDeclaration *ast) Q_DECL_OVERRIDE;
ObjectValue *switchObjectValue(ObjectValue *newObjectValue);
ObjectValue *bindObject(AST::UiQualifiedId *qualifiedTypeNameId, AST::UiObjectInitializer *initializer);
diff --git a/src/libs/qmljs/qmljscheck.h b/src/libs/qmljs/qmljscheck.h
index 00fa9c36fb..a4e3798152 100644
--- a/src/libs/qmljs/qmljscheck.h
+++ b/src/libs/qmljs/qmljscheck.h
@@ -34,7 +34,6 @@
#include <qmljs/qmljsscopechain.h>
#include <qmljs/qmljsstaticanalysismessage.h>
#include <qmljs/parser/qmljsastvisitor_p.h>
-#include <utils/qtcoverride.h>
#include <QCoreApplication>
#include <QSet>
@@ -61,43 +60,43 @@ public:
void disableMessage(StaticAnalysis::Type type);
protected:
- bool preVisit(AST::Node *ast) QTC_OVERRIDE;
- void postVisit(AST::Node *ast) QTC_OVERRIDE;
-
- bool visit(AST::UiProgram *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectDefinition *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiScriptBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiArrayBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiPublicMember *ast) QTC_OVERRIDE;
- bool visit(AST::IdentifierExpression *ast) QTC_OVERRIDE;
- bool visit(AST::FieldMemberExpression *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionDeclaration *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionExpression *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectInitializer *) QTC_OVERRIDE;
-
- bool visit(AST::BinaryExpression *ast) QTC_OVERRIDE;
- bool visit(AST::Block *ast) QTC_OVERRIDE;
- bool visit(AST::WithStatement *ast) QTC_OVERRIDE;
- bool visit(AST::VoidExpression *ast) QTC_OVERRIDE;
- bool visit(AST::Expression *ast) QTC_OVERRIDE;
- bool visit(AST::ExpressionStatement *ast) QTC_OVERRIDE;
- bool visit(AST::IfStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ForStatement *ast) QTC_OVERRIDE;
- bool visit(AST::LocalForStatement *ast) QTC_OVERRIDE;
- bool visit(AST::WhileStatement *ast) QTC_OVERRIDE;
- bool visit(AST::DoWhileStatement *ast) QTC_OVERRIDE;
- bool visit(AST::CaseBlock *ast) QTC_OVERRIDE;
- bool visit(AST::NewExpression *ast) QTC_OVERRIDE;
- bool visit(AST::NewMemberExpression *ast) QTC_OVERRIDE;
- bool visit(AST::CallExpression *ast) QTC_OVERRIDE;
- bool visit(AST::StatementList *ast) QTC_OVERRIDE;
- bool visit(AST::ReturnStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ThrowStatement *ast) QTC_OVERRIDE;
- bool visit(AST::DeleteExpression *ast) QTC_OVERRIDE;
- bool visit(AST::TypeOfExpression *ast) QTC_OVERRIDE;
-
- void endVisit(QmlJS::AST::UiObjectInitializer *) QTC_OVERRIDE;
+ bool preVisit(AST::Node *ast) Q_DECL_OVERRIDE;
+ void postVisit(AST::Node *ast) Q_DECL_OVERRIDE;
+
+ bool visit(AST::UiProgram *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectDefinition *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiScriptBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiArrayBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiPublicMember *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::IdentifierExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FieldMemberExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionDeclaration *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectInitializer *) Q_DECL_OVERRIDE;
+
+ bool visit(AST::BinaryExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Block *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::WithStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VoidExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Expression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ExpressionStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::IfStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ForStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::LocalForStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::WhileStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DoWhileStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CaseBlock *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NewExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NewMemberExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CallExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StatementList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ReturnStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ThrowStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DeleteExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TypeOfExpression *ast) Q_DECL_OVERRIDE;
+
+ void endVisit(QmlJS::AST::UiObjectInitializer *) Q_DECL_OVERRIDE;
private:
void visitQmlObject(AST::Node *ast, AST::UiQualifiedId *typeId,
diff --git a/src/libs/qmljs/qmljscodeformatter.h b/src/libs/qmljs/qmljscodeformatter.h
index 0652e5f0c2..5764ebe98c 100644
--- a/src/libs/qmljs/qmljscodeformatter.h
+++ b/src/libs/qmljs/qmljscodeformatter.h
@@ -34,7 +34,6 @@
#include "qmljsscanner.h"
-#include <utils/qtcoverride.h>
#include <QStack>
#include <QList>
#include <QVector>
@@ -324,8 +323,8 @@ public:
void setIndentSize(int size);
protected:
- void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const QTC_OVERRIDE;
- void adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const QTC_OVERRIDE;
+ void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const Q_DECL_OVERRIDE;
+ void adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const Q_DECL_OVERRIDE;
private:
int m_indentSize;
diff --git a/src/libs/qmljs/qmljsdescribevalue.cpp b/src/libs/qmljs/qmljsdescribevalue.cpp
index 9213646a84..572c056a8a 100644
--- a/src/libs/qmljs/qmljsdescribevalue.cpp
+++ b/src/libs/qmljs/qmljsdescribevalue.cpp
@@ -187,7 +187,7 @@ public:
return true;
}
- bool processProperty(const QString &name, const Value *value, const PropertyInfo &pInfo) QTC_OVERRIDE
+ bool processProperty(const QString &name, const Value *value, const PropertyInfo &pInfo) Q_DECL_OVERRIDE
{
d.dumpNewline();
d.dump(name);
@@ -200,19 +200,19 @@ public:
d.closeContext("");
return true;
}
- bool processEnumerator(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processEnumerator(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
return dump(name, value);
}
- bool processSignal(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processSignal(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
return dump(name, value);
}
- bool processSlot(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processSlot(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
return dump(name, value);
}
- bool processGeneratedSlot(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processGeneratedSlot(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
return dump(name, value);
}
diff --git a/src/libs/qmljs/qmljsdescribevalue.h b/src/libs/qmljs/qmljsdescribevalue.h
index 9707f303b4..2f6e14fad1 100644
--- a/src/libs/qmljs/qmljsdescribevalue.h
+++ b/src/libs/qmljs/qmljsdescribevalue.h
@@ -48,17 +48,17 @@ public:
virtual ~DescribeValueVisitor();
QString operator()(const Value *value);
- void visit(const NullValue *) QTC_OVERRIDE;
- void visit(const UndefinedValue *) QTC_OVERRIDE;
- void visit(const UnknownValue *) QTC_OVERRIDE;
- void visit(const NumberValue *) QTC_OVERRIDE;
- void visit(const BooleanValue *) QTC_OVERRIDE;
- void visit(const StringValue *) QTC_OVERRIDE;
- void visit(const ObjectValue *) QTC_OVERRIDE;
- void visit(const FunctionValue *) QTC_OVERRIDE;
- void visit(const Reference *) QTC_OVERRIDE;
- void visit(const ColorValue *) QTC_OVERRIDE;
- void visit(const AnchorLineValue *) QTC_OVERRIDE;
+ void visit(const NullValue *) Q_DECL_OVERRIDE;
+ void visit(const UndefinedValue *) Q_DECL_OVERRIDE;
+ void visit(const UnknownValue *) Q_DECL_OVERRIDE;
+ void visit(const NumberValue *) Q_DECL_OVERRIDE;
+ void visit(const BooleanValue *) Q_DECL_OVERRIDE;
+ void visit(const StringValue *) Q_DECL_OVERRIDE;
+ void visit(const ObjectValue *) Q_DECL_OVERRIDE;
+ void visit(const FunctionValue *) Q_DECL_OVERRIDE;
+ void visit(const Reference *) Q_DECL_OVERRIDE;
+ void visit(const ColorValue *) Q_DECL_OVERRIDE;
+ void visit(const AnchorLineValue *) Q_DECL_OVERRIDE;
QString description() const;
void basicDump(const char *baseName, const Value *value, bool opensContext);
void dumpNewline();
diff --git a/src/libs/qmljs/qmljsevaluate.h b/src/libs/qmljs/qmljsevaluate.h
index 4b73c94d3e..247aacea57 100644
--- a/src/libs/qmljs/qmljsevaluate.h
+++ b/src/libs/qmljs/qmljsevaluate.h
@@ -34,7 +34,6 @@
#include "qmljsdocument.h"
#include "qmljsscopechain.h"
-#include <utils/qtcoverride.h>
namespace QmlJS {
@@ -65,99 +64,99 @@ protected:
const Value *switchResult(const Value *result);
// Ui
- bool visit(AST::UiProgram *ast) QTC_OVERRIDE;
- bool visit(AST::UiHeaderItemList *ast) QTC_OVERRIDE;
- bool visit(AST::UiQualifiedPragmaId *ast) QTC_OVERRIDE;
- bool visit(AST::UiPragma *ast) QTC_OVERRIDE;
- bool visit(AST::UiImport *ast) QTC_OVERRIDE;
- bool visit(AST::UiPublicMember *ast) QTC_OVERRIDE;
- bool visit(AST::UiSourceElement *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectDefinition *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectInitializer *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiScriptBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiArrayBinding *ast) QTC_OVERRIDE;
- bool visit(AST::UiObjectMemberList *ast) QTC_OVERRIDE;
- bool visit(AST::UiArrayMemberList *ast) QTC_OVERRIDE;
- bool visit(AST::UiQualifiedId *ast) QTC_OVERRIDE;
+ bool visit(AST::UiProgram *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiHeaderItemList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiQualifiedPragmaId *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiPragma *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiImport *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiPublicMember *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiSourceElement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectDefinition *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectInitializer *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiScriptBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiArrayBinding *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectMemberList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiArrayMemberList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UiQualifiedId *ast) Q_DECL_OVERRIDE;
// QmlJS
- bool visit(AST::ThisExpression *ast) QTC_OVERRIDE;
- bool visit(AST::IdentifierExpression *ast) QTC_OVERRIDE;
- bool visit(AST::NullExpression *ast) QTC_OVERRIDE;
- bool visit(AST::TrueLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::FalseLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::StringLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::NumericLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::RegExpLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::ArrayLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::ObjectLiteral *ast) QTC_OVERRIDE;
- bool visit(AST::ElementList *ast) QTC_OVERRIDE;
- bool visit(AST::Elision *ast) QTC_OVERRIDE;
- bool visit(AST::PropertyAssignmentList *ast) QTC_OVERRIDE;
- bool visit(AST::PropertyGetterSetter *ast) QTC_OVERRIDE;
- bool visit(AST::PropertyNameAndValue *ast) QTC_OVERRIDE;
- bool visit(AST::NestedExpression *ast) QTC_OVERRIDE;
- bool visit(AST::IdentifierPropertyName *ast) QTC_OVERRIDE;
- bool visit(AST::StringLiteralPropertyName *ast) QTC_OVERRIDE;
- bool visit(AST::NumericLiteralPropertyName *ast) QTC_OVERRIDE;
- bool visit(AST::ArrayMemberExpression *ast) QTC_OVERRIDE;
- bool visit(AST::FieldMemberExpression *ast) QTC_OVERRIDE;
- bool visit(AST::NewMemberExpression *ast) QTC_OVERRIDE;
- bool visit(AST::NewExpression *ast) QTC_OVERRIDE;
- bool visit(AST::CallExpression *ast) QTC_OVERRIDE;
- bool visit(AST::ArgumentList *ast) QTC_OVERRIDE;
- bool visit(AST::PostIncrementExpression *ast) QTC_OVERRIDE;
- bool visit(AST::PostDecrementExpression *ast) QTC_OVERRIDE;
- bool visit(AST::DeleteExpression *ast) QTC_OVERRIDE;
- bool visit(AST::VoidExpression *ast) QTC_OVERRIDE;
- bool visit(AST::TypeOfExpression *ast) QTC_OVERRIDE;
- bool visit(AST::PreIncrementExpression *ast) QTC_OVERRIDE;
- bool visit(AST::PreDecrementExpression *ast) QTC_OVERRIDE;
- bool visit(AST::UnaryPlusExpression *ast) QTC_OVERRIDE;
- bool visit(AST::UnaryMinusExpression *ast) QTC_OVERRIDE;
- bool visit(AST::TildeExpression *ast) QTC_OVERRIDE;
- bool visit(AST::NotExpression *ast) QTC_OVERRIDE;
- bool visit(AST::BinaryExpression *ast) QTC_OVERRIDE;
- bool visit(AST::ConditionalExpression *ast) QTC_OVERRIDE;
- bool visit(AST::Expression *ast) QTC_OVERRIDE;
- bool visit(AST::Block *ast) QTC_OVERRIDE;
- bool visit(AST::StatementList *ast) QTC_OVERRIDE;
- bool visit(AST::VariableStatement *ast) QTC_OVERRIDE;
- bool visit(AST::VariableDeclarationList *ast) QTC_OVERRIDE;
- bool visit(AST::VariableDeclaration *ast) QTC_OVERRIDE;
- bool visit(AST::EmptyStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ExpressionStatement *ast) QTC_OVERRIDE;
- bool visit(AST::IfStatement *ast) QTC_OVERRIDE;
- bool visit(AST::DoWhileStatement *ast) QTC_OVERRIDE;
- bool visit(AST::WhileStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ForStatement *ast) QTC_OVERRIDE;
- bool visit(AST::LocalForStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ForEachStatement *ast) QTC_OVERRIDE;
- bool visit(AST::LocalForEachStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ContinueStatement *ast) QTC_OVERRIDE;
- bool visit(AST::BreakStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ReturnStatement *ast) QTC_OVERRIDE;
- bool visit(AST::WithStatement *ast) QTC_OVERRIDE;
- bool visit(AST::SwitchStatement *ast) QTC_OVERRIDE;
- bool visit(AST::CaseBlock *ast) QTC_OVERRIDE;
- bool visit(AST::CaseClauses *ast) QTC_OVERRIDE;
- bool visit(AST::CaseClause *ast) QTC_OVERRIDE;
- bool visit(AST::DefaultClause *ast) QTC_OVERRIDE;
- bool visit(AST::LabelledStatement *ast) QTC_OVERRIDE;
- bool visit(AST::ThrowStatement *ast) QTC_OVERRIDE;
- bool visit(AST::TryStatement *ast) QTC_OVERRIDE;
- bool visit(AST::Catch *ast) QTC_OVERRIDE;
- bool visit(AST::Finally *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionDeclaration *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionExpression *ast) QTC_OVERRIDE;
- bool visit(AST::FormalParameterList *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionBody *ast) QTC_OVERRIDE;
- bool visit(AST::Program *ast) QTC_OVERRIDE;
- bool visit(AST::SourceElements *ast) QTC_OVERRIDE;
- bool visit(AST::FunctionSourceElement *ast) QTC_OVERRIDE;
- bool visit(AST::StatementSourceElement *ast) QTC_OVERRIDE;
- bool visit(AST::DebuggerStatement *ast) QTC_OVERRIDE;
+ bool visit(AST::ThisExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::IdentifierExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NullExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TrueLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FalseLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StringLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NumericLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::RegExpLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ArrayLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ObjectLiteral *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ElementList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Elision *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PropertyAssignmentList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PropertyGetterSetter *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PropertyNameAndValue *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NestedExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::IdentifierPropertyName *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StringLiteralPropertyName *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NumericLiteralPropertyName *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ArrayMemberExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FieldMemberExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NewMemberExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NewExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CallExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ArgumentList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PostIncrementExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PostDecrementExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DeleteExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VoidExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TypeOfExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PreIncrementExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::PreDecrementExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UnaryPlusExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::UnaryMinusExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TildeExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::NotExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::BinaryExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ConditionalExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Expression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Block *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StatementList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VariableStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VariableDeclarationList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::VariableDeclaration *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::EmptyStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ExpressionStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::IfStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DoWhileStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::WhileStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ForStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::LocalForStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ForEachStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::LocalForEachStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ContinueStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::BreakStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ReturnStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::WithStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::SwitchStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CaseBlock *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CaseClauses *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::CaseClause *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DefaultClause *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::LabelledStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::ThrowStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::TryStatement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Catch *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Finally *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionDeclaration *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionExpression *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FormalParameterList *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionBody *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::Program *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::SourceElements *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionSourceElement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::StatementSourceElement *ast) Q_DECL_OVERRIDE;
+ bool visit(AST::DebuggerStatement *ast) Q_DECL_OVERRIDE;
private:
QmlJS::Document::Ptr _doc;
diff --git a/src/libs/qmljs/qmljsimportdependencies.h b/src/libs/qmljs/qmljsimportdependencies.h
index cabd0df9af..47b28fba4c 100644
--- a/src/libs/qmljs/qmljsimportdependencies.h
+++ b/src/libs/qmljs/qmljsimportdependencies.h
@@ -34,7 +34,6 @@
#include "qmljsdialect.h"
#include <languageutils/componentversion.h>
-#include <utils/qtcoverride.h>
#include <QObject>
#include <QString>
diff --git a/src/libs/qmljs/qmljsinterpreter.h b/src/libs/qmljs/qmljsinterpreter.h
index 405a2f7a71..ab08218572 100644
--- a/src/libs/qmljs/qmljsinterpreter.h
+++ b/src/libs/qmljs/qmljsinterpreter.h
@@ -34,7 +34,6 @@
#include <qmljs/qmljsconstants.h>
#include <qmljs/qmljsdocument.h>
#include <qmljs/qmljsimportdependencies.h>
-#include <utils/qtcoverride.h>
#include <QFileInfoList>
#include <QHash>
@@ -331,61 +330,61 @@ template <> Q_INLINE_TEMPLATE const ASTSignal *value_cast(const Value *v)
class QMLJS_EXPORT NullValue: public Value
{
public:
- const NullValue *asNullValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const NullValue *asNullValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT UndefinedValue: public Value
{
public:
- const UndefinedValue *asUndefinedValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const UndefinedValue *asUndefinedValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT UnknownValue: public Value
{
public:
- const UnknownValue *asUnknownValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *) const QTC_OVERRIDE;
+ const UnknownValue *asUnknownValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT NumberValue: public Value
{
public:
- const NumberValue *asNumberValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const NumberValue *asNumberValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT RealValue: public NumberValue
{
public:
- const RealValue *asRealValue() const QTC_OVERRIDE;
+ const RealValue *asRealValue() const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT IntValue: public NumberValue
{
public:
- const IntValue *asIntValue() const QTC_OVERRIDE;
+ const IntValue *asIntValue() const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT BooleanValue: public Value
{
public:
- const BooleanValue *asBooleanValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const BooleanValue *asBooleanValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT StringValue: public Value
{
public:
- const StringValue *asStringValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const StringValue *asStringValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT UrlValue: public StringValue
{
public:
- const UrlValue *asUrlValue() const QTC_OVERRIDE;
+ const UrlValue *asUrlValue() const Q_DECL_OVERRIDE;
};
class PropertyInfo {
@@ -453,8 +452,8 @@ public:
ValueOwner *valueOwner() const;
// Value interface
- const Reference *asReference() const QTC_OVERRIDE;
- void accept(ValueVisitor *) const QTC_OVERRIDE;
+ const Reference *asReference() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *) const Q_DECL_OVERRIDE;
private:
virtual const Value *value(ReferenceContext *referenceContext) const;
@@ -467,16 +466,16 @@ class QMLJS_EXPORT ColorValue: public Value
{
public:
// Value interface
- const ColorValue *asColorValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *) const QTC_OVERRIDE;
+ const ColorValue *asColorValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT AnchorLineValue: public Value
{
public:
// Value interface
- const AnchorLineValue *asAnchorLineValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *) const QTC_OVERRIDE;
+ const AnchorLineValue *asAnchorLineValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT PropertyData {
@@ -523,8 +522,8 @@ public:
{ return lookupMember(name, context.data(), foundInObject, examinePrototypes); }
// Value interface
- const ObjectValue *asObjectValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const ObjectValue *asObjectValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
QString originId() const
{ return m_originId; }
@@ -576,7 +575,7 @@ public:
QmlEnumValue(const CppComponentValue *owner, int index);
~QmlEnumValue();
- const QmlEnumValue *asQmlEnumValue() const QTC_OVERRIDE;
+ const QmlEnumValue *asQmlEnumValue() const Q_DECL_OVERRIDE;
QString name() const;
QStringList keys() const;
@@ -599,9 +598,9 @@ public:
ValueOwner *valueOwner, const QString &originId);
~CppComponentValue();
- const CppComponentValue *asCppComponentValue() const QTC_OVERRIDE;
+ const CppComponentValue *asCppComponentValue() const Q_DECL_OVERRIDE;
- void processMembers(MemberProcessor *processor) const QTC_OVERRIDE;
+ void processMembers(MemberProcessor *processor) const Q_DECL_OVERRIDE;
const Value *valueForCppName(const QString &typeName) const;
using ObjectValue::prototype;
@@ -670,8 +669,8 @@ public:
virtual const Value *argument(int index) const;
// Value interface
- const FunctionValue *asFunctionValue() const QTC_OVERRIDE;
- void accept(ValueVisitor *visitor) const QTC_OVERRIDE;
+ const FunctionValue *asFunctionValue() const Q_DECL_OVERRIDE;
+ void accept(ValueVisitor *visitor) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT Function: public FunctionValue
@@ -686,13 +685,13 @@ public:
void setOptionalNamedArgumentCount(int count);
// FunctionValue interface
- const Value *returnValue() const QTC_OVERRIDE;
- int namedArgumentCount() const QTC_OVERRIDE;
- int optionalNamedArgumentCount() const QTC_OVERRIDE;
- const Value *argument(int index) const QTC_OVERRIDE;
- QString argumentName(int index) const QTC_OVERRIDE;
- bool isVariadic() const QTC_OVERRIDE;
- const Function *asFunction() const QTC_OVERRIDE;
+ const Value *returnValue() const Q_DECL_OVERRIDE;
+ int namedArgumentCount() const Q_DECL_OVERRIDE;
+ int optionalNamedArgumentCount() const Q_DECL_OVERRIDE;
+ const Value *argument(int index) const Q_DECL_OVERRIDE;
+ QString argumentName(int index) const Q_DECL_OVERRIDE;
+ bool isVariadic() const Q_DECL_OVERRIDE;
+ const Function *asFunction() const Q_DECL_OVERRIDE;
private:
ValueList m_arguments;
@@ -784,13 +783,13 @@ public:
protected:
const Value *switchResult(const Value *value);
- void visit(const NullValue *) QTC_OVERRIDE;
- void visit(const UndefinedValue *) QTC_OVERRIDE;
- void visit(const NumberValue *) QTC_OVERRIDE;
- void visit(const BooleanValue *) QTC_OVERRIDE;
- void visit(const StringValue *) QTC_OVERRIDE;
- void visit(const ObjectValue *) QTC_OVERRIDE;
- void visit(const FunctionValue *) QTC_OVERRIDE;
+ void visit(const NullValue *) Q_DECL_OVERRIDE;
+ void visit(const UndefinedValue *) Q_DECL_OVERRIDE;
+ void visit(const NumberValue *) Q_DECL_OVERRIDE;
+ void visit(const BooleanValue *) Q_DECL_OVERRIDE;
+ void visit(const StringValue *) Q_DECL_OVERRIDE;
+ void visit(const ObjectValue *) Q_DECL_OVERRIDE;
+ void visit(const FunctionValue *) Q_DECL_OVERRIDE;
private:
ValueOwner *m_valueOwner;
@@ -807,13 +806,13 @@ public:
protected:
const Value *switchResult(const Value *value);
- void visit(const NullValue *) QTC_OVERRIDE;
- void visit(const UndefinedValue *) QTC_OVERRIDE;
- void visit(const NumberValue *) QTC_OVERRIDE;
- void visit(const BooleanValue *) QTC_OVERRIDE;
- void visit(const StringValue *) QTC_OVERRIDE;
- void visit(const ObjectValue *) QTC_OVERRIDE;
- void visit(const FunctionValue *) QTC_OVERRIDE;
+ void visit(const NullValue *) Q_DECL_OVERRIDE;
+ void visit(const UndefinedValue *) Q_DECL_OVERRIDE;
+ void visit(const NumberValue *) Q_DECL_OVERRIDE;
+ void visit(const BooleanValue *) Q_DECL_OVERRIDE;
+ void visit(const StringValue *) Q_DECL_OVERRIDE;
+ void visit(const ObjectValue *) Q_DECL_OVERRIDE;
+ void visit(const FunctionValue *) Q_DECL_OVERRIDE;
private:
ValueOwner *m_valueOwner;
@@ -830,13 +829,13 @@ public:
protected:
const Value *switchResult(const Value *value);
- void visit(const NullValue *) QTC_OVERRIDE;
- void visit(const UndefinedValue *) QTC_OVERRIDE;
- void visit(const NumberValue *) QTC_OVERRIDE;
- void visit(const BooleanValue *) QTC_OVERRIDE;
- void visit(const StringValue *) QTC_OVERRIDE;
- void visit(const ObjectValue *) QTC_OVERRIDE;
- void visit(const FunctionValue *) QTC_OVERRIDE;
+ void visit(const NullValue *) Q_DECL_OVERRIDE;
+ void visit(const UndefinedValue *) Q_DECL_OVERRIDE;
+ void visit(const NumberValue *) Q_DECL_OVERRIDE;
+ void visit(const BooleanValue *) Q_DECL_OVERRIDE;
+ void visit(const StringValue *) Q_DECL_OVERRIDE;
+ void visit(const ObjectValue *) Q_DECL_OVERRIDE;
+ void visit(const FunctionValue *) Q_DECL_OVERRIDE;
private:
ValueOwner *m_valueOwner;
@@ -851,15 +850,15 @@ public:
QString operator()(const Value *value);
protected:
- void visit(const NullValue *) QTC_OVERRIDE;
- void visit(const UndefinedValue *) QTC_OVERRIDE;
- void visit(const NumberValue *) QTC_OVERRIDE;
- void visit(const BooleanValue *) QTC_OVERRIDE;
- void visit(const StringValue *) QTC_OVERRIDE;
- void visit(const ObjectValue *object) QTC_OVERRIDE;
- void visit(const FunctionValue *object) QTC_OVERRIDE;
- void visit(const ColorValue *) QTC_OVERRIDE;
- void visit(const AnchorLineValue *) QTC_OVERRIDE;
+ void visit(const NullValue *) Q_DECL_OVERRIDE;
+ void visit(const UndefinedValue *) Q_DECL_OVERRIDE;
+ void visit(const NumberValue *) Q_DECL_OVERRIDE;
+ void visit(const BooleanValue *) Q_DECL_OVERRIDE;
+ void visit(const StringValue *) Q_DECL_OVERRIDE;
+ void visit(const ObjectValue *object) Q_DECL_OVERRIDE;
+ void visit(const FunctionValue *object) Q_DECL_OVERRIDE;
+ void visit(const ColorValue *) Q_DECL_OVERRIDE;
+ void visit(const AnchorLineValue *) Q_DECL_OVERRIDE;
};
// internal
@@ -869,12 +868,12 @@ public:
QmlPrototypeReference(AST::UiQualifiedId *qmlTypeName, const Document *doc, ValueOwner *valueOwner);
~QmlPrototypeReference();
- const QmlPrototypeReference *asQmlPrototypeReference() const QTC_OVERRIDE;
+ const QmlPrototypeReference *asQmlPrototypeReference() const Q_DECL_OVERRIDE;
AST::UiQualifiedId *qmlTypeName() const;
private:
- const Value *value(ReferenceContext *referenceContext) const QTC_OVERRIDE;
+ const Value *value(ReferenceContext *referenceContext) const Q_DECL_OVERRIDE;
AST::UiQualifiedId *m_qmlTypeName;
const Document *m_doc;
@@ -888,11 +887,11 @@ class QMLJS_EXPORT ASTVariableReference: public Reference
public:
ASTVariableReference(AST::VariableDeclaration *ast, const Document *doc, ValueOwner *valueOwner);
~ASTVariableReference();
- const ASTVariableReference *asAstVariableReference() const QTC_OVERRIDE;
+ const ASTVariableReference *asAstVariableReference() const Q_DECL_OVERRIDE;
const AST::VariableDeclaration *ast() const;
private:
- const Value *value(ReferenceContext *referenceContext) const QTC_OVERRIDE;
- bool getSourceLocation(QString *fileName, int *line, int *column) const QTC_OVERRIDE;
+ const Value *value(ReferenceContext *referenceContext) const Q_DECL_OVERRIDE;
+ bool getSourceLocation(QString *fileName, int *line, int *column) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT ASTFunctionValue: public FunctionValue
@@ -908,12 +907,12 @@ public:
AST::FunctionExpression *ast() const;
- int namedArgumentCount() const QTC_OVERRIDE;
- QString argumentName(int index) const QTC_OVERRIDE;
- bool isVariadic() const QTC_OVERRIDE;
- const ASTFunctionValue *asAstFunctionValue() const QTC_OVERRIDE;
+ int namedArgumentCount() const Q_DECL_OVERRIDE;
+ QString argumentName(int index) const Q_DECL_OVERRIDE;
+ bool isVariadic() const Q_DECL_OVERRIDE;
+ const ASTFunctionValue *asAstFunctionValue() const Q_DECL_OVERRIDE;
- bool getSourceLocation(QString *fileName, int *line, int *column) const QTC_OVERRIDE;
+ bool getSourceLocation(QString *fileName, int *line, int *column) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT ASTPropertyReference: public Reference
@@ -926,15 +925,15 @@ public:
ASTPropertyReference(AST::UiPublicMember *ast, const Document *doc, ValueOwner *valueOwner);
~ASTPropertyReference();
- const ASTPropertyReference *asAstPropertyReference() const QTC_OVERRIDE;
+ const ASTPropertyReference *asAstPropertyReference() const Q_DECL_OVERRIDE;
AST::UiPublicMember *ast() const { return m_ast; }
QString onChangedSlotName() const { return m_onChangedSlotName; }
- bool getSourceLocation(QString *fileName, int *line, int *column) const QTC_OVERRIDE;
+ bool getSourceLocation(QString *fileName, int *line, int *column) const Q_DECL_OVERRIDE;
private:
- const Value *value(ReferenceContext *referenceContext) const QTC_OVERRIDE;
+ const Value *value(ReferenceContext *referenceContext) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT ASTSignal: public FunctionValue
@@ -948,19 +947,19 @@ public:
ASTSignal(AST::UiPublicMember *ast, const Document *doc, ValueOwner *valueOwner);
~ASTSignal();
- const ASTSignal *asAstSignal() const QTC_OVERRIDE;
+ const ASTSignal *asAstSignal() const Q_DECL_OVERRIDE;
AST::UiPublicMember *ast() const { return m_ast; }
QString slotName() const { return m_slotName; }
const ObjectValue *bodyScope() const { return m_bodyScope; }
// FunctionValue interface
- int namedArgumentCount() const QTC_OVERRIDE;
- const Value *argument(int index) const QTC_OVERRIDE;
- QString argumentName(int index) const QTC_OVERRIDE;
+ int namedArgumentCount() const Q_DECL_OVERRIDE;
+ const Value *argument(int index) const Q_DECL_OVERRIDE;
+ QString argumentName(int index) const Q_DECL_OVERRIDE;
// Value interface
- bool getSourceLocation(QString *fileName, int *line, int *column) const QTC_OVERRIDE;
+ bool getSourceLocation(QString *fileName, int *line, int *column) const Q_DECL_OVERRIDE;
};
class QMLJS_EXPORT ASTObjectValue: public ObjectValue
@@ -979,10 +978,10 @@ public:
ValueOwner *valueOwner);
~ASTObjectValue();
- const ASTObjectValue *asAstObjectValue() const QTC_OVERRIDE;
+ const ASTObjectValue *asAstObjectValue() const Q_DECL_OVERRIDE;
bool getSourceLocation(QString *fileName, int *line, int *column) const;
- void processMembers(MemberProcessor *processor) const QTC_OVERRIDE;
+ void processMembers(MemberProcessor *processor) const Q_DECL_OVERRIDE;
QString defaultPropertyName() const;
@@ -1056,8 +1055,8 @@ public:
virtual const Value *lookupMember(const QString &name, const Context *context,
const ObjectValue **foundInObject = 0,
bool examinePrototypes = true) const;
- void processMembers(MemberProcessor *processor) const QTC_OVERRIDE;
- const TypeScope *asTypeScope() const QTC_OVERRIDE;
+ void processMembers(MemberProcessor *processor) const Q_DECL_OVERRIDE;
+ const TypeScope *asTypeScope() const Q_DECL_OVERRIDE;
private:
const Imports *m_imports;
};
@@ -1070,8 +1069,8 @@ public:
virtual const Value *lookupMember(const QString &name, const Context *context,
const ObjectValue **foundInObject = 0,
bool examinePrototypes = true) const;
- void processMembers(MemberProcessor *processor) const QTC_OVERRIDE;
- const JSImportScope *asJSImportScope() const QTC_OVERRIDE;
+ void processMembers(MemberProcessor *processor) const Q_DECL_OVERRIDE;
+ const JSImportScope *asJSImportScope() const Q_DECL_OVERRIDE;
private:
const Imports *m_imports;
};
diff --git a/src/libs/qmljs/qmljsscopeastpath.h b/src/libs/qmljs/qmljsscopeastpath.h
index bb190c5fa5..5688cd63c6 100644
--- a/src/libs/qmljs/qmljsscopeastpath.h
+++ b/src/libs/qmljs/qmljsscopeastpath.h
@@ -33,7 +33,6 @@
#include "qmljs_global.h"
#include "parser/qmljsastvisitor_p.h"
#include "qmljsdocument.h"
-#include <utils/qtcoverride.h>
namespace QmlJS {
@@ -49,13 +48,13 @@ protected:
using Visitor::visit;
- bool preVisit(AST::Node *node) QTC_OVERRIDE;
- bool visit(AST::UiPublicMember *node) QTC_OVERRIDE;
- bool visit(AST::UiScriptBinding *node) QTC_OVERRIDE;
- bool visit(AST::UiObjectDefinition *node) QTC_OVERRIDE;
- bool visit(AST::UiObjectBinding *node) QTC_OVERRIDE;
- bool visit(AST::FunctionDeclaration *node) QTC_OVERRIDE;
- bool visit(AST::FunctionExpression *node) QTC_OVERRIDE;
+ bool preVisit(AST::Node *node) Q_DECL_OVERRIDE;
+ bool visit(AST::UiPublicMember *node) Q_DECL_OVERRIDE;
+ bool visit(AST::UiScriptBinding *node) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectDefinition *node) Q_DECL_OVERRIDE;
+ bool visit(AST::UiObjectBinding *node) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionDeclaration *node) Q_DECL_OVERRIDE;
+ bool visit(AST::FunctionExpression *node) Q_DECL_OVERRIDE;
private:
bool containsOffset(AST::SourceLocation start, AST::SourceLocation end);
diff --git a/src/libs/qmljs/qmljssimplereader.h b/src/libs/qmljs/qmljssimplereader.h
index c7ee391543..3a68ad8323 100644
--- a/src/libs/qmljs/qmljssimplereader.h
+++ b/src/libs/qmljs/qmljssimplereader.h
@@ -33,7 +33,6 @@
#include <qmljs/qmljs_global.h>
#include <qmljs/parser/qmljsastfwd_p.h>
-#include <utils/qtcoverride.h>
#include <QHash>
#include <QList>
@@ -122,9 +121,9 @@ public:
SimpleReaderNode::Ptr readFromSource(const QString &source);
protected:
- void elementStart(const QString &name) QTC_OVERRIDE;
- void elementEnd() QTC_OVERRIDE;
- void propertyDefinition(const QString &name, const QVariant &value) QTC_OVERRIDE;
+ void elementStart(const QString &name) Q_DECL_OVERRIDE;
+ void elementEnd() Q_DECL_OVERRIDE;
+ void propertyDefinition(const QString &name, const QVariant &value) Q_DECL_OVERRIDE;
private:
SimpleReaderNode::Ptr m_rootNode;
diff --git a/src/libs/qmljs/qmljsvalueowner.cpp b/src/libs/qmljs/qmljsvalueowner.cpp
index 41cd4b2121..ffd6bbf45f 100644
--- a/src/libs/qmljs/qmljsvalueowner.cpp
+++ b/src/libs/qmljs/qmljsvalueowner.cpp
@@ -53,7 +53,7 @@ public:
QtObjectPrototypeReference(ValueOwner *owner)
: Reference(owner)
{}
- const QtObjectPrototypeReference *asQtObjectPrototypeReference() const QTC_OVERRIDE
+ const QtObjectPrototypeReference *asQtObjectPrototypeReference() const Q_DECL_OVERRIDE
{
return this;
}
diff --git a/src/libs/utils/qtcoverride.h b/src/libs/utils/qtcoverride.h
deleted file mode 100644
index d0cfb3f8e4..0000000000
--- a/src/libs/utils/qtcoverride.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of Qt Creator.
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Digia. For licensing terms and
-** conditions see http://qt.digia.com/licensing. For further information
-** use the contact form at http://qt.digia.com/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Digia gives you certain additional
-** rights. These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-****************************************************************************/
-
-#ifndef QTC_OVERRIDE_H
-#define QTC_OVERRIDE_H
-
-#include <qglobal.h>
-
-#ifdef Q_DECL_OVERRIDE
-#define QTC_OVERRIDE Q_DECL_OVERRIDE
-#else
-#define QTC_OVERRIDE
-#endif
-
-#endif // QTC_OVERRIDE_H
diff --git a/src/libs/utils/utils-lib.pri b/src/libs/utils/utils-lib.pri
index 60045d2f54..4647b5f1cc 100644
--- a/src/libs/utils/utils-lib.pri
+++ b/src/libs/utils/utils-lib.pri
@@ -176,7 +176,6 @@ HEADERS += \
$$PWD/tooltip/reuse.h \
$$PWD/tooltip/effects.h \
$$PWD/unixutils.h \
- $$PWD/qtcoverride.h \
$$PWD/ansiescapecodehandler.h \
$$PWD/execmenu.h \
$$PWD/completinglineedit.h \
diff --git a/src/plugins/beautifier/artisticstyle/artisticstyle.h b/src/plugins/beautifier/artisticstyle/artisticstyle.h
index 4217172fd4..abda7807d4 100644
--- a/src/plugins/beautifier/artisticstyle/artisticstyle.h
+++ b/src/plugins/beautifier/artisticstyle/artisticstyle.h
@@ -32,7 +32,6 @@
#include "../beautifierabstracttool.h"
-#include <utils/qtcoverride.h>
QT_FORWARD_DECLARE_CLASS(QAction)
@@ -52,9 +51,9 @@ class ArtisticStyle : public BeautifierAbstractTool
public:
explicit ArtisticStyle(BeautifierPlugin *parent = 0);
virtual ~ArtisticStyle();
- bool initialize() QTC_OVERRIDE;
- void updateActions(Core::IEditor *editor) QTC_OVERRIDE;
- QList<QObject *> autoReleaseObjects() QTC_OVERRIDE;
+ bool initialize() Q_DECL_OVERRIDE;
+ void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
+ QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
private slots:
void formatFile();
diff --git a/src/plugins/beautifier/artisticstyle/artisticstyleoptionspage.h b/src/plugins/beautifier/artisticstyle/artisticstyleoptionspage.h
index 95ee9be84d..24c5264957 100644
--- a/src/plugins/beautifier/artisticstyle/artisticstyleoptionspage.h
+++ b/src/plugins/beautifier/artisticstyle/artisticstyleoptionspage.h
@@ -31,7 +31,6 @@
#define BEAUTIFIER_ARTISTICSTYLEOPTIONSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
-#include <utils/qtcoverride.h>
#include <QPointer>
#include <QWidget>
@@ -65,9 +64,9 @@ class ArtisticStyleOptionsPage : public Core::IOptionsPage
public:
explicit ArtisticStyleOptionsPage(ArtisticStyleSettings *settings, QObject *parent = 0);
- QWidget *widget() QTC_OVERRIDE;
- void apply() QTC_OVERRIDE;
- void finish() QTC_OVERRIDE;
+ QWidget *widget() Q_DECL_OVERRIDE;
+ void apply() Q_DECL_OVERRIDE;
+ void finish() Q_DECL_OVERRIDE;
private:
QPointer<ArtisticStyleOptionsPageWidget> m_widget;
diff --git a/src/plugins/beautifier/artisticstyle/artisticstylesettings.h b/src/plugins/beautifier/artisticstyle/artisticstylesettings.h
index bd6b6fbf21..594128dd9b 100644
--- a/src/plugins/beautifier/artisticstyle/artisticstylesettings.h
+++ b/src/plugins/beautifier/artisticstyle/artisticstylesettings.h
@@ -32,7 +32,6 @@
#include "../abstractsettings.h"
-#include <utils/qtcoverride.h>
#include <QFuture>
#include <QFutureWatcher>
@@ -52,7 +51,7 @@ public:
ArtisticStyleSettings();
- void updateVersion() QTC_OVERRIDE;
+ void updateVersion() Q_DECL_OVERRIDE;
bool useOtherFiles() const;
void setUseOtherFiles(bool useOtherFiles);
@@ -66,8 +65,8 @@ public:
QString customStyle() const;
void setCustomStyle(const QString &customStyle);
- QString documentationFilePath() const QTC_OVERRIDE;
- void createDocumentationFile() const QTC_OVERRIDE;
+ QString documentationFilePath() const Q_DECL_OVERRIDE;
+ void createDocumentationFile() const Q_DECL_OVERRIDE;
private slots:
void helperSetVersion();
diff --git a/src/plugins/beautifier/beautifierplugin.h b/src/plugins/beautifier/beautifierplugin.h
index fb241ebd68..cfbaf69869 100644
--- a/src/plugins/beautifier/beautifierplugin.h
+++ b/src/plugins/beautifier/beautifierplugin.h
@@ -33,7 +33,6 @@
#include "command.h"
#include <extensionsystem/iplugin.h>
-#include <utils/qtcoverride.h>
#include <QFutureInterface>
#include <QPlainTextEdit>
@@ -73,9 +72,9 @@ class BeautifierPlugin : public ExtensionSystem::IPlugin
public:
BeautifierPlugin();
~BeautifierPlugin();
- bool initialize(const QStringList &arguments, QString *errorString) QTC_OVERRIDE;
- void extensionsInitialized() QTC_OVERRIDE;
- ShutdownFlag aboutToShutdown() QTC_OVERRIDE;
+ bool initialize(const QStringList &arguments, QString *errorString) Q_DECL_OVERRIDE;
+ void extensionsInitialized() Q_DECL_OVERRIDE;
+ ShutdownFlag aboutToShutdown() Q_DECL_OVERRIDE;
QString format(const QString &text, const Command &command, const QString &fileName,
bool *timeout = 0);
diff --git a/src/plugins/beautifier/clangformat/clangformat.h b/src/plugins/beautifier/clangformat/clangformat.h
index e92d52cfdd..cb646c77b2 100644
--- a/src/plugins/beautifier/clangformat/clangformat.h
+++ b/src/plugins/beautifier/clangformat/clangformat.h
@@ -33,7 +33,6 @@
#include "../beautifierabstracttool.h"
#include "../command.h"
-#include <utils/qtcoverride.h>
QT_FORWARD_DECLARE_CLASS(QAction)
@@ -53,9 +52,9 @@ class ClangFormat : public BeautifierAbstractTool
public:
explicit ClangFormat(BeautifierPlugin *parent = 0);
virtual ~ClangFormat();
- bool initialize() QTC_OVERRIDE;
- void updateActions(Core::IEditor *editor) QTC_OVERRIDE;
- QList<QObject *> autoReleaseObjects() QTC_OVERRIDE;
+ bool initialize() Q_DECL_OVERRIDE;
+ void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
+ QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
private slots:
void formatFile();
diff --git a/src/plugins/beautifier/clangformat/clangformatoptionspage.h b/src/plugins/beautifier/clangformat/clangformatoptionspage.h
index 25c0001d76..9e45ae8ff8 100644
--- a/src/plugins/beautifier/clangformat/clangformatoptionspage.h
+++ b/src/plugins/beautifier/clangformat/clangformatoptionspage.h
@@ -31,7 +31,6 @@
#define BEAUTIFIER_CLANGFORMATOPTIONSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
-#include <utils/qtcoverride.h>
#include <QPointer>
#include <QWidget>
@@ -65,9 +64,9 @@ class ClangFormatOptionsPage : public Core::IOptionsPage
public:
explicit ClangFormatOptionsPage(ClangFormatSettings *settings, QObject *parent = 0);
- QWidget *widget() QTC_OVERRIDE;
- void apply() QTC_OVERRIDE;
- void finish() QTC_OVERRIDE;
+ QWidget *widget() Q_DECL_OVERRIDE;
+ void apply() Q_DECL_OVERRIDE;
+ void finish() Q_DECL_OVERRIDE;
private:
QPointer<ClangFormatOptionsPageWidget> m_widget;
diff --git a/src/plugins/beautifier/clangformat/clangformatsettings.h b/src/plugins/beautifier/clangformat/clangformatsettings.h
index 39931d131c..a2004855be 100644
--- a/src/plugins/beautifier/clangformat/clangformatsettings.h
+++ b/src/plugins/beautifier/clangformat/clangformatsettings.h
@@ -32,7 +32,6 @@
#include "../abstractsettings.h"
-#include <utils/qtcoverride.h>
namespace Beautifier {
namespace Internal {
@@ -45,9 +44,9 @@ class ClangFormatSettings : public AbstractSettings
public:
explicit ClangFormatSettings();
- QString documentationFilePath() const QTC_OVERRIDE;
- void createDocumentationFile() const QTC_OVERRIDE;
- QStringList completerWords() QTC_OVERRIDE;
+ QString documentationFilePath() const Q_DECL_OVERRIDE;
+ void createDocumentationFile() const Q_DECL_OVERRIDE;
+ QStringList completerWords() Q_DECL_OVERRIDE;
bool usePredefinedStyle() const;
void setUsePredefinedStyle(bool usePredefinedStyle);
diff --git a/src/plugins/beautifier/configurationeditor.h b/src/plugins/beautifier/configurationeditor.h
index 4319fd6653..0638621955 100644
--- a/src/plugins/beautifier/configurationeditor.h
+++ b/src/plugins/beautifier/configurationeditor.h
@@ -30,7 +30,6 @@
#ifndef BEAUTIFIER_CONFIGURATIONEDITOR_H
#define BEAUTIFIER_CONFIGURATIONEDITOR_H
-#include <utils/qtcoverride.h>
#include <QPlainTextEdit>
#include <QRegExp>
@@ -61,7 +60,7 @@ public:
void setCommentExpression(const QRegExp &rx);
protected:
- void highlightBlock(const QString &text) QTC_OVERRIDE;
+ void highlightBlock(const QString &text) Q_DECL_OVERRIDE;
private:
QRegExp m_expressionKeyword;
@@ -80,8 +79,8 @@ public:
void setCommentExpression(const QRegExp &rx);
protected:
- bool eventFilter(QObject *object, QEvent *event) QTC_OVERRIDE;
- void keyPressEvent(QKeyEvent *event) QTC_OVERRIDE;
+ bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
private slots:
void insertCompleterText(const QString &text);
diff --git a/src/plugins/beautifier/uncrustify/uncrustify.h b/src/plugins/beautifier/uncrustify/uncrustify.h
index 93dba09d27..d798431111 100644
--- a/src/plugins/beautifier/uncrustify/uncrustify.h
+++ b/src/plugins/beautifier/uncrustify/uncrustify.h
@@ -32,7 +32,6 @@
#include "../beautifierabstracttool.h"
-#include <utils/qtcoverride.h>
QT_FORWARD_DECLARE_CLASS(QAction)
@@ -52,9 +51,9 @@ class Uncrustify : public BeautifierAbstractTool
public:
explicit Uncrustify(BeautifierPlugin *parent = 0);
virtual ~Uncrustify();
- bool initialize() QTC_OVERRIDE;
- void updateActions(Core::IEditor *editor) QTC_OVERRIDE;
- QList<QObject *> autoReleaseObjects() QTC_OVERRIDE;
+ bool initialize() Q_DECL_OVERRIDE;
+ void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
+ QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
private slots:
void formatFile();
diff --git a/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.h b/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.h
index e552ce9a72..e57c44ab18 100644
--- a/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.h
+++ b/src/plugins/beautifier/uncrustify/uncrustifyoptionspage.h
@@ -31,7 +31,6 @@
#define BEAUTIFIER_UNCRUSTIFYOPTIONSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
-#include <utils/qtcoverride.h>
#include <QPointer>
#include <QWidget>
@@ -65,9 +64,9 @@ class UncrustifyOptionsPage : public Core::IOptionsPage
public:
explicit UncrustifyOptionsPage(UncrustifySettings *settings, QObject *parent = 0);
- QWidget *widget() QTC_OVERRIDE;
- void apply() QTC_OVERRIDE;
- void finish() QTC_OVERRIDE;
+ QWidget *widget() Q_DECL_OVERRIDE;
+ void apply() Q_DECL_OVERRIDE;
+ void finish() Q_DECL_OVERRIDE;
private:
QPointer<UncrustifyOptionsPageWidget> m_widget;
diff --git a/src/plugins/beautifier/uncrustify/uncrustifysettings.h b/src/plugins/beautifier/uncrustify/uncrustifysettings.h
index 3398a64e1a..c6947b3d62 100644
--- a/src/plugins/beautifier/uncrustify/uncrustifysettings.h
+++ b/src/plugins/beautifier/uncrustify/uncrustifysettings.h
@@ -32,7 +32,6 @@
#include "../abstractsettings.h"
-#include <utils/qtcoverride.h>
namespace Beautifier {
namespace Internal {
@@ -55,8 +54,8 @@ public:
QString customStyle() const;
void setCustomStyle(const QString &customStyle);
- QString documentationFilePath() const QTC_OVERRIDE;
- void createDocumentationFile() const QTC_OVERRIDE;
+ QString documentationFilePath() const Q_DECL_OVERRIDE;
+ void createDocumentationFile() const Q_DECL_OVERRIDE;
};
} // namespace Uncrustify
diff --git a/src/plugins/clangcodemodel/clangeditordocumentparser.h b/src/plugins/clangcodemodel/clangeditordocumentparser.h
index 98017b6512..6507816327 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentparser.h
+++ b/src/plugins/clangcodemodel/clangeditordocumentparser.h
@@ -35,7 +35,6 @@
#include <cpptools/baseeditordocumentparser.h>
-#include <utils/qtcoverride.h>
namespace CppTools { class WorkingCopy; }
@@ -51,7 +50,7 @@ public:
public:
ClangEditorDocumentParser(const QString &filePath);
- void update(CppTools::WorkingCopy workingCopy) QTC_OVERRIDE;
+ void update(CppTools::WorkingCopy workingCopy) Q_DECL_OVERRIDE;
QList<Diagnostic> diagnostics() const;
QList<SemanticMarker::Range> ifdefedOutBlocks() const;
diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
index e66b46dd8f..1aa4df9085 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
+++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
@@ -36,7 +36,6 @@
#include <cpptools/builtineditordocumentprocessor.h>
#include <cpptools/semantichighlighter.h>
-#include <utils/qtcoverride.h>
#include <QFutureWatcher>
@@ -51,11 +50,11 @@ public:
~ClangEditorDocumentProcessor();
// BaseEditorDocumentProcessor interface
- void run() QTC_OVERRIDE;
- void semanticRehighlight(bool force) QTC_OVERRIDE;
- CppTools::SemanticInfo recalculateSemanticInfo() QTC_OVERRIDE;
- CppTools::BaseEditorDocumentParser *parser() QTC_OVERRIDE;
- bool isParserRunning() const QTC_OVERRIDE;
+ void run() Q_DECL_OVERRIDE;
+ void semanticRehighlight(bool force) Q_DECL_OVERRIDE;
+ CppTools::SemanticInfo recalculateSemanticInfo() Q_DECL_OVERRIDE;
+ CppTools::BaseEditorDocumentParser *parser() Q_DECL_OVERRIDE;
+ bool isParserRunning() const Q_DECL_OVERRIDE;
private slots:
void onParserFinished();
diff --git a/src/plugins/cppeditor/cppeditor.h b/src/plugins/cppeditor/cppeditor.h
index 0a62a08810..ae6170c011 100644
--- a/src/plugins/cppeditor/cppeditor.h
+++ b/src/plugins/cppeditor/cppeditor.h
@@ -34,7 +34,6 @@
#include <texteditor/basetexteditor.h>
-#include <utils/qtcoverride.h>
#include <QScopedPointer>
@@ -81,15 +80,15 @@ public:
TextEditor::AssistInterface *createAssistInterface(
TextEditor::AssistKind kind,
- TextEditor::AssistReason reason) const QTC_OVERRIDE;
+ TextEditor::AssistReason reason) const Q_DECL_OVERRIDE;
FollowSymbolUnderCursor *followSymbolUnderCursorDelegate(); // exposed for tests
- TextEditor::CompletionAssistProvider *completionAssistProvider() const QTC_OVERRIDE;
+ TextEditor::CompletionAssistProvider *completionAssistProvider() const Q_DECL_OVERRIDE;
public slots:
- void paste() QTC_OVERRIDE;
- void cut() QTC_OVERRIDE;
- void selectAll() QTC_OVERRIDE;
+ void paste() Q_DECL_OVERRIDE;
+ void cut() Q_DECL_OVERRIDE;
+ void selectAll() Q_DECL_OVERRIDE;
void switchDeclarationDefinition(bool inNextSplit);
void showPreProcessorWidget();
@@ -99,22 +98,22 @@ public slots:
void renameUsages(const QString &replacement = QString());
protected:
- bool event(QEvent *e) QTC_OVERRIDE;
- void contextMenuEvent(QContextMenuEvent *) QTC_OVERRIDE;
- void keyPressEvent(QKeyEvent *e) QTC_OVERRIDE;
+ bool event(QEvent *e) Q_DECL_OVERRIDE;
+ void contextMenuEvent(QContextMenuEvent *) Q_DECL_OVERRIDE;
+ void keyPressEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
- void applyFontSettings() QTC_OVERRIDE;
+ void applyFontSettings() Q_DECL_OVERRIDE;
- bool openLink(const Link &link, bool inNextSplit) QTC_OVERRIDE
+ bool openLink(const Link &link, bool inNextSplit) Q_DECL_OVERRIDE
{ return openCppEditorAt(link, inNextSplit); }
Link findLinkAt(const QTextCursor &, bool resolveTarget = true,
- bool inNextSplit = false) QTC_OVERRIDE;
+ bool inNextSplit = false) Q_DECL_OVERRIDE;
- void onRefactorMarkerClicked(const TextEditor::RefactorMarker &marker) QTC_OVERRIDE;
+ void onRefactorMarkerClicked(const TextEditor::RefactorMarker &marker) Q_DECL_OVERRIDE;
protected slots:
- void slotCodeStyleSettingsChanged(const QVariant &) QTC_OVERRIDE;
+ void slotCodeStyleSettingsChanged(const QVariant &) Q_DECL_OVERRIDE;
private slots:
void updateFunctionDeclDefLink();
@@ -138,8 +137,8 @@ private slots:
void processKeyNormally(QKeyEvent *e);
private:
- void finalizeInitialization() QTC_OVERRIDE;
- void finalizeInitializationAfterDuplication(BaseTextEditorWidget *other) QTC_OVERRIDE;
+ void finalizeInitialization() Q_DECL_OVERRIDE;
+ void finalizeInitializationAfterDuplication(BaseTextEditorWidget *other) Q_DECL_OVERRIDE;
static bool openCppEditorAt(const Link &, bool inNextSplit = false);
diff --git a/src/plugins/cppeditor/cppquickfixassistant.h b/src/plugins/cppeditor/cppquickfixassistant.h
index 3f61f41f49..d362c3fbde 100644
--- a/src/plugins/cppeditor/cppquickfixassistant.h
+++ b/src/plugins/cppeditor/cppquickfixassistant.h
@@ -37,7 +37,6 @@
#include <cplusplus/LookupContext.h>
-#include <utils/qtcoverride.h>
namespace CppTools {
class CppRefactoringFile;
@@ -79,7 +78,7 @@ class CppQuickFixAssistProcessor : public TextEditor::QuickFixAssistProcessor
public:
CppQuickFixAssistProcessor(const TextEditor::IAssistProvider *provider);
- const TextEditor::IAssistProvider *provider() const QTC_OVERRIDE;
+ const TextEditor::IAssistProvider *provider() const Q_DECL_OVERRIDE;
private:
const TextEditor::IAssistProvider *m_provider;
@@ -88,11 +87,11 @@ private:
class CppQuickFixAssistProvider : public TextEditor::QuickFixAssistProvider
{
public:
- bool isAsynchronous() const QTC_OVERRIDE;
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool isAsynchronous() const Q_DECL_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
- QList<TextEditor::QuickFixFactory *> quickFixFactories() const QTC_OVERRIDE;
+ QList<TextEditor::QuickFixFactory *> quickFixFactories() const Q_DECL_OVERRIDE;
};
} // Internal
diff --git a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
index dc33d8cc7f..129baeaa74 100644
--- a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
+++ b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
@@ -53,7 +53,6 @@
#include <texteditor/texteditorconstants.h>
#include <utils/qtcassert.h>
-#include <utils/qtcoverride.h>
using namespace CPlusPlus;
using namespace CppEditor::Internal;
@@ -89,7 +88,7 @@ protected:
return GenericProposalWidget::eventFilter(o, e);
}
- void showProposal(const QString &prefix) QTC_OVERRIDE
+ void showProposal(const QString &prefix) Q_DECL_OVERRIDE
{
GenericProposalModel *proposalModel = model();
if (proposalModel && proposalModel->size() == 1) {
@@ -112,9 +111,9 @@ public:
, m_openInSplit(openInSplit)
{}
- bool isFragile() const QTC_OVERRIDE { return true; }
+ bool isFragile() const Q_DECL_OVERRIDE { return true; }
- IAssistProposalWidget *createWidget() const QTC_OVERRIDE
+ IAssistProposalWidget *createWidget() const Q_DECL_OVERRIDE
{ return new VirtualFunctionProposalWidget(m_openInSplit); }
private:
@@ -128,7 +127,7 @@ public:
: m_params(params)
{}
- IAssistProposal *immediateProposal(const TextEditor::AssistInterface *) QTC_OVERRIDE
+ IAssistProposal *immediateProposal(const TextEditor::AssistInterface *) Q_DECL_OVERRIDE
{
QTC_ASSERT(m_params.function, return 0);
@@ -143,7 +142,7 @@ public:
return new VirtualFunctionProposal(m_params.cursorPosition, items, m_params.openInNextSplit);
}
- IAssistProposal *perform(const AssistInterface *assistInterface) QTC_OVERRIDE
+ IAssistProposal *perform(const AssistInterface *assistInterface) Q_DECL_OVERRIDE
{
delete assistInterface;
diff --git a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.h b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.h
index c07a2f71fa..e1caf70be0 100644
--- a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.h
+++ b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.h
@@ -36,7 +36,6 @@
#include <cplusplus/Symbols.h>
#include <cplusplus/TypeOfExpression.h>
-#include <utils/qtcoverride.h>
#include <QSharedPointer>
#include <QTextCursor>
@@ -64,9 +63,9 @@ public:
Parameters params() const { return m_params; }
void clearParams() { m_params = Parameters(); }
- bool isAsynchronous() const QTC_OVERRIDE;
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool isAsynchronous() const Q_DECL_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
private:
Parameters m_params;
diff --git a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
index adab84088e..2726ded2fd 100644
--- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
+++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
@@ -121,7 +121,7 @@ public:
// Invoke the processor already here to calculate the proposals. Return false in order to
// indicate that configure failed, so the actual code assist invocation leading to a pop-up
// will not happen.
- bool configure(const VirtualFunctionAssistProvider::Parameters &params) QTC_OVERRIDE
+ bool configure(const VirtualFunctionAssistProvider::Parameters &params) Q_DECL_OVERRIDE
{
VirtualFunctionAssistProvider::configure(params);
diff --git a/src/plugins/cpptools/builtineditordocumentparser.h b/src/plugins/cpptools/builtineditordocumentparser.h
index e951b09ef0..4287f714dd 100644
--- a/src/plugins/cpptools/builtineditordocumentparser.h
+++ b/src/plugins/cpptools/builtineditordocumentparser.h
@@ -35,7 +35,6 @@
#include "cppmodelmanager.h"
#include <cplusplus/CppDocument.h>
-#include <utils/qtcoverride.h>
#include <QMutex>
#include <QString>
@@ -49,7 +48,7 @@ class CPPTOOLS_EXPORT BuiltinEditorDocumentParser : public BaseEditorDocumentPar
public:
BuiltinEditorDocumentParser(const QString &filePath);
- void update(WorkingCopy workingCopy) QTC_OVERRIDE;
+ void update(WorkingCopy workingCopy) Q_DECL_OVERRIDE;
void releaseResources();
CPlusPlus::Document::Ptr document() const;
diff --git a/src/plugins/cpptools/builtineditordocumentprocessor.h b/src/plugins/cpptools/builtineditordocumentprocessor.h
index f82ca56e90..94c31e6112 100644
--- a/src/plugins/cpptools/builtineditordocumentprocessor.h
+++ b/src/plugins/cpptools/builtineditordocumentprocessor.h
@@ -36,7 +36,6 @@
#include "cpptools_global.h"
#include "semantichighlighter.h"
-#include <utils/qtcoverride.h>
namespace CppTools {
@@ -51,11 +50,11 @@ public:
~BuiltinEditorDocumentProcessor();
// BaseEditorDocumentProcessor interface
- void run() QTC_OVERRIDE;
- void semanticRehighlight(bool force) QTC_OVERRIDE;
- CppTools::SemanticInfo recalculateSemanticInfo() QTC_OVERRIDE;
- BaseEditorDocumentParser *parser() QTC_OVERRIDE;
- bool isParserRunning() const QTC_OVERRIDE;
+ void run() Q_DECL_OVERRIDE;
+ void semanticRehighlight(bool force) Q_DECL_OVERRIDE;
+ CppTools::SemanticInfo recalculateSemanticInfo() Q_DECL_OVERRIDE;
+ BaseEditorDocumentParser *parser() Q_DECL_OVERRIDE;
+ bool isParserRunning() const Q_DECL_OVERRIDE;
private:
void onParserFinished(CPlusPlus::Document::Ptr document, CPlusPlus::Snapshot snapshot);
diff --git a/src/plugins/cpptools/cppclassesfilter.h b/src/plugins/cpptools/cppclassesfilter.h
index d88c837565..2f63ab8ac9 100644
--- a/src/plugins/cpptools/cppclassesfilter.h
+++ b/src/plugins/cpptools/cppclassesfilter.h
@@ -34,7 +34,6 @@
#include "cpplocatordata.h"
#include "cpplocatorfilter.h"
-#include <utils/qtcoverride.h>
namespace CppTools {
@@ -48,8 +47,8 @@ public:
~CppClassesFilter();
protected:
- IndexItem::ItemType matchTypes() const QTC_OVERRIDE { return IndexItem::Class; }
- Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info) QTC_OVERRIDE;
+ IndexItem::ItemType matchTypes() const Q_DECL_OVERRIDE { return IndexItem::Class; }
+ Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info) Q_DECL_OVERRIDE;
};
} // namespace CppTools
diff --git a/src/plugins/cpptools/cppcompletionassist.cpp b/src/plugins/cpptools/cppcompletionassist.cpp
index 703a3aaff5..59cac54c10 100644
--- a/src/plugins/cpptools/cppcompletionassist.cpp
+++ b/src/plugins/cpptools/cppcompletionassist.cpp
@@ -49,7 +49,6 @@
#include <texteditor/completionsettings.h>
#include <utils/qtcassert.h>
-#include <utils/qtcoverride.h>
#include <cplusplus/BackwardsScanner.h>
#include <cplusplus/CppRewriter.h>
@@ -90,8 +89,8 @@ public:
CppAssistProposalItem() :
m_isOverloaded(false) {}
- bool prematurelyApplies(const QChar &c) const QTC_OVERRIDE;
- void applyContextualContent(BaseTextEditorWidget *editorWidget, int basePosition) const QTC_OVERRIDE;
+ bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE;
+ void applyContextualContent(BaseTextEditorWidget *editorWidget, int basePosition) const Q_DECL_OVERRIDE;
bool isOverloaded() const { return m_isOverloaded; }
void markAsOverloaded() { m_isOverloaded = true; }
@@ -350,10 +349,10 @@ public:
, m_typeOfExpression(typeOfExp)
{}
- void reset() QTC_OVERRIDE {}
- int size() const QTC_OVERRIDE { return m_functionSymbols.size(); }
- QString text(int index) const QTC_OVERRIDE;
- int activeArgument(const QString &prefix) const QTC_OVERRIDE;
+ void reset() Q_DECL_OVERRIDE {}
+ int size() const Q_DECL_OVERRIDE { return m_functionSymbols.size(); }
+ QString text(int index) const Q_DECL_OVERRIDE;
+ int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
private:
QList<Function *> m_functionSymbols;
@@ -439,8 +438,8 @@ public:
, m_replaceDotForArrow(static_cast<CppAssistProposalModel *>(model)->m_replaceDotForArrow)
{}
- bool isCorrective() const QTC_OVERRIDE { return m_replaceDotForArrow; }
- void makeCorrection(BaseTextEditorWidget *editorWidget) QTC_OVERRIDE;
+ bool isCorrective() const Q_DECL_OVERRIDE { return m_replaceDotForArrow; }
+ void makeCorrection(BaseTextEditorWidget *editorWidget) Q_DECL_OVERRIDE;
private:
bool m_replaceDotForArrow;
diff --git a/src/plugins/cpptools/cppcompletionassist.h b/src/plugins/cpptools/cppcompletionassist.h
index 5254acd7ef..a03405987b 100644
--- a/src/plugins/cpptools/cppcompletionassist.h
+++ b/src/plugins/cpptools/cppcompletionassist.h
@@ -44,7 +44,6 @@
#include <texteditor/codeassist/iassistprocessor.h>
#include <texteditor/snippets/snippetassistcollector.h>
-#include <utils/qtcoverride.h>
#include <QStringList>
#include <QVariant>
@@ -73,8 +72,8 @@ public:
m_typeOfExpression->setExpandTemplates(true);
}
- bool isSortable(const QString &prefix) const QTC_OVERRIDE;
- TextEditor::AssistProposalItem *proposalItem(int index) const QTC_OVERRIDE;
+ bool isSortable(const QString &prefix) const Q_DECL_OVERRIDE;
+ TextEditor::AssistProposalItem *proposalItem(int index) const Q_DECL_OVERRIDE;
unsigned m_completionOperator;
bool m_replaceDotForArrow;
@@ -86,14 +85,14 @@ class InternalCompletionAssistProvider : public CppCompletionAssistProvider
Q_OBJECT
public:
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
TextEditor::AssistInterface *createAssistInterface(
const QString &filePath,
QTextDocument *document,
bool isObjCEnabled,
int position,
- TextEditor::AssistReason reason) const QTC_OVERRIDE;
+ TextEditor::AssistReason reason) const Q_DECL_OVERRIDE;
};
class CppCompletionAssistProcessor : public TextEditor::IAssistProcessor
@@ -102,7 +101,7 @@ public:
CppCompletionAssistProcessor();
~CppCompletionAssistProcessor();
- TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) QTC_OVERRIDE;
+ TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) Q_DECL_OVERRIDE;
private:
TextEditor::IAssistProposal *createContentProposal();
diff --git a/src/plugins/cpptools/cppcompletionassistprovider.h b/src/plugins/cpptools/cppcompletionassistprovider.h
index 329055a4f9..7a9b7fdcd7 100644
--- a/src/plugins/cpptools/cppcompletionassistprovider.h
+++ b/src/plugins/cpptools/cppcompletionassistprovider.h
@@ -35,7 +35,6 @@
#include <texteditor/codeassist/assistenums.h>
#include <texteditor/codeassist/completionassistprovider.h>
-#include <utils/qtcoverride.h>
QT_BEGIN_NAMESPACE
class QTextDocument;
@@ -53,10 +52,10 @@ class CPPTOOLS_EXPORT CppCompletionAssistProvider : public TextEditor::Completio
Q_OBJECT
public:
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- int activationCharSequenceLength() const QTC_OVERRIDE;
- bool isActivationCharSequence(const QString &sequence) const QTC_OVERRIDE;
- bool isContinuationChar(const QChar &c) const QTC_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ int activationCharSequenceLength() const Q_DECL_OVERRIDE;
+ bool isActivationCharSequence(const QString &sequence) const Q_DECL_OVERRIDE;
+ bool isContinuationChar(const QChar &c) const Q_DECL_OVERRIDE;
virtual TextEditor::AssistInterface *createAssistInterface(
const QString &filePath,
diff --git a/src/plugins/cpptools/cppfunctionsfilter.h b/src/plugins/cpptools/cppfunctionsfilter.h
index fb112ef5c1..e075925caa 100644
--- a/src/plugins/cpptools/cppfunctionsfilter.h
+++ b/src/plugins/cpptools/cppfunctionsfilter.h
@@ -33,7 +33,6 @@
#include "cpplocatordata.h"
#include "cpplocatorfilter.h"
-#include <utils/qtcoverride.h>
namespace CppTools {
namespace Internal {
@@ -47,8 +46,8 @@ public:
~CppFunctionsFilter();
protected:
- IndexItem::ItemType matchTypes() const QTC_OVERRIDE { return IndexItem::Function; }
- Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info) QTC_OVERRIDE;
+ IndexItem::ItemType matchTypes() const Q_DECL_OVERRIDE { return IndexItem::Function; }
+ Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info) Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/cpptools/cppsemanticinfoupdater.cpp b/src/plugins/cpptools/cppsemanticinfoupdater.cpp
index dc8b4962ab..6c1cda731e 100644
--- a/src/plugins/cpptools/cppsemanticinfoupdater.cpp
+++ b/src/plugins/cpptools/cppsemanticinfoupdater.cpp
@@ -32,7 +32,6 @@
#include "cpplocalsymbols.h"
#include <utils/qtcassert.h>
-#include <utils/qtcoverride.h>
#include <utils/runextensions.h>
#include <cplusplus/Control.h>
diff --git a/src/plugins/cpptools/cppsourceprocessor.h b/src/plugins/cpptools/cppsourceprocessor.h
index 1843a8894d..e0a03d4bdf 100644
--- a/src/plugins/cpptools/cppsourceprocessor.h
+++ b/src/plugins/cpptools/cppsourceprocessor.h
@@ -35,7 +35,6 @@
#include <cplusplus/PreprocessorEnvironment.h>
#include <cplusplus/pp-engine.h>
-#include <utils/qtcoverride.h>
#include <QHash>
#include <QPointer>
@@ -96,22 +95,22 @@ private:
void mergeEnvironment(CPlusPlus::Document::Ptr doc);
// Client interface
- void macroAdded(const CPlusPlus::Macro &macro) QTC_OVERRIDE;
+ void macroAdded(const CPlusPlus::Macro &macro) Q_DECL_OVERRIDE;
void passedMacroDefinitionCheck(unsigned bytesOffset, unsigned utf16charsOffset,
- unsigned line, const CPlusPlus::Macro &macro) QTC_OVERRIDE;
+ unsigned line, const CPlusPlus::Macro &macro) Q_DECL_OVERRIDE;
void failedMacroDefinitionCheck(unsigned bytesOffset, unsigned utf16charOffset,
- const CPlusPlus::ByteArrayRef &name) QTC_OVERRIDE;
+ const CPlusPlus::ByteArrayRef &name) Q_DECL_OVERRIDE;
void notifyMacroReference(unsigned bytesOffset, unsigned utf16charOffset,
- unsigned line, const CPlusPlus::Macro &macro) QTC_OVERRIDE;
+ unsigned line, const CPlusPlus::Macro &macro) Q_DECL_OVERRIDE;
void startExpandingMacro(unsigned bytesOffset, unsigned utf16charOffset,
unsigned line, const CPlusPlus::Macro &macro,
- const QVector<CPlusPlus::MacroArgumentReference> &actuals) QTC_OVERRIDE;
- void stopExpandingMacro(unsigned bytesOffset, const CPlusPlus::Macro &macro) QTC_OVERRIDE;
- void markAsIncludeGuard(const QByteArray &macroName) QTC_OVERRIDE;
- void startSkippingBlocks(unsigned utf16charsOffset) QTC_OVERRIDE;
- void stopSkippingBlocks(unsigned utf16charsOffset) QTC_OVERRIDE;
+ const QVector<CPlusPlus::MacroArgumentReference> &actuals) Q_DECL_OVERRIDE;
+ void stopExpandingMacro(unsigned bytesOffset, const CPlusPlus::Macro &macro) Q_DECL_OVERRIDE;
+ void markAsIncludeGuard(const QByteArray &macroName) Q_DECL_OVERRIDE;
+ void startSkippingBlocks(unsigned utf16charsOffset) Q_DECL_OVERRIDE;
+ void stopSkippingBlocks(unsigned utf16charsOffset) Q_DECL_OVERRIDE;
void sourceNeeded(unsigned line, const QString &fileName, IncludeType type,
- const QStringList &initialIncludes) QTC_OVERRIDE;
+ const QStringList &initialIncludes) Q_DECL_OVERRIDE;
private:
CPlusPlus::Snapshot m_snapshot;
diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp
index ca9ceee8a8..1c49452e30 100644
--- a/src/plugins/fakevim/fakevimplugin.cpp
+++ b/src/plugins/fakevim/fakevimplugin.cpp
@@ -76,7 +76,6 @@
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/pathchooser.h>
-#include <utils/qtcoverride.h>
#include <utils/savedaction.h>
#include <utils/stylehelper.h>
@@ -888,18 +887,18 @@ public:
: m_provider(const_cast<FakeVimCompletionAssistProvider *>(provider))
{}
- bool implicitlyApplies() const QTC_OVERRIDE
+ bool implicitlyApplies() const Q_DECL_OVERRIDE
{
return false;
}
- bool prematurelyApplies(const QChar &c) const QTC_OVERRIDE
+ bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE
{
m_provider->appendNeedle(c);
return text() == m_provider->needle();
}
- void applyContextualContent(BaseTextEditorWidget *, int) const QTC_OVERRIDE
+ void applyContextualContent(BaseTextEditorWidget *, int) const Q_DECL_OVERRIDE
{
QTC_ASSERT(m_provider->handler(), return);
m_provider->handler()->handleReplay(text().mid(m_provider->needle().size()));
@@ -919,7 +918,7 @@ public:
loadContent(items);
}
- bool supportsPrefixExpansion() const QTC_OVERRIDE
+ bool supportsPrefixExpansion() const Q_DECL_OVERRIDE
{
return false;
}
@@ -932,7 +931,7 @@ public:
: m_provider(static_cast<const FakeVimCompletionAssistProvider *>(provider))
{}
- IAssistProposal *perform(const AssistInterface *interface) QTC_OVERRIDE
+ IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE
{
const QString &needle = m_provider->needle();
diff --git a/src/plugins/glsleditor/glslcompletionassist.cpp b/src/plugins/glsleditor/glslcompletionassist.cpp
index 0667185da5..accdef3c26 100644
--- a/src/plugins/glsleditor/glslcompletionassist.cpp
+++ b/src/plugins/glsleditor/glslcompletionassist.cpp
@@ -47,7 +47,6 @@
#include <cplusplus/ExpressionUnderCursor.h>
#include <utils/faketooltip.h>
-#include <utils/qtcoverride.h>
#include <QIcon>
#include <QPainter>
@@ -177,10 +176,10 @@ public:
, m_currentArg(-1)
{}
- void reset() QTC_OVERRIDE {}
- int size() const QTC_OVERRIDE { return m_items.size(); }
- QString text(int index) const QTC_OVERRIDE;
- int activeArgument(const QString &prefix) const QTC_OVERRIDE;
+ void reset() Q_DECL_OVERRIDE {}
+ int size() const Q_DECL_OVERRIDE { return m_items.size(); }
+ QString text(int index) const Q_DECL_OVERRIDE;
+ int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
private:
QVector<GLSL::Function *> m_items;
diff --git a/src/plugins/glsleditor/glslcompletionassist.h b/src/plugins/glsleditor/glslcompletionassist.h
index 2cb41d7df0..786ea49396 100644
--- a/src/plugins/glsleditor/glslcompletionassist.h
+++ b/src/plugins/glsleditor/glslcompletionassist.h
@@ -37,7 +37,6 @@
#include <texteditor/codeassist/assistinterface.h>
#include <texteditor/codeassist/ifunctionhintproposalmodel.h>
-#include <utils/qtcoverride.h>
#include <QIcon>
#include <QScopedPointer>
@@ -91,11 +90,11 @@ class GlslCompletionAssistProvider : public TextEditor::CompletionAssistProvider
Q_OBJECT
public:
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
- int activationCharSequenceLength() const QTC_OVERRIDE;
- bool isActivationCharSequence(const QString &sequence) const QTC_OVERRIDE;
+ int activationCharSequenceLength() const Q_DECL_OVERRIDE;
+ bool isActivationCharSequence(const QString &sequence) const Q_DECL_OVERRIDE;
};
class GlslCompletionAssistProcessor : public TextEditor::IAssistProcessor
@@ -104,7 +103,7 @@ public:
GlslCompletionAssistProcessor();
~GlslCompletionAssistProcessor();
- TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) QTC_OVERRIDE;
+ TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) Q_DECL_OVERRIDE;
private:
TextEditor::IAssistProposal *createHintProposal(const QVector<GLSL::Function *> &symbols);
diff --git a/src/plugins/ios/iosbuildstep.h b/src/plugins/ios/iosbuildstep.h
index 7081e6212d..92140db843 100644
--- a/src/plugins/ios/iosbuildstep.h
+++ b/src/plugins/ios/iosbuildstep.h
@@ -30,7 +30,6 @@
#define IOSBUILDSTEP_H
#include <projectexplorer/abstractprocessstep.h>
-#include <utils/qtcoverride.h>
QT_BEGIN_NAMESPACE
class QListWidgetItem;
@@ -54,11 +53,11 @@ public:
IosBuildStep(ProjectExplorer::BuildStepList *parent);
~IosBuildStep();
- bool init() QTC_OVERRIDE;
- void run(QFutureInterface<bool> &fi) QTC_OVERRIDE;
+ bool init() Q_DECL_OVERRIDE;
+ void run(QFutureInterface<bool> &fi) Q_DECL_OVERRIDE;
- ProjectExplorer::BuildStepConfigWidget *createConfigWidget() QTC_OVERRIDE;
- bool immutable() const QTC_OVERRIDE;
+ ProjectExplorer::BuildStepConfigWidget *createConfigWidget() Q_DECL_OVERRIDE;
+ bool immutable() const Q_DECL_OVERRIDE;
void setBaseArguments(const QStringList &args);
void setExtraArguments(const QStringList &extraArgs);
QStringList baseArguments() const;
@@ -69,11 +68,11 @@ public:
void setClean(bool clean);
bool isClean() const;
- QVariantMap toMap() const QTC_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
protected:
IosBuildStep(ProjectExplorer::BuildStepList *parent, IosBuildStep *bs);
IosBuildStep(ProjectExplorer::BuildStepList *parent, Core::Id id);
- bool fromMap(const QVariantMap &map) QTC_OVERRIDE;
+ bool fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
private:
void ctor();
@@ -92,8 +91,8 @@ class IosBuildStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
public:
IosBuildStepConfigWidget(IosBuildStep *buildStep);
~IosBuildStepConfigWidget();
- QString displayName() const QTC_OVERRIDE;
- QString summaryText() const QTC_OVERRIDE;
+ QString displayName() const Q_DECL_OVERRIDE;
+ QString summaryText() const Q_DECL_OVERRIDE;
private slots:
void buildArgumentsChanged();
@@ -114,18 +113,18 @@ class IosBuildStepFactory : public ProjectExplorer::IBuildStepFactory
public:
explicit IosBuildStepFactory(QObject *parent = 0);
- bool canCreate(ProjectExplorer::BuildStepList *parent, Core::Id id) const QTC_OVERRIDE;
- ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) QTC_OVERRIDE;
+ bool canCreate(ProjectExplorer::BuildStepList *parent, Core::Id id) const Q_DECL_OVERRIDE;
+ ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) Q_DECL_OVERRIDE;
bool canClone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *source) const QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *source) const Q_DECL_OVERRIDE;
ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *source) QTC_OVERRIDE;
- bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *source) Q_DECL_OVERRIDE;
+ bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const Q_DECL_OVERRIDE;
ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildStepList *parent,
- const QVariantMap &map) QTC_OVERRIDE;
+ const QVariantMap &map) Q_DECL_OVERRIDE;
- QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *bc) const QTC_OVERRIDE;
- QString displayNameForId(Core::Id id) const QTC_OVERRIDE;
+ QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *bc) const Q_DECL_OVERRIDE;
+ QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosdeployconfiguration.h b/src/plugins/ios/iosdeployconfiguration.h
index e3f90a9283..8f5bb3210f 100644
--- a/src/plugins/ios/iosdeployconfiguration.h
+++ b/src/plugins/ios/iosdeployconfiguration.h
@@ -30,7 +30,6 @@
#define IOSDEPLOYCONFIGURATION_H
#include <projectexplorer/deployconfiguration.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -59,22 +58,22 @@ class IosDeployConfigurationFactory : public ProjectExplorer::DeployConfiguratio
public:
explicit IosDeployConfigurationFactory(QObject *parent = 0);
- bool canCreate(ProjectExplorer::Target *parent, Core::Id id) const QTC_OVERRIDE;
- ProjectExplorer::DeployConfiguration *create(ProjectExplorer::Target *parent, Core::Id id) QTC_OVERRIDE;
- bool canRestore(ProjectExplorer::Target *parent, const QVariantMap &map) const QTC_OVERRIDE;
+ bool canCreate(ProjectExplorer::Target *parent, Core::Id id) const Q_DECL_OVERRIDE;
+ ProjectExplorer::DeployConfiguration *create(ProjectExplorer::Target *parent, Core::Id id) Q_DECL_OVERRIDE;
+ bool canRestore(ProjectExplorer::Target *parent, const QVariantMap &map) const Q_DECL_OVERRIDE;
ProjectExplorer::DeployConfiguration *restore(ProjectExplorer::Target *parent,
- const QVariantMap &map) QTC_OVERRIDE;
+ const QVariantMap &map) Q_DECL_OVERRIDE;
bool canClone(ProjectExplorer::Target *parent,
- ProjectExplorer::DeployConfiguration *source) const QTC_OVERRIDE;
+ ProjectExplorer::DeployConfiguration *source) const Q_DECL_OVERRIDE;
ProjectExplorer::DeployConfiguration *clone(ProjectExplorer::Target *parent,
- ProjectExplorer::DeployConfiguration *source) QTC_OVERRIDE;
+ ProjectExplorer::DeployConfiguration *source) Q_DECL_OVERRIDE;
- QList<Core::Id> availableCreationIds(ProjectExplorer::Target *parent) const QTC_OVERRIDE;
+ QList<Core::Id> availableCreationIds(ProjectExplorer::Target *parent) const Q_DECL_OVERRIDE;
// used to translate the ids to names to display to the user
- QString displayNameForId(Core::Id id) const QTC_OVERRIDE;
+ QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
private:
- bool canHandle(ProjectExplorer::Target *parent) const QTC_OVERRIDE;
+ bool canHandle(ProjectExplorer::Target *parent) const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosdeploystep.h b/src/plugins/ios/iosdeploystep.h
index a5e55bd5e0..b65885772e 100644
--- a/src/plugins/ios/iosdeploystep.h
+++ b/src/plugins/ios/iosdeploystep.h
@@ -36,7 +36,6 @@
#include <projectexplorer/buildstep.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <qtsupport/baseqtversion.h>
-#include <utils/qtcoverride.h>
#include <QFutureInterface>
#include <QProcess>
@@ -68,10 +67,10 @@ public:
~IosDeployStep();
- bool fromMap(const QVariantMap &map) QTC_OVERRIDE;
- QVariantMap toMap() const QTC_OVERRIDE;
+ bool fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
- void run(QFutureInterface<bool> &fi) QTC_OVERRIDE;
+ void run(QFutureInterface<bool> &fi) Q_DECL_OVERRIDE;
void cleanup();
void cancel();
signals:
@@ -90,10 +89,10 @@ private slots:
private:
IosDeployStep(ProjectExplorer::BuildStepList *bc,
IosDeployStep *other);
- bool init() QTC_OVERRIDE;
- ProjectExplorer::BuildStepConfigWidget *createConfigWidget() QTC_OVERRIDE;
- bool immutable() const QTC_OVERRIDE { return true; }
- bool runInGuiThread() const QTC_OVERRIDE { return true; }
+ bool init() Q_DECL_OVERRIDE;
+ ProjectExplorer::BuildStepConfigWidget *createConfigWidget() Q_DECL_OVERRIDE;
+ bool immutable() const Q_DECL_OVERRIDE { return true; }
+ bool runInGuiThread() const Q_DECL_OVERRIDE { return true; }
ProjectExplorer::IDevice::ConstPtr device() const;
IosDevice::ConstPtr iosdevice() const;
IosSimulator::ConstPtr iossimulator() const;
diff --git a/src/plugins/ios/iosdeploystepfactory.h b/src/plugins/ios/iosdeploystepfactory.h
index e6288e981f..9b23d4b89e 100644
--- a/src/plugins/ios/iosdeploystepfactory.h
+++ b/src/plugins/ios/iosdeploystepfactory.h
@@ -30,7 +30,6 @@
#define IOSDEPLOYSTEPFACTORY_H
#include <projectexplorer/buildstep.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -41,20 +40,20 @@ class IosDeployStepFactory : public ProjectExplorer::IBuildStepFactory
public:
explicit IosDeployStepFactory(QObject *parent = 0);
- QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *parent) const QTC_OVERRIDE;
- QString displayNameForId(Core::Id id) const QTC_OVERRIDE;
+ QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *parent) const Q_DECL_OVERRIDE;
+ QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
bool canCreate(ProjectExplorer::BuildStepList *parent,
- Core::Id id) const QTC_OVERRIDE;
- ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) QTC_OVERRIDE;
+ Core::Id id) const Q_DECL_OVERRIDE;
+ ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) Q_DECL_OVERRIDE;
- bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const QTC_OVERRIDE;
- ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) QTC_OVERRIDE;
+ bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const Q_DECL_OVERRIDE;
+ ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) Q_DECL_OVERRIDE;
bool canClone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *product) const QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *product) const Q_DECL_OVERRIDE;
ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *product) QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *product) Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosdeploystepwidget.h b/src/plugins/ios/iosdeploystepwidget.h
index ca4100543c..1195a5c5c8 100644
--- a/src/plugins/ios/iosdeploystepwidget.h
+++ b/src/plugins/ios/iosdeploystepwidget.h
@@ -30,7 +30,6 @@
#define IOSDEPLOYSTEPWIDGET_H
#include <projectexplorer/buildstep.h>
-#include <utils/qtcoverride.h>
QT_BEGIN_NAMESPACE
namespace Ui { class IosDeployStepWidget; }
@@ -49,8 +48,8 @@ public:
~IosDeployStepWidget();
private:
- QString summaryText() const QTC_OVERRIDE;
- QString displayName() const QTC_OVERRIDE;
+ QString summaryText() const Q_DECL_OVERRIDE;
+ QString displayName() const Q_DECL_OVERRIDE;
Ui::IosDeployStepWidget *ui;
IosDeployStep *m_step;
diff --git a/src/plugins/ios/iosdevice.h b/src/plugins/ios/iosdevice.h
index 10ff7cc97f..00933ed0ec 100644
--- a/src/plugins/ios/iosdevice.h
+++ b/src/plugins/ios/iosdevice.h
@@ -32,7 +32,6 @@
#include "iostoolhandler.h"
#include <projectexplorer/devicesupport/idevice.h>
-#include <utils/qtcoverride.h>
#include <QVariantMap>
#include <QMap>
@@ -57,22 +56,22 @@ public:
typedef QSharedPointer<const IosDevice> ConstPtr;
typedef QSharedPointer<IosDevice> Ptr;
- 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;
+ ProjectExplorer::IDevice::DeviceInfo deviceInformation() const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDeviceWidget *createWidget() Q_DECL_OVERRIDE;
+ QList<Core::Id> actionIds() const Q_DECL_OVERRIDE;
+ QString displayNameForActionId(Core::Id actionId) const Q_DECL_OVERRIDE;
+ void executeAction(Core::Id actionId, QWidget *parent = 0) Q_DECL_OVERRIDE;
+ ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const Q_DECL_OVERRIDE;
+ QString displayType() const Q_DECL_OVERRIDE;
+
+ ProjectExplorer::IDevice::Ptr clone() const Q_DECL_OVERRIDE;
+ void fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
QString uniqueDeviceID() const;
IosDevice(const QString &uid);
QString osVersion() const;
quint16 nextPort() const;
- bool canAutoDetectPorts() const QTC_OVERRIDE;
+ bool canAutoDetectPorts() const Q_DECL_OVERRIDE;
static QString name();
diff --git a/src/plugins/ios/iosdevicefactory.h b/src/plugins/ios/iosdevicefactory.h
index 2575897ed0..d7bc0a5480 100644
--- a/src/plugins/ios/iosdevicefactory.h
+++ b/src/plugins/ios/iosdevicefactory.h
@@ -30,7 +30,6 @@
#define IOSDEVICEFACTORY_H
#include <projectexplorer/devicesupport/idevicefactory.h>
-#include <utils/qtcoverride.h>
#include <QTimer>
#include <QMap>
@@ -45,13 +44,13 @@ class IosDeviceFactory : public ProjectExplorer::IDeviceFactory
public:
IosDeviceFactory();
- QString displayNameForId(Core::Id type) const QTC_OVERRIDE;
- QList<Core::Id> availableCreationIds() const QTC_OVERRIDE;
+ QString displayNameForId(Core::Id type) const Q_DECL_OVERRIDE;
+ QList<Core::Id> availableCreationIds() const Q_DECL_OVERRIDE;
- bool canCreate() const QTC_OVERRIDE;
- ProjectExplorer::IDevice::Ptr create(Core::Id id) const QTC_OVERRIDE;
- bool canRestore(const QVariantMap &map) const QTC_OVERRIDE;
- ProjectExplorer::IDevice::Ptr restore(const QVariantMap &map) const QTC_OVERRIDE;
+ bool canCreate() const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDevice::Ptr create(Core::Id id) const Q_DECL_OVERRIDE;
+ bool canRestore(const QVariantMap &map) const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDevice::Ptr restore(const QVariantMap &map) const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosdsymbuildstep.h b/src/plugins/ios/iosdsymbuildstep.h
index 33e6114066..2f6196272c 100644
--- a/src/plugins/ios/iosdsymbuildstep.h
+++ b/src/plugins/ios/iosdsymbuildstep.h
@@ -30,7 +30,6 @@
#define IOSDSYMBUILDSTEP_H
#include <projectexplorer/abstractprocessstep.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -49,11 +48,11 @@ class IosPresetBuildStep : public ProjectExplorer::AbstractProcessStep
public:
~IosPresetBuildStep();
- bool init() QTC_OVERRIDE;
- void run(QFutureInterface<bool> &fi) QTC_OVERRIDE;
+ bool init() Q_DECL_OVERRIDE;
+ void run(QFutureInterface<bool> &fi) Q_DECL_OVERRIDE;
- ProjectExplorer::BuildStepConfigWidget *createConfigWidget() QTC_OVERRIDE;
- bool immutable() const QTC_OVERRIDE;
+ ProjectExplorer::BuildStepConfigWidget *createConfigWidget() Q_DECL_OVERRIDE;
+ bool immutable() const Q_DECL_OVERRIDE;
void setArguments(const QStringList &args);
QStringList arguments() const;
QStringList defaultArguments() const;
@@ -64,12 +63,12 @@ public:
void setClean(bool clean);
bool isDefault() const;
- QVariantMap toMap() const QTC_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
protected:
IosPresetBuildStep(ProjectExplorer::BuildStepList *parent, Core::Id id);
virtual bool completeSetup();
virtual bool completeSetupWithStep(ProjectExplorer::BuildStep *bs);
- bool fromMap(const QVariantMap &map) QTC_OVERRIDE;
+ bool fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
virtual QStringList defaultCleanCmdList() const = 0;
virtual QStringList defaultCmdList() const = 0;
private:
@@ -85,8 +84,8 @@ class IosPresetBuildStepConfigWidget : public ProjectExplorer::BuildStepConfigWi
public:
IosPresetBuildStepConfigWidget(IosPresetBuildStep *buildStep);
~IosPresetBuildStepConfigWidget();
- QString displayName() const QTC_OVERRIDE;
- QString summaryText() const QTC_OVERRIDE;
+ QString displayName() const Q_DECL_OVERRIDE;
+ QString summaryText() const Q_DECL_OVERRIDE;
private slots:
void commandChanged();
@@ -107,14 +106,14 @@ class IosPresetBuildStepFactory : public ProjectExplorer::IBuildStepFactory
public:
explicit IosPresetBuildStepFactory(QObject *parent = 0);
- ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, Core::Id id) Q_DECL_OVERRIDE;
bool canClone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *source) const QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *source) const Q_DECL_OVERRIDE;
ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildStepList *parent,
- ProjectExplorer::BuildStep *source) QTC_OVERRIDE;
- bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const QTC_OVERRIDE;
+ ProjectExplorer::BuildStep *source) Q_DECL_OVERRIDE;
+ bool canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const Q_DECL_OVERRIDE;
ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildStepList *parent,
- const QVariantMap &map) QTC_OVERRIDE;
+ const QVariantMap &map) Q_DECL_OVERRIDE;
protected:
virtual IosPresetBuildStep *createPresetStep(ProjectExplorer::BuildStepList *parent,
@@ -126,8 +125,8 @@ class IosDsymBuildStep : public IosPresetBuildStep
Q_OBJECT
friend class IosDsymBuildStepFactory;
protected:
- QStringList defaultCleanCmdList() const QTC_OVERRIDE;
- QStringList defaultCmdList() const QTC_OVERRIDE;
+ QStringList defaultCleanCmdList() const Q_DECL_OVERRIDE;
+ QStringList defaultCmdList() const Q_DECL_OVERRIDE;
IosDsymBuildStep(ProjectExplorer::BuildStepList *parent, Core::Id id);
};
@@ -135,11 +134,11 @@ class IosDsymBuildStepFactory : public IosPresetBuildStepFactory
{
Q_OBJECT
public:
- bool canCreate(ProjectExplorer::BuildStepList *parent, Core::Id id) const QTC_OVERRIDE;
- QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *bc) const QTC_OVERRIDE;
- QString displayNameForId(Core::Id id) const QTC_OVERRIDE;
+ bool canCreate(ProjectExplorer::BuildStepList *parent, Core::Id id) const Q_DECL_OVERRIDE;
+ QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *bc) const Q_DECL_OVERRIDE;
+ QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
IosPresetBuildStep *createPresetStep(ProjectExplorer::BuildStepList *parent,
- const Core::Id id) const QTC_OVERRIDE;
+ const Core::Id id) const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosplugin.h b/src/plugins/ios/iosplugin.h
index 91bf6cf04c..f8ca128644 100644
--- a/src/plugins/ios/iosplugin.h
+++ b/src/plugins/ios/iosplugin.h
@@ -30,7 +30,6 @@
#define IOSPLUGIN_H
#include <extensionsystem/iplugin.h>
-#include <utils/qtcoverride.h>
namespace Ios {
@@ -42,8 +41,8 @@ class IosPlugin : public ExtensionSystem::IPlugin
public:
IosPlugin();
- bool initialize(const QStringList &arguments, QString *errorMessage) QTC_OVERRIDE;
- void extensionsInitialized() QTC_OVERRIDE;
+ bool initialize(const QStringList &arguments, QString *errorMessage) Q_DECL_OVERRIDE;
+ void extensionsInitialized() Q_DECL_OVERRIDE;
private slots:
void kitsRestored();
};
diff --git a/src/plugins/ios/iosqtversion.h b/src/plugins/ios/iosqtversion.h
index e95dfdccd0..523e8482a9 100644
--- a/src/plugins/ios/iosqtversion.h
+++ b/src/plugins/ios/iosqtversion.h
@@ -30,7 +30,6 @@
#define IOSQTVERSION_H
#include <qtsupport/baseqtversion.h>
-#include <utils/qtcoverride.h>
#include <QCoreApplication>
@@ -46,20 +45,20 @@ public:
IosQtVersion(const Utils::FileName &path, bool isAutodetected = false,
const QString &autodetectionSource = QString());
- IosQtVersion *clone() const QTC_OVERRIDE;
- QString type() const QTC_OVERRIDE;
- bool isValid() const QTC_OVERRIDE;
- QString invalidReason() const QTC_OVERRIDE;
+ IosQtVersion *clone() const Q_DECL_OVERRIDE;
+ QString type() const Q_DECL_OVERRIDE;
+ bool isValid() const Q_DECL_OVERRIDE;
+ QString invalidReason() const Q_DECL_OVERRIDE;
- QList<ProjectExplorer::Abi> detectQtAbis() const QTC_OVERRIDE;
+ QList<ProjectExplorer::Abi> detectQtAbis() const Q_DECL_OVERRIDE;
- void addToEnvironment(const ProjectExplorer::Kit *k, Utils::Environment &env) const QTC_OVERRIDE;
+ void addToEnvironment(const ProjectExplorer::Kit *k, Utils::Environment &env) const Q_DECL_OVERRIDE;
- Core::FeatureSet availableFeatures() const QTC_OVERRIDE;
- QString platformName() const QTC_OVERRIDE;
- QString platformDisplayName() const QTC_OVERRIDE;
+ Core::FeatureSet availableFeatures() const Q_DECL_OVERRIDE;
+ QString platformName() const Q_DECL_OVERRIDE;
+ QString platformDisplayName() const Q_DECL_OVERRIDE;
- QString description() const QTC_OVERRIDE;
+ QString description() const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosqtversionfactory.h b/src/plugins/ios/iosqtversionfactory.h
index 930a09282a..5265c13a76 100644
--- a/src/plugins/ios/iosqtversionfactory.h
+++ b/src/plugins/ios/iosqtversionfactory.h
@@ -30,7 +30,6 @@
#define IOSQTVERSIONFACTORY_H
#include <qtsupport/qtversionfactory.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -40,13 +39,13 @@ class IosQtVersionFactory : public QtSupport::QtVersionFactory
public:
explicit IosQtVersionFactory(QObject *parent = 0);
- bool canRestore(const QString &type) QTC_OVERRIDE;
- QtSupport::BaseQtVersion *restore(const QString &type, const QVariantMap &data) QTC_OVERRIDE;
+ bool canRestore(const QString &type) Q_DECL_OVERRIDE;
+ QtSupport::BaseQtVersion *restore(const QString &type, const QVariantMap &data) Q_DECL_OVERRIDE;
- int priority() const QTC_OVERRIDE;
+ int priority() const Q_DECL_OVERRIDE;
QtSupport::BaseQtVersion *create(const Utils::FileName &qmakePath, ProFileEvaluator *evaluator,
bool isAutoDetected = false,
- const QString &autoDetectionSource = QString()) QTC_OVERRIDE;
+ const QString &autoDetectionSource = QString()) Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/ios/iosrunconfiguration.h b/src/plugins/ios/iosrunconfiguration.h
index 51954e30e4..10db8a0c14 100644
--- a/src/plugins/ios/iosrunconfiguration.h
+++ b/src/plugins/ios/iosrunconfiguration.h
@@ -34,7 +34,6 @@
#include <projectexplorer/runconfiguration.h>
#include <utils/fileutils.h>
-#include <utils/qtcoverride.h>
namespace QmakeProjectManager {
class QmakeProFileNode;
@@ -65,8 +64,8 @@ class IosRunConfiguration : public ProjectExplorer::RunConfiguration
public:
IosRunConfiguration(ProjectExplorer::Target *parent, Core::Id id, const QString &path);
- QWidget *createConfigurationWidget() QTC_OVERRIDE;
- Utils::OutputFormatter *createOutputFormatter() const QTC_OVERRIDE;
+ QWidget *createConfigurationWidget() Q_DECL_OVERRIDE;
+ Utils::OutputFormatter *createOutputFormatter() const Q_DECL_OVERRIDE;
IosDeployStep *deployStep() const;
QStringList commandLineArguments();
@@ -79,8 +78,8 @@ public:
IosDeviceType::Enum deviceType() const;
void setDeviceType(IosDeviceType::Enum deviceType);
- bool fromMap(const QVariantMap &map) QTC_OVERRIDE;
- QVariantMap toMap() const QTC_OVERRIDE;
+ bool fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
protected:
IosRunConfiguration(ProjectExplorer::Target *parent, IosRunConfiguration *source);
diff --git a/src/plugins/ios/iosruncontrol.h b/src/plugins/ios/iosruncontrol.h
index 1c742cceca..4e2365c132 100644
--- a/src/plugins/ios/iosruncontrol.h
+++ b/src/plugins/ios/iosruncontrol.h
@@ -30,7 +30,6 @@
#define IOSRUNCONTROL_H
#include <projectexplorer/runconfiguration.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -47,10 +46,10 @@ public:
~IosRunControl();
- void start() QTC_OVERRIDE;
- StopResult stop() QTC_OVERRIDE;
- bool isRunning() const QTC_OVERRIDE;
- QString displayName() const QTC_OVERRIDE;
+ void start() Q_DECL_OVERRIDE;
+ StopResult stop() Q_DECL_OVERRIDE;
+ bool isRunning() const Q_DECL_OVERRIDE;
+ QString displayName() const Q_DECL_OVERRIDE;
private slots:
void handleRemoteProcessFinished(bool cleanEnd);
diff --git a/src/plugins/ios/iosrunfactories.h b/src/plugins/ios/iosrunfactories.h
index ff3ba59b2c..128c8422b1 100644
--- a/src/plugins/ios/iosrunfactories.h
+++ b/src/plugins/ios/iosrunfactories.h
@@ -31,7 +31,6 @@
#include <projectexplorer/runconfiguration.h>
#include <qmakeprojectmanager/qmakerunconfigurationfactory.h>
-#include <utils/qtcoverride.h>
namespace ProjectExplorer {
class RunControl;
@@ -50,27 +49,27 @@ class IosRunConfigurationFactory : public QmakeProjectManager::QmakeRunConfigura
public:
explicit IosRunConfigurationFactory(QObject *parent = 0);
- QString displayNameForId(Core::Id id) const QTC_OVERRIDE;
- QList<Core::Id> availableCreationIds(ProjectExplorer::Target *parent, CreationMode mode = UserCreate) const QTC_OVERRIDE;
+ QString displayNameForId(Core::Id id) const Q_DECL_OVERRIDE;
+ QList<Core::Id> availableCreationIds(ProjectExplorer::Target *parent, CreationMode mode = UserCreate) const Q_DECL_OVERRIDE;
- bool canCreate(ProjectExplorer::Target *parent, Core::Id id) const QTC_OVERRIDE;
+ bool canCreate(ProjectExplorer::Target *parent, Core::Id id) const Q_DECL_OVERRIDE;
- bool canRestore(ProjectExplorer::Target *parent, const QVariantMap &map) const QTC_OVERRIDE;
+ bool canRestore(ProjectExplorer::Target *parent, const QVariantMap &map) const Q_DECL_OVERRIDE;
bool canClone(ProjectExplorer::Target *parent,
- ProjectExplorer::RunConfiguration *source) const QTC_OVERRIDE;
+ ProjectExplorer::RunConfiguration *source) const Q_DECL_OVERRIDE;
ProjectExplorer::RunConfiguration *clone(ProjectExplorer::Target *parent,
- ProjectExplorer::RunConfiguration *source) QTC_OVERRIDE;
+ ProjectExplorer::RunConfiguration *source) Q_DECL_OVERRIDE;
- bool canHandle(ProjectExplorer::Target *t) const QTC_OVERRIDE;
+ bool canHandle(ProjectExplorer::Target *t) const Q_DECL_OVERRIDE;
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Target *t,
const ProjectExplorer::Node *n
- ) QTC_OVERRIDE;
+ ) Q_DECL_OVERRIDE;
private:
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent,
- Core::Id id) QTC_OVERRIDE;
+ Core::Id id) Q_DECL_OVERRIDE;
ProjectExplorer::RunConfiguration *doRestore(ProjectExplorer::Target *parent,
- const QVariantMap &map) QTC_OVERRIDE;
+ const QVariantMap &map) Q_DECL_OVERRIDE;
};
class IosRunControlFactory : public ProjectExplorer::IRunControlFactory
@@ -81,10 +80,10 @@ public:
explicit IosRunControlFactory(QObject *parent = 0);
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration,
- ProjectExplorer::RunMode mode) const QTC_OVERRIDE;
+ ProjectExplorer::RunMode mode) const Q_DECL_OVERRIDE;
ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode,
- QString *errorMessage) QTC_OVERRIDE;
+ QString *errorMessage) Q_DECL_OVERRIDE;
private:
mutable QMap<Core::Id, QPointer<ProjectExplorer::RunControl> > m_activeRunControls;
};
diff --git a/src/plugins/ios/iossettingspage.h b/src/plugins/ios/iossettingspage.h
index edad802bc1..a90c097a53 100644
--- a/src/plugins/ios/iossettingspage.h
+++ b/src/plugins/ios/iossettingspage.h
@@ -30,7 +30,6 @@
#define IOSSETTINGSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
-#include <utils/qtcoverride.h>
#include <QPointer>
@@ -46,9 +45,9 @@ class IosSettingsPage : public Core::IOptionsPage
public:
explicit IosSettingsPage(QObject *parent = 0);
- QWidget *widget() QTC_OVERRIDE;
- void apply() QTC_OVERRIDE;
- void finish() QTC_OVERRIDE;
+ QWidget *widget() Q_DECL_OVERRIDE;
+ void apply() Q_DECL_OVERRIDE;
+ void finish() Q_DECL_OVERRIDE;
private:
QPointer<IosSettingsWidget> m_widget;
diff --git a/src/plugins/ios/iossimulator.h b/src/plugins/ios/iossimulator.h
index 29f2a0c1ed..6db8e805b0 100644
--- a/src/plugins/ios/iossimulator.h
+++ b/src/plugins/ios/iossimulator.h
@@ -31,7 +31,6 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/fileutils.h>
-#include <utils/qtcoverride.h>
#include <QSharedPointer>
@@ -46,20 +45,20 @@ class IosSimulator : public ProjectExplorer::IDevice
public:
typedef QSharedPointer<const IosSimulator> ConstPtr;
typedef QSharedPointer<IosSimulator> Ptr;
- ProjectExplorer::IDevice::DeviceInfo deviceInformation() const QTC_OVERRIDE;
+ ProjectExplorer::IDevice::DeviceInfo deviceInformation() const Q_DECL_OVERRIDE;
- 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;
- void fromMap(const QVariantMap &map) QTC_OVERRIDE;
- QVariantMap toMap() const QTC_OVERRIDE;
+ QString displayType() const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDeviceWidget *createWidget() Q_DECL_OVERRIDE;
+ QList<Core::Id> actionIds() const Q_DECL_OVERRIDE;
+ QString displayNameForActionId(Core::Id actionId) const Q_DECL_OVERRIDE;
+ void executeAction(Core::Id actionId, QWidget *parent = 0) Q_DECL_OVERRIDE;
+ ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const Q_DECL_OVERRIDE;
+ void fromMap(const QVariantMap &map) Q_DECL_OVERRIDE;
+ QVariantMap toMap() const Q_DECL_OVERRIDE;
quint16 nextPort() const;
- bool canAutoDetectPorts() const QTC_OVERRIDE;
+ bool canAutoDetectPorts() const Q_DECL_OVERRIDE;
- ProjectExplorer::IDevice::Ptr clone() const QTC_OVERRIDE;
+ ProjectExplorer::IDevice::Ptr clone() const Q_DECL_OVERRIDE;
protected:
friend class IosSimulatorFactory;
diff --git a/src/plugins/ios/iossimulatorfactory.h b/src/plugins/ios/iossimulatorfactory.h
index aee1bface9..1020bfa708 100644
--- a/src/plugins/ios/iossimulatorfactory.h
+++ b/src/plugins/ios/iossimulatorfactory.h
@@ -30,7 +30,6 @@
#define IOSSIMULATORFACTORY_H
#include <projectexplorer/devicesupport/idevicefactory.h>
-#include <utils/qtcoverride.h>
namespace Ios {
namespace Internal {
@@ -41,13 +40,13 @@ class IosSimulatorFactory : public ProjectExplorer::IDeviceFactory
public:
IosSimulatorFactory();
- QString displayNameForId(Core::Id type) const QTC_OVERRIDE;
- QList<Core::Id> availableCreationIds() const QTC_OVERRIDE;
+ QString displayNameForId(Core::Id type) const Q_DECL_OVERRIDE;
+ QList<Core::Id> availableCreationIds() const Q_DECL_OVERRIDE;
- bool canCreate() const QTC_OVERRIDE;
- ProjectExplorer::IDevice::Ptr create(Core::Id id) const QTC_OVERRIDE;
- bool canRestore(const QVariantMap &map) const QTC_OVERRIDE;
- ProjectExplorer::IDevice::Ptr restore(const QVariantMap &map) const QTC_OVERRIDE;
+ bool canCreate() const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDevice::Ptr create(Core::Id id) const Q_DECL_OVERRIDE;
+ bool canRestore(const QVariantMap &map) const Q_DECL_OVERRIDE;
+ ProjectExplorer::IDevice::Ptr restore(const QVariantMap &map) const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/qmakeprojectmanager/profilecompletionassist.h b/src/plugins/qmakeprojectmanager/profilecompletionassist.h
index 459552512c..6c1ff3f76c 100644
--- a/src/plugins/qmakeprojectmanager/profilecompletionassist.h
+++ b/src/plugins/qmakeprojectmanager/profilecompletionassist.h
@@ -32,7 +32,6 @@
#include <texteditor/codeassist/completionassistprovider.h>
-#include <utils/qtcoverride.h>
#include <QStringList>
@@ -47,8 +46,8 @@ public:
void init();
~ProFileCompletionAssistProvider();
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
QStringList variables() const;
QStringList functions() const;
private:
diff --git a/src/plugins/qmldesigner/components/componentcore/abstractactiongroup.h b/src/plugins/qmldesigner/components/componentcore/abstractactiongroup.h
index 1061cd4762..adfde1afe6 100644
--- a/src/plugins/qmldesigner/components/componentcore/abstractactiongroup.h
+++ b/src/plugins/qmldesigner/components/componentcore/abstractactiongroup.h
@@ -45,12 +45,12 @@ public:
virtual bool isVisible(const SelectionContext &m_selectionState) const = 0;
virtual bool isEnabled(const SelectionContext &m_selectionState) const = 0;
- ActionInterface::Type type() const QTC_OVERRIDE;
- QAction *action() const QTC_OVERRIDE;
+ ActionInterface::Type type() const Q_DECL_OVERRIDE;
+ QAction *action() const Q_DECL_OVERRIDE;
QMenu *menu() const;
SelectionContext selectionContext() const;
- virtual void currentContextChanged(const SelectionContext &selectionContext) QTC_OVERRIDE;
+ virtual void currentContextChanged(const SelectionContext &selectionContext) Q_DECL_OVERRIDE;
virtual void updateContext();
private:
diff --git a/src/plugins/qmldesigner/components/debugview/debugview.h b/src/plugins/qmldesigner/components/debugview/debugview.h
index f61be38424..eda20bea7c 100644
--- a/src/plugins/qmldesigner/components/debugview/debugview.h
+++ b/src/plugins/qmldesigner/components/debugview/debugview.h
@@ -48,50 +48,50 @@ public:
~DebugView();
// AbstractView
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
- const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
+ const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
- WidgetInfo widgetInfo() QTC_OVERRIDE;
- bool hasWidget() const QTC_OVERRIDE;
+ WidgetInfo widgetInfo() Q_DECL_OVERRIDE;
+ bool hasWidget() const Q_DECL_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) QTC_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
protected:
void log(const QString &title, const QString &message, bool highlight = false);
diff --git a/src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h b/src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h
index 646c077e9c..541eadb4dc 100644
--- a/src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h
+++ b/src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h
@@ -39,7 +39,7 @@ class QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFo
public:
AbstractCustomTool();
- void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;
+ void selectedItemsChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE;
virtual QString name() const = 0;
diff --git a/src/plugins/qmldesigner/components/formeditor/dragtool.h b/src/plugins/qmldesigner/components/formeditor/dragtool.h
index eacef05229..612aefb340 100644
--- a/src/plugins/qmldesigner/components/formeditor/dragtool.h
+++ b/src/plugins/qmldesigner/components/formeditor/dragtool.h
@@ -48,36 +48,36 @@ public:
DragTool(FormEditorView *editorView);
virtual ~DragTool();
- void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void dropEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
- void dragEnterEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
- void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
- void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
+ void dropEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
+ void dragEnterEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
+ void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
+ void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
- void keyPressEvent(QKeyEvent *event) QTC_OVERRIDE;
- void keyReleaseEvent(QKeyEvent *keyEvent) QTC_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
+ void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE;
- void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void selectedItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
- void instancesParentChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
+ void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
+ void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
void updateMoveManipulator();
void beginWithPoint(const QPointF &beginPoint);
- void clear() QTC_OVERRIDE;
+ void clear() Q_DECL_OVERRIDE;
- void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void instancesCompleted(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
void clearMoveDelay();
diff --git a/src/plugins/qmldesigner/components/formeditor/formeditorview.h b/src/plugins/qmldesigner/components/formeditor/formeditorview.h
index fc0d9c9f78..106a641fa8 100644
--- a/src/plugins/qmldesigner/components/formeditor/formeditorview.h
+++ b/src/plugins/qmldesigner/components/formeditor/formeditorview.h
@@ -64,30 +64,30 @@ public:
~FormEditorView();
// AbstractView
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
- void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) QTC_OVERRIDE;
+ void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE;
// FormEditorView
- WidgetInfo widgetInfo() QTC_OVERRIDE;
+ WidgetInfo widgetInfo() Q_DECL_OVERRIDE;
FormEditorWidget *formEditorWidget();
AbstractFormEditorTool *currentTool() const;
@@ -105,29 +105,29 @@ public:
void registerTool(AbstractCustomTool *tool);
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
double containerPadding() const;
double spacing() const;
void deActivateItemCreator();
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
protected:
void reset();
diff --git a/src/plugins/qmldesigner/components/formeditor/movetool.h b/src/plugins/qmldesigner/components/formeditor/movetool.h
index 9947037ea1..1cbe637b5b 100644
--- a/src/plugins/qmldesigner/components/formeditor/movetool.h
+++ b/src/plugins/qmldesigner/components/formeditor/movetool.h
@@ -47,32 +47,32 @@ public:
MoveTool(FormEditorView* editorView);
~MoveTool();
- void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void keyPressEvent(QKeyEvent *event) QTC_OVERRIDE;
- void keyReleaseEvent(QKeyEvent *keyEvent) QTC_OVERRIDE;
+ void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
+ void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE;
- void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) QTC_OVERRIDE;
- void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) QTC_OVERRIDE;
+ void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE;
+ void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE;
- void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void selectedItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void instancesCompleted(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
- void instancesParentChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
+ void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
+ void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
void updateMoveManipulator();
void beginWithPoint(const QPointF &beginPoint);
- void clear() QTC_OVERRIDE;
+ void clear() Q_DECL_OVERRIDE;
- void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
protected:
static bool haveSameParent(const QList<FormEditorItem*> &itemList);
diff --git a/src/plugins/qmldesigner/components/formeditor/resizetool.h b/src/plugins/qmldesigner/components/formeditor/resizetool.h
index f6f067eb0c..2cd98f7c2e 100644
--- a/src/plugins/qmldesigner/components/formeditor/resizetool.h
+++ b/src/plugins/qmldesigner/components/formeditor/resizetool.h
@@ -45,30 +45,30 @@ public:
ResizeTool(FormEditorView* editorView);
~ResizeTool();
- void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
- void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) QTC_OVERRIDE;
+ void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
+ void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE;
- void keyPressEvent(QKeyEvent *event) QTC_OVERRIDE;
- void keyReleaseEvent(QKeyEvent *keyEvent) QTC_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
+ void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE;
- void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void selectedItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void clear() QTC_OVERRIDE;
+ void clear() Q_DECL_OVERRIDE;
- void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
- void instancesParentChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;
+ void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
+ void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE;
- void instancesCompleted(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
+ void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
private:
diff --git a/src/plugins/qmldesigner/components/formeditor/selectiontool.h b/src/plugins/qmldesigner/components/formeditor/selectiontool.h
index 20c6632bef..cc7f1cca91 100644
--- a/src/plugins/qmldesigner/components/formeditor/selectiontool.h
+++ b/src/plugins/qmldesigner/components/formeditor/selectiontool.h
@@ -51,35 +51,35 @@ public:
SelectionTool(FormEditorView* editorView);
~SelectionTool();
- void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
- void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) QTC_OVERRIDE;
+ void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
- void keyPressEvent(QKeyEvent *event) QTC_OVERRIDE;
- void keyReleaseEvent(QKeyEvent *keyEvent) QTC_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
+ void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE;
- void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) QTC_OVERRIDE;
- void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) QTC_OVERRIDE;
+ void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE;
+ void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE;
- void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
// QVariant itemChange(const QList<QGraphicsItem*> &itemList,
// QGraphicsItem::GraphicsItemChange change,
// const QVariant &value );
// void update();
- void clear() QTC_OVERRIDE;
+ void clear() Q_DECL_OVERRIDE;
- void selectedItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
+ void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
- void instancesCompleted(const QList<FormEditorItem*> &itemList) QTC_OVERRIDE;
- void instancesParentChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
+ void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE;
+ void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
void selectUnderPoint(QGraphicsSceneMouseEvent *event);
diff --git a/src/plugins/qmldesigner/components/integration/componentview.h b/src/plugins/qmldesigner/components/integration/componentview.h
index bf1fba2a5c..ecc3e32bff 100644
--- a/src/plugins/qmldesigner/components/integration/componentview.h
+++ b/src/plugins/qmldesigner/components/integration/componentview.h
@@ -56,60 +56,60 @@ public:
ComponentView(QObject *parent = 0);
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
ComponentAction *action();
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
- void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) QTC_OVERRIDE;
+ void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) Q_DECL_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
void customNotification(const AbstractView *view, const QString &identifier,
- const QList<ModelNode> &nodeList, const QList<QVariant> &data) QTC_OVERRIDE;
+ const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
QStandardItemModel *standardItemModel() const;
diff --git a/src/plugins/qmldesigner/components/integration/designdocumentview.h b/src/plugins/qmldesigner/components/integration/designdocumentview.h
index 96cfb1d7b9..c5cd7ffecf 100644
--- a/src/plugins/qmldesigner/components/integration/designdocumentview.h
+++ b/src/plugins/qmldesigner/components/integration/designdocumentview.h
@@ -42,46 +42,46 @@ public:
DesignDocumentView(QObject *parent = 0);
~DesignDocumentView();
- virtual void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- virtual void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- virtual void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ virtual void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ virtual void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ virtual void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
virtual void nodeAboutToBeReparented(const ModelNode &node,
const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
virtual void nodeReparented(const ModelNode &node,
const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- virtual void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- virtual void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- virtual void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- virtual void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- virtual void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- virtual void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- virtual void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ virtual void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ virtual void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ virtual void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ virtual void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ virtual void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ virtual void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ virtual void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
virtual void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
- virtual void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
- virtual void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
+ virtual void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
+ virtual void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
void rewriterBeginTransaction();
void rewriterEndTransaction();
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
ModelNode insertModel(const ModelNode &modelNode)
{ return m_modelMerger.insertModel(modelNode); }
diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.h b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.h
index 7bd6a0111b..d9bcc4cefa 100644
--- a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.h
+++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.h
@@ -48,57 +48,57 @@ public:
ItemLibraryView(QObject* parent = 0);
~ItemLibraryView();
- bool hasWidget() const QTC_OVERRIDE;
- WidgetInfo widgetInfo() QTC_OVERRIDE;
+ bool hasWidget() const Q_DECL_OVERRIDE;
+ WidgetInfo widgetInfo() Q_DECL_OVERRIDE;
// AbstractView
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
void variantPropertiesChanged(const QList<VariantProperty> &propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void bindingPropertiesChanged(const QList<BindingProperty> &propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
-
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
-
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
-
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
+
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
+
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
void setResourcePath(const QString &resourcePath);
diff --git a/src/plugins/qmldesigner/components/navigator/navigatorview.h b/src/plugins/qmldesigner/components/navigator/navigatorview.h
index 5918c55762..b27803ba80 100644
--- a/src/plugins/qmldesigner/components/navigator/navigatorview.h
+++ b/src/plugins/qmldesigner/components/navigator/navigatorview.h
@@ -57,45 +57,45 @@ public:
WidgetInfo widgetInfo();
// AbstractView
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
- void variantPropertiesChanged(const QList<VariantProperty> &propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty> &propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
- void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
+ void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList ,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
-
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
-
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
-
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
+
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
+
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
private slots:
void changeSelection(const QItemSelection &selected, const QItemSelection &deselected);
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.h
index e3021586de..e9a6de5451 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.h
@@ -62,46 +62,46 @@ public:
WidgetInfo widgetInfo();
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
- const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
+ const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
- void modelAttached(Model *model) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
ModelState modelState() const;
- void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
void resetView();
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
-
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
protected:
void timerEvent(QTimerEvent *event);
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
index a7c1b0a481..f92e212144 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
+++ b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
@@ -55,53 +55,53 @@ public:
QmlModelStateGroup rootStateGroup() const;
// AbstractView
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
void nodeRemoved(const ModelNode &removedNode,
const NodeAbstractProperty &parentProperty,
- PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node,
const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node,
const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
// AbstractView
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
-
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode &node, const QString &newId, const QString &oldId) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
-
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
-
- WidgetInfo widgetInfo() QTC_OVERRIDE;
-
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
+
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode &node, const QString &newId, const QString &oldId) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+
+ WidgetInfo widgetInfo() Q_DECL_OVERRIDE;
+
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
public slots:
void synchonizeCurrentStateFromWidget();
diff --git a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.cpp b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.cpp
index 6894e5df23..cb7fc0cd8e 100644
--- a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.cpp
+++ b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.cpp
@@ -49,7 +49,7 @@ public:
{ }
public /*slots*/:
- void actionTriggered(bool) QTC_OVERRIDE
+ void actionTriggered(bool) Q_DECL_OVERRIDE
{
DocumentManager::goIntoComponent(m_selectionContext.targetNode());
}
diff --git a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
index e4d7db2c42..a878c9baee 100644
--- a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
+++ b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
@@ -39,10 +39,10 @@ class EnterTabDesignerAction : public AbstractActionGroup
public:
EnterTabDesignerAction();
- QByteArray category() const QTC_OVERRIDE;
- QByteArray menuId() const QTC_OVERRIDE;
- int priority() const QTC_OVERRIDE;
- void updateContext() QTC_OVERRIDE;
+ QByteArray category() const Q_DECL_OVERRIDE;
+ QByteArray menuId() const Q_DECL_OVERRIDE;
+ int priority() const Q_DECL_OVERRIDE;
+ void updateContext() Q_DECL_OVERRIDE;
protected:
bool isVisible(const SelectionContext &selectionContext) const;
diff --git a/src/plugins/qmldesigner/designercore/include/nodeinstanceview.h b/src/plugins/qmldesigner/designercore/include/nodeinstanceview.h
index bc027c0f71..c3254419c6 100644
--- a/src/plugins/qmldesigner/designercore/include/nodeinstanceview.h
+++ b/src/plugins/qmldesigner/designercore/include/nodeinstanceview.h
@@ -84,44 +84,44 @@ public:
explicit NodeInstanceView(QObject *parent = 0, NodeInstanceServerInterface::RunModus runModus = NodeInstanceServerInterface::NormalModus);
~NodeInstanceView();
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty> &propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty> &propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node,
const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
- void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
- void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
- void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
- void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) QTC_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
-
-
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
+ void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
+ void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
+ void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE;
+ void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
+
+
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
void currentStateChanged(const ModelNode &node);
diff --git a/src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h b/src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h
index a1ad1acad9..50f5213b35 100644
--- a/src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h
+++ b/src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h
@@ -33,7 +33,6 @@
#include <QtGlobal>
#include <QList>
-#include <utils/qtcoverride.h>
// Unnecessary since core isn't a dll any more.
diff --git a/src/plugins/qmldesigner/designercore/include/rewriterview.h b/src/plugins/qmldesigner/designercore/include/rewriterview.h
index 770b242464..953b4a9f25 100644
--- a/src/plugins/qmldesigner/designercore/include/rewriterview.h
+++ b/src/plugins/qmldesigner/designercore/include/rewriterview.h
@@ -114,51 +114,51 @@ public:
RewriterView(DifferenceHandling differenceHandling, QObject *parent);
~RewriterView();
- void modelAttached(Model *model) QTC_OVERRIDE;
- void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
- void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
- void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
- void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
- void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ void modelAttached(Model *model) Q_DECL_OVERRIDE;
+ void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE;
+ void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE;
+ void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE;
+ void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE;
+ void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
- AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
- void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
- void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
- void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
+ AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE;
+ void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE;
+ void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE;
+ void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE;
void customNotification(const AbstractView *view, const QString &identifier,
const QList<ModelNode> &nodeList,
- const QList<QVariant> &data) QTC_OVERRIDE;
- void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
+ const QList<QVariant> &data) Q_DECL_OVERRIDE;
+ void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE;
- void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
- void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
- void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
- void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
- void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
+ void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE;
+ void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE;
+ void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE;
+ void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE;
+ void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE;
- void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
+ void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE;
- void rewriterBeginTransaction() QTC_OVERRIDE;
- void rewriterEndTransaction() QTC_OVERRIDE;
+ void rewriterBeginTransaction() Q_DECL_OVERRIDE;
+ void rewriterEndTransaction() Q_DECL_OVERRIDE;
- void currentStateChanged(const ModelNode &node) QTC_OVERRIDE;
+ void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE;
- void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
+ void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE;
- void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) QTC_OVERRIDE;
+ void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) Q_DECL_OVERRIDE;
- void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
+ void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE;
TextModifier *textModifier() const;
void setTextModifier(TextModifier *textModifier);
diff --git a/src/plugins/qmljseditor/qmljscompletionassist.cpp b/src/plugins/qmljseditor/qmljscompletionassist.cpp
index b7eedd591e..f04f3b73fb 100644
--- a/src/plugins/qmljseditor/qmljscompletionassist.cpp
+++ b/src/plugins/qmljseditor/qmljscompletionassist.cpp
@@ -42,7 +42,6 @@
#include <texteditor/completionsettings.h>
#include <utils/qtcassert.h>
-#include <utils/qtcoverride.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <qmljs/parser/qmljsast_p.h>
@@ -135,7 +134,7 @@ public:
, order(order)
{}
- void operator()(const Value *base, const QString &name, const Value *value) QTC_OVERRIDE
+ void operator()(const Value *base, const QString &name, const Value *value) Q_DECL_OVERRIDE
{
Q_UNUSED(base)
QVariant data;
@@ -163,7 +162,7 @@ public:
, afterOn(afterOn)
{}
- void operator ()(const Value *base, const QString &name, const Value *) QTC_OVERRIDE
+ void operator ()(const Value *base, const QString &name, const Value *) Q_DECL_OVERRIDE
{
const CppComponentValue *qmlBase = value_cast<CppComponentValue>(base);
@@ -245,34 +244,34 @@ private:
(*_propertyProcessor)(_currentObject, name, value);
}
- bool processProperty(const QString &name, const Value *value, const PropertyInfo &) QTC_OVERRIDE
+ bool processProperty(const QString &name, const Value *value, const PropertyInfo &) Q_DECL_OVERRIDE
{
process(name, value);
return true;
}
- bool processEnumerator(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processEnumerator(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
if (! _globalCompletion)
process(name, value);
return true;
}
- bool processSignal(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processSignal(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
if (_globalCompletion)
process(name, value);
return true;
}
- bool processSlot(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processSlot(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
if (_enumerateSlots)
process(name, value);
return true;
}
- bool processGeneratedSlot(const QString &name, const Value *value) QTC_OVERRIDE
+ bool processGeneratedSlot(const QString &name, const Value *value) Q_DECL_OVERRIDE
{
if (_enumerateGeneratedSlots || (_currentObject && _currentObject->className().endsWith(QLatin1String("Keys")))) {
// ### FIXME: add support for attached properties.
@@ -403,10 +402,10 @@ public:
, m_isVariadic(isVariadic)
{}
- void reset() QTC_OVERRIDE {}
- int size() const QTC_OVERRIDE { return 1; }
- QString text(int index) const QTC_OVERRIDE;
- int activeArgument(const QString &prefix) const QTC_OVERRIDE;
+ void reset() Q_DECL_OVERRIDE {}
+ int size() const Q_DECL_OVERRIDE { return 1; }
+ QString text(int index) const Q_DECL_OVERRIDE;
+ int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
private:
QString m_functionName;
diff --git a/src/plugins/qmljseditor/qmljscompletionassist.h b/src/plugins/qmljseditor/qmljscompletionassist.h
index 4fa5349af5..a932b7033b 100644
--- a/src/plugins/qmljseditor/qmljscompletionassist.h
+++ b/src/plugins/qmljseditor/qmljscompletionassist.h
@@ -39,7 +39,6 @@
#include <texteditor/snippets/snippetassistcollector.h>
#include <texteditor/codeassist/assistinterface.h>
-#include <utils/qtcoverride.h>
#include <QStringList>
#include <QScopedPointer>
@@ -56,9 +55,9 @@ class QmlJSCompletionAssistInterface;
class QmlJSAssistProposalItem : public TextEditor::AssistProposalItem
{
public:
- bool prematurelyApplies(const QChar &c) const QTC_OVERRIDE;
+ bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE;
void applyContextualContent(TextEditor::BaseTextEditorWidget *editorWidget,
- int basePosition) const QTC_OVERRIDE;
+ int basePosition) const Q_DECL_OVERRIDE;
};
@@ -70,9 +69,9 @@ public:
loadContent(items);
}
- void filter(const QString &prefix) QTC_OVERRIDE;
- void sort(const QString &prefix) QTC_OVERRIDE;
- bool keepPerfectMatch(TextEditor::AssistReason reason) const QTC_OVERRIDE;
+ void filter(const QString &prefix) Q_DECL_OVERRIDE;
+ void sort(const QString &prefix) Q_DECL_OVERRIDE;
+ bool keepPerfectMatch(TextEditor::AssistReason reason) const Q_DECL_OVERRIDE;
};
@@ -81,12 +80,12 @@ class QmlJSCompletionAssistProvider : public TextEditor::CompletionAssistProvide
Q_OBJECT
public:
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
- int activationCharSequenceLength() const QTC_OVERRIDE;
- bool isActivationCharSequence(const QString &sequence) const QTC_OVERRIDE;
- bool isContinuationChar(const QChar &c) const QTC_OVERRIDE;
+ int activationCharSequenceLength() const Q_DECL_OVERRIDE;
+ bool isActivationCharSequence(const QString &sequence) const Q_DECL_OVERRIDE;
+ bool isContinuationChar(const QChar &c) const Q_DECL_OVERRIDE;
};
@@ -96,7 +95,7 @@ public:
QmlJSCompletionAssistProcessor();
~QmlJSCompletionAssistProcessor();
- TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) QTC_OVERRIDE;
+ TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) Q_DECL_OVERRIDE;
private:
TextEditor::IAssistProposal *createContentProposal() const;
diff --git a/src/plugins/qmljseditor/qmljsquickfixassist.h b/src/plugins/qmljseditor/qmljsquickfixassist.h
index 60965b5168..23078ce355 100644
--- a/src/plugins/qmljseditor/qmljsquickfixassist.h
+++ b/src/plugins/qmljseditor/qmljsquickfixassist.h
@@ -38,7 +38,6 @@
#include <texteditor/codeassist/quickfixassistprovider.h>
#include <texteditor/codeassist/quickfixassistprocessor.h>
-#include <utils/qtcoverride.h>
namespace QmlJSEditor {
namespace Internal {
@@ -64,7 +63,7 @@ public:
QmlJSQuickFixProcessor(const TextEditor::IAssistProvider *provider);
~QmlJSQuickFixProcessor();
- const TextEditor::IAssistProvider *provider() const QTC_OVERRIDE;
+ const TextEditor::IAssistProvider *provider() const Q_DECL_OVERRIDE;
private:
const TextEditor::IAssistProvider *m_provider;
@@ -77,11 +76,11 @@ public:
QmlJSQuickFixAssistProvider();
~QmlJSQuickFixAssistProvider();
- bool isAsynchronous() const QTC_OVERRIDE;
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- TextEditor::IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool isAsynchronous() const Q_DECL_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ TextEditor::IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
- QList<TextEditor::QuickFixFactory *> quickFixFactories() const QTC_OVERRIDE;
+ QList<TextEditor::QuickFixFactory *> quickFixFactories() const Q_DECL_OVERRIDE;
};
} // Internal
diff --git a/src/plugins/qmljstools/qmljsmodelmanager.h b/src/plugins/qmljstools/qmljsmodelmanager.h
index 64a41ee042..7caa988a64 100644
--- a/src/plugins/qmljstools/qmljsmodelmanager.h
+++ b/src/plugins/qmljstools/qmljsmodelmanager.h
@@ -37,7 +37,6 @@
#include <qmljs/qmljsconstants.h>
#include <cplusplus/CppDocument.h>
-#include <utils/qtcoverride.h>
#include <QFuture>
#include <QFutureSynchronizer>
@@ -61,11 +60,11 @@ public:
void delayedInitialization();
protected:
- QHash<QString, QmlJS::Dialect> languageForSuffix() const QTC_OVERRIDE;
- void writeMessageInternal(const QString &msg) const QTC_OVERRIDE;
- WorkingCopy workingCopyInternal() const QTC_OVERRIDE;
- void addTaskInternal(QFuture<void> result, const QString &msg, const char *taskId) const QTC_OVERRIDE;
- ProjectInfo defaultProjectInfoForProject(ProjectExplorer::Project *project) const QTC_OVERRIDE;
+ QHash<QString, QmlJS::Dialect> languageForSuffix() const Q_DECL_OVERRIDE;
+ void writeMessageInternal(const QString &msg) const Q_DECL_OVERRIDE;
+ WorkingCopy workingCopyInternal() const Q_DECL_OVERRIDE;
+ void addTaskInternal(QFuture<void> result, const QString &msg, const char *taskId) const Q_DECL_OVERRIDE;
+ ProjectInfo defaultProjectInfoForProject(ProjectExplorer::Project *project) const Q_DECL_OVERRIDE;
private slots:
void updateDefaultProjectInfo();
private:
diff --git a/src/plugins/texteditor/circularclipboardassist.cpp b/src/plugins/texteditor/circularclipboardassist.cpp
index 91dad8f8a1..711215dd34 100644
--- a/src/plugins/texteditor/circularclipboardassist.cpp
+++ b/src/plugins/texteditor/circularclipboardassist.cpp
@@ -39,7 +39,6 @@
#include <coreplugin/coreconstants.h>
-#include <utils/qtcoverride.h>
#include <QApplication>
#include <QClipboard>
@@ -63,7 +62,7 @@ public:
setText(text);
}
- void apply(BaseTextEditorWidget *editorWidget, int /*basePosition*/) const QTC_OVERRIDE
+ void apply(BaseTextEditorWidget *editorWidget, int /*basePosition*/) const Q_DECL_OVERRIDE
{
//Move to last in circular clipboard
@@ -87,7 +86,7 @@ private:
class ClipboardAssistProcessor: public IAssistProcessor
{
public:
- IAssistProposal *perform(const AssistInterface *interface) QTC_OVERRIDE
+ IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE
{
if (!interface)
return 0;
diff --git a/src/plugins/texteditor/circularclipboardassist.h b/src/plugins/texteditor/circularclipboardassist.h
index 9a997e663b..9c375e90b4 100644
--- a/src/plugins/texteditor/circularclipboardassist.h
+++ b/src/plugins/texteditor/circularclipboardassist.h
@@ -32,7 +32,6 @@
#include "codeassist/iassistprovider.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
namespace Internal {
@@ -41,8 +40,8 @@ class ClipboardAssistProvider: public IAssistProvider
{
public:
bool isAsynchronous() const;
- bool supportsEditor(Core::Id editorId) const QTC_OVERRIDE;
- IAssistProcessor *createProcessor() const QTC_OVERRIDE;
+ bool supportsEditor(Core::Id editorId) const Q_DECL_OVERRIDE;
+ IAssistProcessor *createProcessor() const Q_DECL_OVERRIDE;
};
} // namespace Internal
diff --git a/src/plugins/texteditor/codeassist/assistinterface.h b/src/plugins/texteditor/codeassist/assistinterface.h
index cdc200925e..68dc0a6726 100644
--- a/src/plugins/texteditor/codeassist/assistinterface.h
+++ b/src/plugins/texteditor/codeassist/assistinterface.h
@@ -34,7 +34,6 @@
#include <texteditor/texteditor_global.h>
-#include <utils/qtcoverride.h>
#include <QString>
diff --git a/src/plugins/texteditor/codeassist/assistproposalitem.h b/src/plugins/texteditor/codeassist/assistproposalitem.h
index 2de055157b..3e9d982099 100644
--- a/src/plugins/texteditor/codeassist/assistproposalitem.h
+++ b/src/plugins/texteditor/codeassist/assistproposalitem.h
@@ -32,7 +32,6 @@
#include <texteditor/texteditor_global.h>
-#include <utils/qtcoverride.h>
#include <QIcon>
#include <QString>
diff --git a/src/plugins/texteditor/codeassist/completionassistprovider.h b/src/plugins/texteditor/codeassist/completionassistprovider.h
index 7df0b5aba5..2c514c9448 100644
--- a/src/plugins/texteditor/codeassist/completionassistprovider.h
+++ b/src/plugins/texteditor/codeassist/completionassistprovider.h
@@ -32,7 +32,6 @@
#include "iassistprovider.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -44,7 +43,7 @@ public:
CompletionAssistProvider();
~CompletionAssistProvider();
- bool isAsynchronous() const QTC_OVERRIDE;
+ bool isAsynchronous() const Q_DECL_OVERRIDE;
virtual int activationCharSequenceLength() const;
virtual bool isActivationCharSequence(const QString &sequence) const;
virtual bool isContinuationChar(const QChar &c) const;
diff --git a/src/plugins/texteditor/codeassist/functionhintproposal.h b/src/plugins/texteditor/codeassist/functionhintproposal.h
index 1089b71f51..b83f753a73 100644
--- a/src/plugins/texteditor/codeassist/functionhintproposal.h
+++ b/src/plugins/texteditor/codeassist/functionhintproposal.h
@@ -32,7 +32,6 @@
#include "iassistproposal.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -44,12 +43,12 @@ public:
FunctionHintProposal(int cursorPos, IFunctionHintProposalModel *model);
~FunctionHintProposal();
- bool isFragile() const QTC_OVERRIDE;
- int basePosition() const QTC_OVERRIDE;
- bool isCorrective() const QTC_OVERRIDE;
- void makeCorrection(BaseTextEditorWidget *editorWidget) QTC_OVERRIDE;
- IAssistProposalModel *model() const QTC_OVERRIDE;
- IAssistProposalWidget *createWidget() const QTC_OVERRIDE;
+ bool isFragile() const Q_DECL_OVERRIDE;
+ int basePosition() const Q_DECL_OVERRIDE;
+ bool isCorrective() const Q_DECL_OVERRIDE;
+ void makeCorrection(BaseTextEditorWidget *editorWidget) Q_DECL_OVERRIDE;
+ IAssistProposalModel *model() const Q_DECL_OVERRIDE;
+ IAssistProposalWidget *createWidget() const Q_DECL_OVERRIDE;
private:
int m_basePosition;
diff --git a/src/plugins/texteditor/codeassist/functionhintproposalwidget.h b/src/plugins/texteditor/codeassist/functionhintproposalwidget.h
index de8b1b1120..d4122752e2 100644
--- a/src/plugins/texteditor/codeassist/functionhintproposalwidget.h
+++ b/src/plugins/texteditor/codeassist/functionhintproposalwidget.h
@@ -32,7 +32,6 @@
#include "iassistproposalwidget.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -46,20 +45,20 @@ public:
FunctionHintProposalWidget();
~FunctionHintProposalWidget();
- void setAssistant(CodeAssistant *assistant) QTC_OVERRIDE;
- void setReason(AssistReason reason) QTC_OVERRIDE;
- void setKind(AssistKind kind) QTC_OVERRIDE;
- void setUnderlyingWidget(const QWidget *underlyingWidget) QTC_OVERRIDE;
- void setModel(IAssistProposalModel *model) QTC_OVERRIDE;
- void setDisplayRect(const QRect &rect) QTC_OVERRIDE;
- void setIsSynchronized(bool isSync) QTC_OVERRIDE;
+ void setAssistant(CodeAssistant *assistant) Q_DECL_OVERRIDE;
+ void setReason(AssistReason reason) Q_DECL_OVERRIDE;
+ void setKind(AssistKind kind) Q_DECL_OVERRIDE;
+ void setUnderlyingWidget(const QWidget *underlyingWidget) Q_DECL_OVERRIDE;
+ void setModel(IAssistProposalModel *model) Q_DECL_OVERRIDE;
+ void setDisplayRect(const QRect &rect) Q_DECL_OVERRIDE;
+ void setIsSynchronized(bool isSync) Q_DECL_OVERRIDE;
- void showProposal(const QString &prefix) QTC_OVERRIDE;
- void updateProposal(const QString &prefix) QTC_OVERRIDE;
- void closeProposal() QTC_OVERRIDE;
+ void showProposal(const QString &prefix) Q_DECL_OVERRIDE;
+ void updateProposal(const QString &prefix) Q_DECL_OVERRIDE;
+ void closeProposal() Q_DECL_OVERRIDE;
protected:
- bool eventFilter(QObject *o, QEvent *e) QTC_OVERRIDE;
+ bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE;
private slots:
void nextPage();
diff --git a/src/plugins/texteditor/codeassist/genericproposal.h b/src/plugins/texteditor/codeassist/genericproposal.h
index 8cc35d33c3..bc7bd557d6 100644
--- a/src/plugins/texteditor/codeassist/genericproposal.h
+++ b/src/plugins/texteditor/codeassist/genericproposal.h
@@ -32,7 +32,6 @@
#include "iassistproposal.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -46,12 +45,12 @@ public:
GenericProposal(int cursorPos, const QList<AssistProposalItem *> &items);
~GenericProposal();
- bool isFragile() const QTC_OVERRIDE;
- int basePosition() const QTC_OVERRIDE;
- bool isCorrective() const QTC_OVERRIDE;
- void makeCorrection(BaseTextEditorWidget *editorWidget) QTC_OVERRIDE;
- IAssistProposalModel *model() const QTC_OVERRIDE;
- IAssistProposalWidget *createWidget() const QTC_OVERRIDE;
+ bool isFragile() const Q_DECL_OVERRIDE;
+ int basePosition() const Q_DECL_OVERRIDE;
+ bool isCorrective() const Q_DECL_OVERRIDE;
+ void makeCorrection(BaseTextEditorWidget *editorWidget) Q_DECL_OVERRIDE;
+ IAssistProposalModel *model() const Q_DECL_OVERRIDE;
+ IAssistProposalWidget *createWidget() const Q_DECL_OVERRIDE;
protected:
void moveBasePosition(int length);
diff --git a/src/plugins/texteditor/codeassist/genericproposalmodel.h b/src/plugins/texteditor/codeassist/genericproposalmodel.h
index b8dbfe3f07..e8d553cab1 100644
--- a/src/plugins/texteditor/codeassist/genericproposalmodel.h
+++ b/src/plugins/texteditor/codeassist/genericproposalmodel.h
@@ -35,7 +35,6 @@
#include <texteditor/texteditor_global.h>
-#include <utils/qtcoverride.h>
#include <QHash>
#include <QIcon>
@@ -52,9 +51,9 @@ public:
GenericProposalModel();
~GenericProposalModel();
- void reset() QTC_OVERRIDE;
- int size() const QTC_OVERRIDE;
- QString text(int index) const QTC_OVERRIDE;
+ void reset() Q_DECL_OVERRIDE;
+ int size() const Q_DECL_OVERRIDE;
+ QString text(int index) const Q_DECL_OVERRIDE;
virtual QIcon icon(int index) const;
virtual QString detail(int index) const;
diff --git a/src/plugins/texteditor/codeassist/genericproposalwidget.h b/src/plugins/texteditor/codeassist/genericproposalwidget.h
index caf0133d55..fdcd6a5dba 100644
--- a/src/plugins/texteditor/codeassist/genericproposalwidget.h
+++ b/src/plugins/texteditor/codeassist/genericproposalwidget.h
@@ -34,7 +34,6 @@
#include <texteditor/texteditor_global.h>
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -50,17 +49,17 @@ public:
GenericProposalWidget();
~GenericProposalWidget();
- void setAssistant(CodeAssistant *assistant) QTC_OVERRIDE;
- void setReason(AssistReason reason) QTC_OVERRIDE;
- void setKind(AssistKind kind) QTC_OVERRIDE;
- void setUnderlyingWidget(const QWidget *underlyingWidget) QTC_OVERRIDE;
- void setModel(IAssistProposalModel *model) QTC_OVERRIDE;
- void setDisplayRect(const QRect &rect) QTC_OVERRIDE;
- void setIsSynchronized(bool isSync) QTC_OVERRIDE;
-
- void showProposal(const QString &prefix) QTC_OVERRIDE;
- void updateProposal(const QString &prefix) QTC_OVERRIDE;
- void closeProposal() QTC_OVERRIDE;
+ void setAssistant(CodeAssistant *assistant) Q_DECL_OVERRIDE;
+ void setReason(AssistReason reason) Q_DECL_OVERRIDE;
+ void setKind(AssistKind kind) Q_DECL_OVERRIDE;
+ void setUnderlyingWidget(const QWidget *underlyingWidget) Q_DECL_OVERRIDE;
+ void setModel(IAssistProposalModel *model) Q_DECL_OVERRIDE;
+ void setDisplayRect(const QRect &rect) Q_DECL_OVERRIDE;
+ void setIsSynchronized(bool isSync) Q_DECL_OVERRIDE;
+
+ void showProposal(const QString &prefix) Q_DECL_OVERRIDE;
+ void updateProposal(const QString &prefix) Q_DECL_OVERRIDE;
+ void closeProposal() Q_DECL_OVERRIDE;
private:
bool updateAndCheck(const QString &prefix);
diff --git a/src/plugins/texteditor/codeassist/keywordscompletionassist.h b/src/plugins/texteditor/codeassist/keywordscompletionassist.h
index 6803d02c2a..243be1fdb8 100644
--- a/src/plugins/texteditor/codeassist/keywordscompletionassist.h
+++ b/src/plugins/texteditor/codeassist/keywordscompletionassist.h
@@ -34,7 +34,6 @@
#include "assistproposalitem.h"
#include "ifunctionhintproposalmodel.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -62,8 +61,8 @@ public:
KeywordsAssistProposalItem(bool isFunction);
~KeywordsAssistProposalItem();
- bool prematurelyApplies(const QChar &c) const QTC_OVERRIDE;
- void applyContextualContent(BaseTextEditorWidget *editorWidget, int basePosition) const QTC_OVERRIDE;
+ bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE;
+ void applyContextualContent(BaseTextEditorWidget *editorWidget, int basePosition) const Q_DECL_OVERRIDE;
private:
bool m_isFunction;
};
@@ -74,10 +73,10 @@ public:
KeywordsFunctionHintModel(const QStringList &functionSymbols);
~KeywordsFunctionHintModel();
- void reset() QTC_OVERRIDE;
- int size() const QTC_OVERRIDE;
- QString text(int index) const QTC_OVERRIDE;
- int activeArgument(const QString &prefix) const QTC_OVERRIDE;
+ void reset() Q_DECL_OVERRIDE;
+ int size() const Q_DECL_OVERRIDE;
+ QString text(int index) const Q_DECL_OVERRIDE;
+ int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
private:
QStringList m_functionSymbols;
@@ -89,7 +88,7 @@ public:
KeywordsCompletionAssistProcessor(Keywords keywords);
~KeywordsCompletionAssistProcessor();
- IAssistProposal *perform(const AssistInterface *interface) QTC_OVERRIDE;
+ IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE;
QChar startOfCommentChar() const;
private:
diff --git a/src/plugins/texteditor/codeassist/quickfixassistprocessor.h b/src/plugins/texteditor/codeassist/quickfixassistprocessor.h
index 04994d6885..97430b0eb5 100644
--- a/src/plugins/texteditor/codeassist/quickfixassistprocessor.h
+++ b/src/plugins/texteditor/codeassist/quickfixassistprocessor.h
@@ -32,7 +32,6 @@
#include "iassistprocessor.h"
-#include <utils/qtcoverride.h>
namespace TextEditor {
@@ -44,7 +43,7 @@ public:
virtual const IAssistProvider *provider() const = 0;
- IAssistProposal *perform(const AssistInterface *interface) QTC_OVERRIDE;
+ IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE;
};
} // TextEditor
diff --git a/src/tools/iostool/iosdevicemanager.cpp b/src/tools/iostool/iosdevicemanager.cpp
index f26d2f7e62..6915902887 100644
--- a/src/tools/iostool/iosdevicemanager.cpp
+++ b/src/tools/iostool/iosdevicemanager.cpp
@@ -266,8 +266,8 @@ public:
bool startService(const QString &service, ServiceSocket &fd);
void stopService(ServiceSocket fd);
void startDeviceLookup(int timeout);
- bool connectToPort(quint16 port, ServiceSocket *fd) QTC_OVERRIDE;
- int qmljsDebugPort() const QTC_OVERRIDE;
+ bool connectToPort(quint16 port, ServiceSocket *fd) Q_DECL_OVERRIDE;
+ int qmljsDebugPort() const Q_DECL_OVERRIDE;
void addError(const QString &msg);
bool writeAll(ServiceSocket fd, const char *cmd, qptrdiff len = -1);
bool sendGdbCommand(ServiceSocket fd, const char *cmd, qptrdiff len = -1);
@@ -339,7 +339,7 @@ public:
void deviceCallbackReturned();
bool installApp();
bool runApp();
- int qmljsDebugPort() const QTC_OVERRIDE;
+ int qmljsDebugPort() const Q_DECL_OVERRIDE;
am_res_t appTransferCallback(CFDictionaryRef dict);
am_res_t appInstallCallback(CFDictionaryRef dict);
void reportProgress2(int progress, const QString &status);
diff --git a/src/tools/iostool/iosdevicemanager.h b/src/tools/iostool/iosdevicemanager.h
index cd41a03a94..238ede1cfe 100644
--- a/src/tools/iostool/iosdevicemanager.h
+++ b/src/tools/iostool/iosdevicemanager.h
@@ -43,9 +43,9 @@
#include <qglobal.h>
#ifdef Q_DECL_OVERRIDE
-#define QTC_OVERRIDE Q_DECL_OVERRIDE
+#define Q_DECL_OVERRIDE Q_DECL_OVERRIDE
#else
-#define QTC_OVERRIDE
+#define Q_DECL_OVERRIDE
#endif
namespace Ios {
diff --git a/src/tools/iostool/main.cpp b/src/tools/iostool/main.cpp
index 7889702aef..e98857223f 100644
--- a/src/tools/iostool/main.cpp
+++ b/src/tools/iostool/main.cpp
@@ -125,7 +125,7 @@ class SingleRelayServer: public RelayServer
public:
SingleRelayServer(IosTool *parent, int serverFileDescriptor);
protected:
- void newRelayConnection() QTC_OVERRIDE;
+ void newRelayConnection() Q_DECL_OVERRIDE;
private:
int m_serverFileDescriptor;
};
@@ -136,7 +136,7 @@ public:
GenericRelayServer(IosTool *parent, int remotePort,
Ios::DeviceSession *deviceSession);
protected:
- void newRelayConnection() QTC_OVERRIDE;
+ void newRelayConnection() Q_DECL_OVERRIDE;
private:
int m_remotePort;
Ios::DeviceSession *m_deviceSession;