Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2020-02-05 13:43:22 +0300
committerOlivier Goffart <olivier@woboq.com>2020-02-10 18:41:07 +0300
commit1622615d5f89dcd08ea38701231f1a4ed4559c27 (patch)
tree187557878392363156fd2202e9e25ee402f4c6b5 /src/gui/folderstatusmodel.h
parentc6981fc82435c45fe14f2197aed7d749c2176880 (diff)
Run clang-tidy with modernize-use-override
And also replace all remaining Q_DECL_OVERRIDE to just override
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r--src/gui/folderstatusmodel.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/folderstatusmodel.h b/src/gui/folderstatusmodel.h
index dc451f1e5..662d526fe 100644
--- a/src/gui/folderstatusmodel.h
+++ b/src/gui/folderstatusmodel.h
@@ -40,19 +40,19 @@ class FolderStatusModel : public QAbstractItemModel
Q_OBJECT
public:
FolderStatusModel(QObject *parent = 0);
- ~FolderStatusModel();
+ ~FolderStatusModel() override;
void setAccountState(const AccountState *accountState);
- Qt::ItemFlags flags(const QModelIndex &) const Q_DECL_OVERRIDE;
- QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
- bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) Q_DECL_OVERRIDE;
- int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
- int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
- QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
- QModelIndex parent(const QModelIndex &child) const Q_DECL_OVERRIDE;
- bool canFetchMore(const QModelIndex &parent) const Q_DECL_OVERRIDE;
- void fetchMore(const QModelIndex &parent) Q_DECL_OVERRIDE;
- bool hasChildren(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
+ Qt::ItemFlags flags(const QModelIndex &) const override;
+ QVariant data(const QModelIndex &index, int role) const override;
+ bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
+ int columnCount(const QModelIndex &parent = QModelIndex()) const override;
+ int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+ QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const override;
+ QModelIndex parent(const QModelIndex &child) const override;
+ bool canFetchMore(const QModelIndex &parent) const override;
+ void fetchMore(const QModelIndex &parent) override;
+ bool hasChildren(const QModelIndex &parent = QModelIndex()) const override;
struct SubFolderInfo
{