Commit ec6e59ac authored by Laurent Montel's avatar Laurent Montel
Browse files


parent b537b892
Pipeline #151805 skipped
......@@ -27,7 +27,7 @@ public:
void reindexAll();
void reindexCollection(const qlonglong id);
void reindexCollections(const QList<qlonglong> &ids);
qlonglong indexedItems(const qlonglong id);
Q_REQUIRED_RESULT qlonglong indexedItems(const qlonglong id);
Q_REQUIRED_RESULT int numberOfCollectionQueued();
void itemAdded(const Akonadi::Item &item, const Akonadi::Collection &collection) override;
......@@ -54,8 +54,8 @@ Q_SIGNALS:
void collectionIndexingFinished(const qlonglong id);
bool shouldIndex(const Akonadi::Item &item) const;
bool shouldIndex(const Akonadi::Collection &collection) const;
Q_REQUIRED_RESULT bool shouldIndex(const Akonadi::Item &item) const;
Q_REQUIRED_RESULT bool shouldIndex(const Akonadi::Collection &collection) const;
Index m_index;
Scheduler m_scheduler;
......@@ -133,7 +133,7 @@ public:
Q_REQUIRED_RESULT QByteArray toJSON() const;
static Query fromJSON(const QByteArray &arr);
QUrl toSearchUrl(const QString &title = QString());
Q_REQUIRED_RESULT QUrl toSearchUrl(const QString &title = QString());
static Query fromSearchUrl(const QUrl &url);
static QString titleFromQueryUrl(const QUrl &url);
......@@ -37,8 +37,8 @@ private:
void readConfig();
void writeConfig();
void saveTextAs(const QString &text, const QString &filter);
Q_REQUIRED_RESULT bool saveToFile(const QString &filename, const QString &text);
AkonadiSearchDebugDialogPrivate *const d;
bool saveToFile(const QString &filename, const QString &text);
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