Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Search
Commits
ec6e59ac
Commit
ec6e59ac
authored
Mar 17, 2022
by
Laurent Montel
Browse files
Add missing Q_REQUIRED_RESULT
parent
b537b892
Pipeline
#151805
skipped
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
agent/agent.h
View file @
ec6e59ac
...
...
@@ -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
);
private:
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
;
...
...
core/query.h
View file @
ec6e59ac
...
...
@@ -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
);
...
...
debug/akonadisearchdebugdialog.h
View file @
ec6e59ac
...
...
@@ -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
);
};
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment