Commit d8de8c91 authored by Kevin Funk's avatar Kevin Funk
Browse files

Minor: s/Q_DECL_OVERRIDE/override/

parent 6dcbb793
......@@ -46,7 +46,7 @@ public:
explicit KPImageDialogPreview(QWidget* const parent=nullptr);
~KPImageDialogPreview();
QSize sizeHint() const Q_DECL_OVERRIDE;
QSize sizeHint() const override;
private Q_SLOTS:
......@@ -57,7 +57,7 @@ private Q_SLOTS:
private:
void resizeEvent(QResizeEvent* e) Q_DECL_OVERRIDE;
void resizeEvent(QResizeEvent* e) override;
private:
......
......@@ -52,7 +52,7 @@ public:
void setShowLeftView(bool v);
void setComplete(bool b);
bool isComplete() const Q_DECL_OVERRIDE;
bool isComplete() const override;
int id() const;
......
......@@ -25,10 +25,10 @@ public:
void setGroupKey(const QString &groupKey);
/// Get a string value for a key
QString value(const QString &key, const QString &defaultValue = QString()) Q_DECL_OVERRIDE;
QString value(const QString &key, const QString &defaultValue = QString()) override;
/// Set a string value for a key
void setValue(const QString &key, const QString &value) Q_DECL_OVERRIDE;
void setValue(const QString &key, const QString &value) override;
Q_SIGNALS:
// Property change signals
......
......@@ -91,10 +91,10 @@ public:
public Q_SLOTS:
/// Authenticate.
Q_INVOKABLE void link() Q_DECL_OVERRIDE;
Q_INVOKABLE void link() override;
/// De-authenticate.
Q_INVOKABLE void unlink() Q_DECL_OVERRIDE;
Q_INVOKABLE void unlink() override;
Q_SIGNALS:
void requestTokenUrlChanged();
......
......@@ -107,10 +107,10 @@ public:
public Q_SLOTS:
/// Authenticate.
Q_INVOKABLE void link() Q_DECL_OVERRIDE;
Q_INVOKABLE void link() override;
/// De-authenticate.
Q_INVOKABLE void unlink() Q_DECL_OVERRIDE;
Q_INVOKABLE void unlink() override;
/// Refresh token.
Q_INVOKABLE void refresh();
......
......@@ -118,7 +118,7 @@ protected:
/** Main thread loop used to process jobs in todo list.
*/
void run() Q_DECL_OVERRIDE;
void run() override;
/** Append a collection of jobs to process into QThreadPool.
* Jobs are add to pending lists and will be deleted by KPThreadManager, not QThreadPool.
......
......@@ -67,14 +67,14 @@ public:
void setContentsMargins(int left, int top, int right, int bottom);
void setStretchFactor(QWidget* const widget, int stretch);
QSize sizeHint() const Q_DECL_OVERRIDE;
QSize minimumSizeHint() const Q_DECL_OVERRIDE;
QSize sizeHint() const override;
QSize minimumSizeHint() const override;
protected:
KPHBox(bool vertical, QWidget* const parent);
void childEvent(QChildEvent* e) Q_DECL_OVERRIDE;
void childEvent(QChildEvent* e) override;
};
// ------------------------------------------------------------------------------------
......@@ -175,7 +175,7 @@ private Q_SLOTS:
private:
void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent*) override;
private:
......
......@@ -161,14 +161,14 @@ public:
private:
void dragEnterEvent(QDragEnterEvent* e) Q_DECL_OVERRIDE;
void dragMoveEvent(QDragMoveEvent* e) Q_DECL_OVERRIDE;
void dropEvent(QDropEvent* e) Q_DECL_OVERRIDE;
void contextMenuEvent(QContextMenuEvent * e) Q_DECL_OVERRIDE;
void dragEnterEvent(QDragEnterEvent* e) override;
void dragMoveEvent(QDragMoveEvent* e) override;
void dropEvent(QDropEvent* e) override;
void contextMenuEvent(QContextMenuEvent * e) override;
void setup(int iconSize);
void drawRow(QPainter* p, const QStyleOptionViewItem& opt, const QModelIndex& index) const Q_DECL_OVERRIDE;
void drawRow(QPainter* p, const QStyleOptionViewItem& opt, const QModelIndex& index) const override;
private:
......
......@@ -59,7 +59,7 @@ public:
DropboxWidget(QWidget* const parent, KIPI::Interface* const iface, const QString& pluginName);
~DropboxWidget();
void updateLabels(const QString& name = QString(), const QString& url = QString()) Q_DECL_OVERRIDE;
void updateLabels(const QString& name = QString(), const QString& url = QString()) override;
friend class DBWindow;
};
......
......@@ -80,7 +80,7 @@ private:
void uploadNextPhoto();
void buttonStateChange(bool state);
void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent*) override;
private Q_SLOTS:
......
......@@ -54,7 +54,7 @@ public:
Plugin_Dropbox(QObject* const parent, const QVariantList& args);
~Plugin_Dropbox();
void setup(QWidget* const) Q_DECL_OVERRIDE;
void setup(QWidget* const) override;
public Q_SLOTS:
......
......@@ -64,7 +64,7 @@ public:
FbWidget(QWidget* const parent, KIPI::Interface* const iface, const QString& pluginName);
~FbWidget();
void updateLabels(const QString& name = QString(), const QString& url = QString()) Q_DECL_OVERRIDE;
void updateLabels(const QString& name = QString(), const QString& url = QString()) override;
// QString getAlbumID() const;
// QString getDestinationPath() const;
......
......@@ -115,7 +115,7 @@ private:
void buttonStateChange(bool state);
void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent*) override;
private:
......
......@@ -56,7 +56,7 @@ public:
Plugin_Facebook(QObject* const parent, const QVariantList& args);
~Plugin_Facebook();
void setup(QWidget* const) Q_DECL_OVERRIDE;
void setup(QWidget* const) override;
public Q_SLOTS:
......
......@@ -60,11 +60,11 @@ public:
/* Overloaded functions to provide the delegate functionality.
*/
void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
QWidget* createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
void setEditorData(QWidget*, const QModelIndex&) const Q_DECL_OVERRIDE;
void setModelData(QWidget*, QAbstractItemModel*, const QModelIndex&) const Q_DECL_OVERRIDE;
void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const override;
QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const override;
QWidget* createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const override;
void setEditorData(QWidget*, const QModelIndex&) const override;
void setModelData(QWidget*, QAbstractItemModel*, const QModelIndex&) const override;
private Q_SLOTS:
......
......@@ -98,7 +98,7 @@ Q_SIGNALS:
public Q_SLOTS:
void slotAddImages(const QList<QUrl>& list) Q_DECL_OVERRIDE;
void slotAddImages(const QList<QUrl>& list) override;
private:
......@@ -159,7 +159,7 @@ public:
*/
void toggled();
void updateItemWidgets() Q_DECL_OVERRIDE;
void updateItemWidgets() override;
private:
......
......@@ -65,7 +65,7 @@ public:
FlickrWidget(QWidget* const parent, KIPI::Interface* const iface, const QString& serviceName);
~FlickrWidget();
void updateLabels(const QString& name = QString(), const QString& url = QString()) Q_DECL_OVERRIDE;
void updateLabels(const QString& name = QString(), const QString& url = QString()) override;
private Q_SLOTS:
......
......@@ -119,7 +119,7 @@ private:
QString guessSensibleSetName(const QList<QUrl>& urlList);
void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent*) override;
void readSettings(QString uname);
void writeSettings();
......
......@@ -50,7 +50,7 @@ public:
Plugin_Flickr(QObject* const parent, const QVariantList& args);
~Plugin_Flickr();
void setup(QWidget* const) Q_DECL_OVERRIDE;
void setup(QWidget* const) override;
public Q_SLOTS:
......
......@@ -68,7 +68,7 @@ public:
GoogleServicesWidget(QWidget* const parent, KIPI::Interface* const iface, const PluginName& pluginName, const QString& serviceName);
~GoogleServicesWidget();
void updateLabels(const QString& name = QString(), const QString& url = QString()) Q_DECL_OVERRIDE;
void updateLabels(const QString& name = QString(), const QString& url = QString()) override;
private:
......
Supports Markdown
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