KIMAP Library
20 #include "createjob.h"
22 #include <KDE/KLocalizedString>
26 #include "message_p.h"
28 #include "session_p.h"
32 class CreateJobPrivate :
public JobPrivate
35 CreateJobPrivate( Session *session,
const QString& name ) : JobPrivate( session, name ) { }
36 ~CreateJobPrivate() { }
42 using namespace KIMAP;
44 CreateJob::CreateJob( Session *session )
45 : Job( *new CreateJobPrivate( session, i18n(
"Create" ) ) )
49 CreateJob::~CreateJob()
53 void CreateJob::doStart()
56 d->tags << d->sessionInternal()->sendCommand(
"CREATE",
'\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) +
'\"' );
QString mailBox() const
The name of the mailbox that will be created.
void setMailBox(const QString &mailBox)
Set the name of the new mailbox.
This file is part of the IMAP support library and defines the RfcCodecs class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:50:31 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.