Commit 500ebea5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing Q_REQUIRED_RESULT here too

parent baaac56c
Pipeline #148099 passed with stage
in 1 minute and 55 seconds
......@@ -28,7 +28,7 @@ public:
void reindexCollection(const qlonglong id);
void reindexCollections(const QList<qlonglong> &ids);
qlonglong indexedItems(const qlonglong id);
int numberOfCollectionQueued();
Q_REQUIRED_RESULT int numberOfCollectionQueued();
void itemAdded(const Akonadi::Item &item, const Akonadi::Collection &collection) override;
void itemChanged(const Akonadi::Item &item, const QSet<QByteArray> &partIdentifiers) override;
......
......@@ -26,7 +26,7 @@ public:
explicit AkonotesIndexer(const QString &path);
~AkonotesIndexer() override;
QStringList mimeTypes() const override;
Q_REQUIRED_RESULT QStringList mimeTypes() const override;
void index(const Akonadi::Item &item) override;
void commit() override;
......
......@@ -27,7 +27,7 @@ public:
explicit CalendarIndexer(const QString &path);
~CalendarIndexer() override;
QStringList mimeTypes() const override;
Q_REQUIRED_RESULT QStringList mimeTypes() const override;
void index(const Akonadi::Item &item) override;
void commit() override;
......
......@@ -16,7 +16,7 @@ public:
explicit ContactIndexer(const QString &path);
~ContactIndexer() override;
QStringList mimeTypes() const override;
Q_REQUIRED_RESULT QStringList mimeTypes() const override;
void index(const Akonadi::Item &item) override;
void remove(const Akonadi::Item &item) override;
......
......@@ -24,7 +24,7 @@ public:
EmailIndexer(const QString &path, const QString &contactDbPath);
~EmailIndexer() override;
QStringList mimeTypes() const override;
Q_REQUIRED_RESULT QStringList mimeTypes() const override;
void index(const Akonadi::Item &item) override;
void updateFlags(const Akonadi::Item &item, const QSet<QByteArray> &added, const QSet<QByteArray> &removed) override;
......
......@@ -55,7 +55,7 @@ public:
*/
void setBusyTimeout(int);
int numberOfCollectionQueued() const;
Q_REQUIRED_RESULT int numberOfCollectionQueued() const;
Q_SIGNALS:
void status(int status, const QString &message = QString());
......
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