Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
85c129a2
Commit
85c129a2
authored
Sep 13, 2021
by
Laurent Montel
😁
Browse files
Add missing Q_REQUIRED_RESULT
parent
e52216a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmkernel.h
View file @
85c129a2
...
...
@@ -376,7 +376,7 @@ public:
* Returns a model of all folders in KMail. This is basically the same as entityTreeModel(),
* but with items filtered out, the model contains only collections.
*/
Akonadi
::
EntityMimeTypeFilterModel
*
collectionModel
()
const
override
;
Q_REQUIRED_RESULT
Akonadi
::
EntityMimeTypeFilterModel
*
collectionModel
()
const
override
;
void
recoverDeadLetters
();
void
closeAllKMailWindows
();
...
...
@@ -403,10 +403,10 @@ public:
// sets online status for akonadi accounts. true for online, false for offline
void
setAccountStatus
(
bool
);
const
QString
xmlGuiInstanceName
()
const
;
Q_REQUIRED_RESULT
const
QString
xmlGuiInstanceName
()
const
;
void
setXmlGuiInstanceName
(
const
QString
&
instance
);
KMail
::
UndoStack
*
undoStack
()
const
;
Q_REQUIRED_RESULT
KMail
::
UndoStack
*
undoStack
()
const
;
MessageComposer
::
MessageSender
*
msgSender
()
override
;
void
openFilterDialog
(
bool
createDummyFilter
=
true
)
override
;
...
...
@@ -430,7 +430,7 @@ public:
*/
Q_REQUIRED_RESULT
bool
haveSystemTrayApplet
()
const
;
QTextCodec
*
networkCodec
()
const
;
Q_REQUIRED_RESULT
QTextCodec
*
networkCodec
()
const
;
/** returns a reference to the first Mainwin or a temporary Mainwin */
KMainWindow
*
mainWin
();
...
...
@@ -457,7 +457,7 @@ public:
void
stopAgentInstance
();
// ISettings
bool
showPopupAfterDnD
()
override
;
Q_REQUIRED_RESULT
bool
showPopupAfterDnD
()
override
;
bool
excludeImportantMailFromExpiry
()
override
;
...
...
@@ -486,7 +486,7 @@ public:
Q_REQUIRED_RESULT
Akonadi
::
Search
::
PIM
::
IndexedItems
*
indexedItems
()
const
;
void
cleanupTemporaryFiles
();
MailCommon
::
MailCommonSettings
*
mailCommonSettings
()
const
;
Q_REQUIRED_RESULT
MailCommon
::
MailCommonSettings
*
mailCommonSettings
()
const
;
#ifdef WITH_KUSERFEEDBACK
KUserFeedback
::
Provider
*
userFeedbackProvider
()
const
;
#endif
...
...
@@ -552,7 +552,7 @@ private Q_SLOTS:
private:
void
viewMessage
(
const
QUrl
&
url
);
Akonadi
::
Collection
currentCollection
()
const
;
Q_REQUIRED_RESULT
Akonadi
::
Collection
currentCollection
()
const
;
/*
* Fills a composer cWin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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