Commit f7ad341a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing Q_REQUIRED_RESULT

parent 98dbe30d
Pipeline #89770 passed with stage
in 13 minutes and 30 seconds
......@@ -32,9 +32,9 @@ public:
void load();
void save();
QSize restoreDialogSize() const;
Q_REQUIRED_RESULT QSize restoreDialogSize() const;
void saveDialogSize(QSize size);
QDialogButtonBox::StandardButtons standardButtons() const;
Q_REQUIRED_RESULT QDialogButtonBox::StandardButtons standardButtons() const;
Q_SIGNALS:
void enableOkButton(bool enabled);
......
......@@ -113,7 +113,7 @@ public:
*
* @since 4.7
*/
static QString defaultPageObjectName(DefaultPage page);
static Q_REQUIRED_RESULT QString defaultPageObjectName(DefaultPage page);
/**
* Sets the page to be shown in the tab widget.
......
......@@ -135,7 +135,7 @@ public:
/**
* Returns the page title.
*/
QString pageTitle() const;
Q_REQUIRED_RESULT QString pageTitle() const;
private:
/// @cond PRIVATE
......
......@@ -94,14 +94,14 @@ public:
/**
* Returns whether the unread count is drawn next to the folder name.
*/
bool unreadCountShown() const;
Q_REQUIRED_RESULT bool unreadCountShown() const;
/**
* @param enable new mode of progress animation
*/
void setProgressAnimationEnabled(bool enable);
bool progressAnimationEnabled() const;
Q_REQUIRED_RESULT bool progressAnimationEnabled() const;
protected:
/**
......
......@@ -46,9 +46,9 @@ public:
/**
* Returns whether the drop action menu is shown on drop operation.
*/
bool showDropActionMenu() const;
Q_REQUIRED_RESULT bool showDropActionMenu() const;
bool isManualSortingActive() const;
Q_REQUIRED_RESULT bool isManualSortingActive() const;
/**
* Set true if we automatic sorting
......
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