KIMAP Library
20 #include "subscribejob.h"
22 #include <KDE/KLocalizedString>
26 #include "message_p.h"
27 #include "session_p.h"
32 class SubscribeJobPrivate :
public JobPrivate
35 SubscribeJobPrivate( Session *session,
const QString& name ) : JobPrivate( session, name ) { }
36 ~SubscribeJobPrivate() { }
42 using namespace KIMAP;
44 SubscribeJob::SubscribeJob( Session *session )
45 : Job( *new SubscribeJobPrivate( session, i18n(
"Subscribe" ) ) )
49 SubscribeJob::~SubscribeJob()
53 void SubscribeJob::doStart()
56 d->tags << d->sessionInternal()->sendCommand(
"SUBSCRIBE",
'\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) +
'\"' );
59 void SubscribeJob::setMailBox(
const QString &mailBox )
65 QString SubscribeJob::mailBox()
const
67 Q_D(
const SubscribeJob );
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.