Commit 6829e6f4 authored by Laurent Montel's avatar Laurent Montel 😁

Add Q_DECL_OVERRIDE, const'ify

parent cda45738
......@@ -29,7 +29,7 @@ MessageHelper::~MessageHelper()
}
Akonadi::Item MessageHelper::createItemFromMessage(KMime::Message::Ptr message,
Akonadi::Item MessageHelper::createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
......
......@@ -30,7 +30,7 @@ public:
typedef QSharedPointer<MessageHelper> Ptr;
virtual ~MessageHelper();
virtual Akonadi::Item createItemFromMessage(KMime::Message::Ptr message,
virtual Akonadi::Item createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
......
......@@ -36,7 +36,7 @@ KolabMessageHelper::~KolabMessageHelper()
}
Akonadi::Item KolabMessageHelper::createItemFromMessage(KMime::Message::Ptr message,
Akonadi::Item KolabMessageHelper::createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
......
......@@ -28,13 +28,13 @@ class KolabMessageHelper : public MessageHelper
public:
explicit KolabMessageHelper(const Akonadi::Collection &collection);
virtual ~KolabMessageHelper();
virtual Akonadi::Item createItemFromMessage(KMime::Message::Ptr message,
Akonadi::Item createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
const QList<QByteArray> &flags,
const KIMAP::FetchJob::FetchScope &scope,
bool &ok) const;
bool &ok) const Q_DECL_OVERRIDE;
private:
Akonadi::Collection mCollection;
......
......@@ -48,7 +48,7 @@ class TagChangeHelper : public QObject
{
Q_OBJECT
public:
explicit TagChangeHelper(KolabRelationResourceTask *parent = 0);
explicit TagChangeHelper(KolabRelationResourceTask *parent = Q_NULLPTR);
void start(const Akonadi::Tag &tag, const KMime::Message::Ptr &message, KIMAP::Session *session);
......
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