Commit 547c7b3f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing Q_REQUIRED_RESULT

parent 8afc7223
Pipeline #64631 passed with stage
in 24 minutes and 10 seconds
......@@ -246,8 +246,8 @@ private:
/**
* Returns true if the message was modified by the user.
*/
bool isModified() const;
bool isComposerModified() const;
Q_REQUIRED_RESULT bool isModified() const;
Q_REQUIRED_RESULT bool isComposerModified() const;
void changeModifiedState(bool modified);
public Q_SLOTS: // kmkernel, callback
......@@ -547,15 +547,20 @@ private:
*/
Q_REQUIRED_RESULT MessageComposer::Composer *createSimpleComposer();
bool canSignEncryptAttachments() const;
Q_REQUIRED_RESULT bool canSignEncryptAttachments() const;
// helper method for rethinkFields
int calcColumnWidth(int which, long allShowing, int width) const;
Q_REQUIRED_RESULT int calcColumnWidth(int which, long allShowing, int width) const;
inline bool encryptToSelf() const;
Q_REQUIRED_RESULT inline bool encryptToSelf() const;
private:
enum CryptoKeyState { NoState = 0, InProgress, KeyOk, NoKey };
enum CryptoKeyState {
NoState = 0,
InProgress,
KeyOk,
NoKey,
};
void slotToggleMenubar(bool dontShowWarning);
void slotCryptoModuleSelected();
......
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