Base class for jobs that operate on mailbox metadata.
Provides support for the IMAP METADATA extension; both the final RFC version (RFC 5464) and the older, incompatible draft version (known as ANNOTATEMORE) (draft-daboo-imap-annotatemore-07).
This class cannot be used directly, you must subclass it and reimplement at least the doStart() method.
Definition at line 33 of file metadatajobbase.h.
Set what version of the metadata extension to be compatible with.
This will determine the commands that will be sent to the server.
The draft for the metadata extension changed in an incompatible way between versions 7 and 8, and some servers support version 7. It should be possible to check which version the server supports using CapabilityJob: servers implementing draft-daboo-imap-annotatemore-07 should advertise the ANNOTATEMORE capability, whereas servers implementing the final RFC 5464 should advertise the METADATA capability.
The default mode is Metadata.
|the version of the extension implemented by the server
Definition at line 78 of file metadatajobbase.cpp.