Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8080a870 authored by Laurent Montel's avatar Laurent Montel 😁

USe directly override keyword

parent 35464c7f
......@@ -50,7 +50,7 @@ class KIMAP_EXPORT AclJobBase : public Job
public:
AclJobBase(Session *session);
virtual ~AclJobBase();
~AclJobBase() override;
/**
* Used when subclassing to specify how the ACL will be modified.
......
......@@ -50,7 +50,7 @@ class KIMAP_EXPORT AppendJob : public Job
public:
explicit AppendJob(Session *session);
virtual ~AppendJob();
~AppendJob() override;
/**
* Set the mailbox to append the message to.
......
......@@ -52,7 +52,7 @@ class KIMAP_EXPORT CapabilitiesJob : public Job
public:
CapabilitiesJob(Session *session);
virtual ~CapabilitiesJob();
~CapabilitiesJob() override;
/**
* The capabilities the server claims to support.
......
......@@ -59,7 +59,7 @@ class KIMAP_EXPORT CloseJob : public Job
public:
explicit CloseJob(Session *session);
virtual ~CloseJob();
~CloseJob() override;
protected:
void doStart() override;
......
......@@ -53,7 +53,7 @@ class KIMAP_EXPORT CopyJob : public Job
public:
explicit CopyJob(Session *session);
virtual ~CopyJob();
~CopyJob() override;
/**
* Sets the destination mailbox.
......
......@@ -54,7 +54,7 @@ class KIMAP_EXPORT CreateJob : public Job
public:
explicit CreateJob(Session *session);
virtual ~CreateJob();
~CreateJob() override;
/**
* Set the name of the new mailbox
......
......@@ -54,7 +54,7 @@ class KIMAP_EXPORT DeleteAclJob : public AclJobBase
public:
explicit DeleteAclJob(Session *session);
virtual ~DeleteAclJob();
~DeleteAclJob() override;
/**
* Sets the identifier to remove
......
......@@ -53,7 +53,7 @@ class KIMAP_EXPORT DeleteJob : public Job
public:
explicit DeleteJob(Session *session);
virtual ~DeleteJob();
~DeleteJob() override;
/**
* Set the mailbox to delete.
......
......@@ -52,7 +52,7 @@ class KIMAP_EXPORT ExpungeJob : public Job
public:
explicit ExpungeJob(Session *session);
virtual ~ExpungeJob();
~ExpungeJob() override;
protected:
void doStart() override;
......
......@@ -187,7 +187,7 @@ public:
};
explicit FetchJob(Session *session);
virtual ~FetchJob();
~FetchJob() override;
/**
* Set which messages to fetch data for.
......
......@@ -69,7 +69,7 @@ class KIMAP_EXPORT GetAclJob : public AclJobBase
public:
explicit GetAclJob(Session *session);
virtual ~GetAclJob();
~GetAclJob() override;
/**
* The identifiers present in the ACL.
......
......@@ -68,7 +68,7 @@ class KIMAP_EXPORT GetMetaDataJob : public MetaDataJobBase
public:
explicit GetMetaDataJob(Session *session);
virtual ~GetMetaDataJob();
~GetMetaDataJob() override;
/**
* Used to specify the depth of the metadata heirachy to walk.
......
......@@ -57,7 +57,7 @@ class KIMAP_EXPORT GetQuotaJob : public QuotaJobBase
public:
explicit GetQuotaJob(Session *session);
virtual ~GetQuotaJob();
~GetQuotaJob() override;
/**
* Set the quota root to get the resource limits for.
......
......@@ -57,7 +57,7 @@ class KIMAP_EXPORT GetQuotaRootJob : public QuotaJobBase
public:
explicit GetQuotaRootJob(Session *session);
virtual ~GetQuotaRootJob();
~GetQuotaRootJob() override;
/**
* Set the mailbox to get the quota roots for.
......
......@@ -44,7 +44,7 @@ class KIMAP_EXPORT IdJob : public Job
public:
IdJob( Session *session);
virtual ~IdJob();
~IdJob() override;
void setField(const QByteArray &name, const QByteArray &field);
......
......@@ -66,7 +66,7 @@ class KIMAP_EXPORT IdleJob : public Job
public:
explicit IdleJob(Session *session);
virtual ~IdleJob();
~IdleJob() override;
/**
* The last mailbox status that was reported.
......
......@@ -40,7 +40,7 @@ class KIMAP_EXPORT Job : public KJob
friend class SessionPrivate;
public:
virtual ~Job();
~Job() override;
Session *session() const;
......
......@@ -62,7 +62,7 @@ public:
};
explicit ListJob(Session *session);
virtual ~ListJob();
~ListJob() override;
KIMAP_DEPRECATED void setIncludeUnsubscribed(bool include);
KIMAP_DEPRECATED bool isIncludeUnsubscribed() const;
......
......@@ -55,7 +55,7 @@ class KIMAP_EXPORT ListRightsJob : public AclJobBase
public:
explicit ListRightsJob(Session *session);
virtual ~ListRightsJob();
~ListRightsJob() override;
/**
* Sets the identifier that should be looked up
......
......@@ -66,7 +66,7 @@ public:
};
explicit LoginJob(Session *session);
virtual ~LoginJob();
~LoginJob() override;
QString userName() const;
void setUserName(const QString &userName);
......
......@@ -39,7 +39,7 @@ class KIMAP_EXPORT LogoutJob : public Job
public:
explicit LogoutJob(Session *session);
virtual ~LogoutJob();
~LogoutJob() override;
protected:
void doStart() override;
......
......@@ -54,7 +54,7 @@ class KIMAP_EXPORT MetaDataJobBase : public Job
public:
explicit MetaDataJobBase(Session *session);
virtual ~MetaDataJobBase();
~MetaDataJobBase() override;
/**
* Represents the capability level of the server.
......
......@@ -51,7 +51,7 @@ class KIMAP_EXPORT MoveJob : public Job
public:
explicit MoveJob(Session *session);
virtual ~MoveJob();
~MoveJob() override;
/**
* Set the destination mailbox
......
......@@ -63,7 +63,7 @@ class KIMAP_EXPORT MyRightsJob : public AclJobBase
public:
explicit MyRightsJob(Session *session);
virtual ~MyRightsJob();
~MyRightsJob() override;
/**
* Check whether the current user has the a particular right
......
......@@ -41,7 +41,7 @@ class KIMAP_EXPORT NamespaceJob : public Job
public:
NamespaceJob(Session *session);
virtual ~NamespaceJob();
~NamespaceJob() override;
QList<MailBoxDescriptor> personalNamespaces() const;
QList<MailBoxDescriptor> userNamespaces() const;
......
......@@ -49,7 +49,7 @@ class KIMAP_EXPORT QuotaJobBase : public Job
public:
explicit QuotaJobBase(Session *session);
virtual ~QuotaJobBase();
~QuotaJobBase() override;
/**
* Get the current usage for a resource.
......
......@@ -39,7 +39,7 @@ class KIMAP_EXPORT RenameJob : public Job
public:
explicit RenameJob(Session *session);
virtual ~RenameJob();
~RenameJob() override;
/**
* Set the name of the mailbox that will be renamed.
......
......@@ -169,7 +169,7 @@ public:
};
explicit SearchJob(Session *session);
virtual ~SearchJob();
~SearchJob() override;
void setUidBased(bool uidBased);
bool isUidBased() const;
......
......@@ -40,7 +40,7 @@ class KIMAP_EXPORT SelectJob : public Job
public:
explicit SelectJob(Session *session);
virtual ~SelectJob();
~SelectJob() override;
void setMailBox(const QString &mailBox);
QString mailBox() const;
......
......@@ -48,7 +48,7 @@ class KIMAP_EXPORT SessionPrivate : public QObject
public:
explicit SessionPrivate(Session *session);
virtual ~SessionPrivate();
~SessionPrivate() override;
void addJob(Job *job);
QByteArray sendCommand(const QByteArray &command, const QByteArray &args = QByteArray());
......
......@@ -50,7 +50,7 @@ class KIMAP_EXPORT SetAclJob : public AclJobBase
public:
explicit SetAclJob(Session *session);
virtual ~SetAclJob();
~SetAclJob() override;
/**
* Sets the rights that will be changed for the identifier
......
......@@ -75,7 +75,7 @@ class KIMAP_EXPORT SetMetaDataJob : public MetaDataJobBase
public:
explicit SetMetaDataJob(Session *session);
virtual ~SetMetaDataJob();
~SetMetaDataJob() override;
/**
* Adds a metadata entry or attribute to the list of modifications to make
......
......@@ -57,7 +57,7 @@ class KIMAP_EXPORT SetQuotaJob : public QuotaJobBase
public:
explicit SetQuotaJob(Session *session);
virtual ~SetQuotaJob();
~SetQuotaJob() override;
/**
* Set a limit for a quota resource.
......
......@@ -49,7 +49,7 @@ public:
};
explicit StoreJob(Session *session);
virtual ~StoreJob();
~StoreJob() override;
void setSequenceSet(const ImapSet &set);
ImapSet sequenceSet() const;
......
......@@ -39,7 +39,7 @@ class KIMAP_EXPORT SubscribeJob : public Job
public:
explicit SubscribeJob(Session *session);
virtual ~SubscribeJob();
~SubscribeJob() override;
void setMailBox(const QString &mailBox);
QString mailBox() const;
......
......@@ -39,7 +39,7 @@ class KIMAP_EXPORT UnsubscribeJob : public Job
public:
explicit UnsubscribeJob(Session *session);
virtual ~UnsubscribeJob();
~UnsubscribeJob() override;
void setMailBox(const QString &mailBox);
QString mailBox() const;
......
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