Commit da96f721 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

beautifier: s/Q_DECL_OVERRIDE/override/g



Change-Id: Iffbf9562d1e25ce7787c08eb5e5c413974cc1fc8
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 47092d8e
......@@ -52,9 +52,9 @@ class ArtisticStyle : public BeautifierAbstractTool
public:
explicit ArtisticStyle(BeautifierPlugin *parent = 0);
virtual ~ArtisticStyle();
bool initialize() Q_DECL_OVERRIDE;
void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
bool initialize() override;
void updateActions(Core::IEditor *editor) override;
QList<QObject *> autoReleaseObjects() override;
private slots:
void formatFile();
......
......@@ -65,9 +65,9 @@ class ArtisticStyleOptionsPage : public Core::IOptionsPage
public:
explicit ArtisticStyleOptionsPage(ArtisticStyleSettings *settings, QObject *parent = 0);
QWidget *widget() Q_DECL_OVERRIDE;
void apply() Q_DECL_OVERRIDE;
void finish() Q_DECL_OVERRIDE;
QWidget *widget() override;
void apply() override;
void finish() override;
private:
QPointer<ArtisticStyleOptionsPageWidget> m_widget;
......
......@@ -52,7 +52,7 @@ public:
ArtisticStyleSettings();
void updateVersion() Q_DECL_OVERRIDE;
void updateVersion() override;
bool useOtherFiles() const;
void setUseOtherFiles(bool useOtherFiles);
......@@ -66,8 +66,8 @@ public:
QString customStyle() const;
void setCustomStyle(const QString &customStyle);
QString documentationFilePath() const Q_DECL_OVERRIDE;
void createDocumentationFile() const Q_DECL_OVERRIDE;
QString documentationFilePath() const override;
void createDocumentationFile() const override;
private slots:
void helperSetVersion();
......
......@@ -73,9 +73,9 @@ class BeautifierPlugin : public ExtensionSystem::IPlugin
public:
BeautifierPlugin();
~BeautifierPlugin();
bool initialize(const QStringList &arguments, QString *errorString) Q_DECL_OVERRIDE;
void extensionsInitialized() Q_DECL_OVERRIDE;
ShutdownFlag aboutToShutdown() Q_DECL_OVERRIDE;
bool initialize(const QStringList &arguments, QString *errorString) override;
void extensionsInitialized() override;
ShutdownFlag aboutToShutdown() override;
QString format(const QString &text, const Command &command, const QString &fileName,
bool *timeout = 0);
......
......@@ -53,9 +53,9 @@ class ClangFormat : public BeautifierAbstractTool
public:
explicit ClangFormat(BeautifierPlugin *parent = 0);
virtual ~ClangFormat();
bool initialize() Q_DECL_OVERRIDE;
void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
bool initialize() override;
void updateActions(Core::IEditor *editor) override;
QList<QObject *> autoReleaseObjects() override;
private slots:
void formatFile();
......
......@@ -65,9 +65,9 @@ class ClangFormatOptionsPage : public Core::IOptionsPage
public:
explicit ClangFormatOptionsPage(ClangFormatSettings *settings, QObject *parent = 0);
QWidget *widget() Q_DECL_OVERRIDE;
void apply() Q_DECL_OVERRIDE;
void finish() Q_DECL_OVERRIDE;
QWidget *widget() override;
void apply() override;
void finish() override;
private:
QPointer<ClangFormatOptionsPageWidget> m_widget;
......
......@@ -45,9 +45,9 @@ class ClangFormatSettings : public AbstractSettings
public:
explicit ClangFormatSettings();
QString documentationFilePath() const Q_DECL_OVERRIDE;
void createDocumentationFile() const Q_DECL_OVERRIDE;
QStringList completerWords() Q_DECL_OVERRIDE;
QString documentationFilePath() const override;
void createDocumentationFile() const override;
QStringList completerWords() override;
bool usePredefinedStyle() const;
void setUsePredefinedStyle(bool usePredefinedStyle);
......
......@@ -61,7 +61,7 @@ public:
void setCommentExpression(const QRegExp &rx);
protected:
void highlightBlock(const QString &text) Q_DECL_OVERRIDE;
void highlightBlock(const QString &text) override;
private:
QRegExp m_expressionKeyword;
......@@ -80,8 +80,8 @@ public:
void setCommentExpression(const QRegExp &rx);
protected:
bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
bool eventFilter(QObject *object, QEvent *event) override;
void keyPressEvent(QKeyEvent *event) override;
private slots:
void insertCompleterText(const QString &text);
......
......@@ -52,9 +52,9 @@ class Uncrustify : public BeautifierAbstractTool
public:
explicit Uncrustify(BeautifierPlugin *parent = 0);
virtual ~Uncrustify();
bool initialize() Q_DECL_OVERRIDE;
void updateActions(Core::IEditor *editor) Q_DECL_OVERRIDE;
QList<QObject *> autoReleaseObjects() Q_DECL_OVERRIDE;
bool initialize() override;
void updateActions(Core::IEditor *editor) override;
QList<QObject *> autoReleaseObjects() override;
private slots:
void formatFile();
......
......@@ -65,9 +65,9 @@ class UncrustifyOptionsPage : public Core::IOptionsPage
public:
explicit UncrustifyOptionsPage(UncrustifySettings *settings, QObject *parent = 0);
QWidget *widget() Q_DECL_OVERRIDE;
void apply() Q_DECL_OVERRIDE;
void finish() Q_DECL_OVERRIDE;
QWidget *widget() override;
void apply() override;
void finish() override;
private:
QPointer<UncrustifyOptionsPageWidget> m_widget;
......
......@@ -55,8 +55,8 @@ public:
QString customStyle() const;
void setCustomStyle(const QString &customStyle);
QString documentationFilePath() const Q_DECL_OVERRIDE;
void createDocumentationFile() const Q_DECL_OVERRIDE;
QString documentationFilePath() const override;
void createDocumentationFile() const override;
};
} // namespace Uncrustify
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment