KIMAP Library
setquotajob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KIMAP_SETQUOTAJOB_H
00021 #define KIMAP_SETQUOTAJOB_H
00022
00023 #include "quotajobbase.h"
00024
00025 namespace KIMAP {
00026
00027 class Session;
00028 struct Message;
00029 class SetQuotaJobPrivate;
00030
00031 class KIMAP_EXPORT SetQuotaJob : public QuotaJobBase
00032 {
00033 Q_OBJECT
00034 Q_DECLARE_PRIVATE(SetQuotaJob)
00035
00036 friend class SessionPrivate;
00037
00038 public:
00039 explicit SetQuotaJob( Session *session );
00040 virtual ~SetQuotaJob();
00041
00047
00048 void setQuota(const QByteArray& resource, qint64 limit);
00049
00050 void setRoot(const QByteArray &root);
00051 QByteArray root() const;
00052
00053 protected:
00054 virtual void doStart();
00055 virtual void handleResponse(const Message &response);
00056
00057 };
00058
00059 }
00060
00061 #endif