Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6a7ed5b5 authored by Laurent Montel's avatar Laurent Montel 😁

USe Q_DECL_OVERRIDE

parent 665fbc9a
......@@ -35,12 +35,12 @@ public:
void init(const QVariantMap &arguments) Q_DECL_OVERRIDE;
QString name() const;
QString serviceName() const;
KScreen::ConfigPtr config() const;
void setConfig(const KScreen::ConfigPtr &config);
QByteArray edid(int outputId) const;
bool isValid() const;
QString name() const Q_DECL_OVERRIDE;
QString serviceName() const Q_DECL_OVERRIDE;
KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE;
QByteArray edid(int outputId) const Q_DECL_OVERRIDE;
bool isValid() const Q_DECL_OVERRIDE;
void setConnected(int outputId, bool connected);
void setEnabled(int outputId, bool enabled);
......
......@@ -39,11 +39,11 @@ public:
explicit QScreenBackend();
virtual ~QScreenBackend();
virtual QString name() const;
virtual QString serviceName() const;
virtual KScreen::ConfigPtr config() const;
virtual void setConfig(const KScreen::ConfigPtr &config);
virtual bool isValid() const;
QString name() const Q_DECL_OVERRIDE;
QString serviceName() const Q_DECL_OVERRIDE;
KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE;
bool isValid() const Q_DECL_OVERRIDE;
private:
bool m_isValid;
......
......@@ -45,12 +45,12 @@ class XRandR : public KScreen::AbstractBackend
explicit XRandR();
virtual ~XRandR();
virtual QString name() const;
virtual QString serviceName() const;
virtual KScreen::ConfigPtr config() const;
virtual void setConfig(const KScreen::ConfigPtr &config);
virtual bool isValid() const;
virtual QByteArray edid(int outputId) const;
QString name() const Q_DECL_OVERRIDE;
QString serviceName() const Q_DECL_OVERRIDE;
KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE;
bool isValid() const Q_DECL_OVERRIDE;
QByteArray edid(int outputId) const Q_DECL_OVERRIDE;
static quint8 *outputEdid(xcb_randr_output_t outputId, size_t &len);
static xcb_randr_get_screen_resources_reply_t* screenResources();
......
......@@ -36,11 +36,11 @@ public:
explicit XRandR11();
virtual ~XRandR11();
virtual QString name() const;
virtual QString serviceName() const;
virtual KScreen::ConfigPtr config() const;
virtual void setConfig(const KScreen::ConfigPtr &config);
virtual bool isValid() const;
QString name() const Q_DECL_OVERRIDE;
QString serviceName() const Q_DECL_OVERRIDE;
KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE;
bool isValid() const Q_DECL_OVERRIDE;
private Q_SLOTS:
void updateConfig();
......
......@@ -38,7 +38,7 @@ class GetConfigOperationPrivate : public ConfigOperationPrivate
public:
GetConfigOperationPrivate(GetConfigOperation::Options options, GetConfigOperation *qq);
virtual void backendReady(org::kde::kscreen::Backend* backend);
void backendReady(org::kde::kscreen::Backend* backend) Q_DECL_OVERRIDE;
void onConfigReceived(QDBusPendingCallWatcher *watcher);
void onEDIDReceived(QDBusPendingCallWatcher *watcher);
......
......@@ -43,7 +43,7 @@ public:
virtual KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
protected:
void start();
void start() Q_DECL_OVERRIDE;
private:
Q_DECLARE_PRIVATE(GetConfigOperation)
......
......@@ -42,7 +42,7 @@ class SetConfigOperationPrivate : public ConfigOperationPrivate
public:
explicit SetConfigOperationPrivate(const KScreen::ConfigPtr &config, ConfigOperation* qq);
void backendReady(org::kde::kscreen::Backend* backend);
void backendReady(org::kde::kscreen::Backend* backend) Q_DECL_OVERRIDE;
void onConfigSet(QDBusPendingCallWatcher *watcher);
void normalizeOutputPositions();
......
......@@ -38,7 +38,7 @@ public:
KScreen::ConfigPtr config() const Q_DECL_OVERRIDE;
protected:
void start();
void start() Q_DECL_OVERRIDE;
private:
Q_DECLARE_PRIVATE(SetConfigOperation)
......
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