7#include "unsubscribejob.h"
9#include <KLocalizedString>
12#include "response_p.h"
18class UnsubscribeJobPrivate :
public JobPrivate
22 : JobPrivate(session,
name)
25 ~UnsubscribeJobPrivate()
35UnsubscribeJob::UnsubscribeJob(
Session *session)
36 : Job(*new UnsubscribeJobPrivate(session,
i18n(
"Unsubscribe")))
40UnsubscribeJob::~UnsubscribeJob()
44void UnsubscribeJob::doStart()
47 d->tags << d->sessionInternal()->sendCommand(
"UNSUBSCRIBE",
'\"' + KIMAP::encodeImapFolderName(d->mailBox.toUtf8()) +
'\"');
50void UnsubscribeJob::setMailBox(
const QString &mailBox)
56QString UnsubscribeJob::mailBox()
const
58 Q_D(
const UnsubscribeJob);
62#include "moc_unsubscribejob.cpp"
QString i18n(const char *text, const TYPE &arg...)
QString name(StandardAction id)
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-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:17 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.