KIMAP Library
20 #include "unsubscribejob.h"
22 #include <KDE/KLocalizedString>
26 #include "message_p.h"
27 #include "session_p.h"
32 class UnsubscribeJobPrivate :
public JobPrivate
35 UnsubscribeJobPrivate( Session *session,
const QString& name ) : JobPrivate( session, name ) { }
36 ~UnsubscribeJobPrivate() { }
42 using namespace KIMAP;
44 UnsubscribeJob::UnsubscribeJob( Session *session )
45 : Job( *new UnsubscribeJobPrivate( session, i18n(
"Unsubscribe" ) ) )
49 UnsubscribeJob::~UnsubscribeJob()
53 void UnsubscribeJob::doStart()
55 Q_D( UnsubscribeJob );
56 d->tags << d->sessionInternal()->sendCommand(
"UNSUBSCRIBE",
'\"' + KIMAP::encodeImapFolderName( d->mailBox.toUtf8() ) +
'\"' );
59 void UnsubscribeJob::setMailBox(
const QString &mailBox )
61 Q_D( UnsubscribeJob );
65 QString UnsubscribeJob::mailBox()
const
67 Q_D(
const UnsubscribeJob );
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.