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

Add missing some Q_REQUIRED_RESULT

parent 8da9ae27
Pipeline #27797 canceled with stage
......@@ -20,8 +20,8 @@ public:
explicit SendLaterCreateJob(const SendLaterInfo &info, QObject *parent = nullptr);
protected:
QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
QString getErrorString(SendLaterJob::Error code, const QString &detail) const override;
Q_REQUIRED_RESULT QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
Q_REQUIRED_RESULT QString getErrorString(SendLaterJob::Error code, const QString &detail) const override;
private:
SendLaterInfo mInfo;
......
......@@ -20,8 +20,8 @@ public:
explicit SendLaterRemoveJob(Akonadi::Item::Id item, QObject *parent = nullptr);
protected:
QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
QString getErrorString(Error error, const QString &detail) const override;
Q_REQUIRED_RESULT QDBusPendingReply<> doCall(OrgFreedesktopAkonadiSendLaterAgentInterface *iface) override;
Q_REQUIRED_RESULT QString getErrorString(Error error, const QString &detail) const override;
private:
Akonadi::Item::Id mItem;
......
......@@ -12,8 +12,8 @@
namespace MessageComposer {
namespace SendLaterUtil {
QString agentServiceName();
QString dbusPath();
Q_REQUIRED_RESULT QString agentServiceName();
Q_REQUIRED_RESULT QString dbusPath();
}
}
......
......@@ -23,7 +23,7 @@ public:
void setToggleMode(bool state);
bool toggleMode() const;
Q_REQUIRED_RESULT bool toggleMode() const;
void setStateString(const QString &toggled, const QString &untoggled);
Q_SIGNALS:
......
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