7#include "subscribejob.h"
9#include <KLocalizedString>
12#include "response_p.h"
18class SubscribeJobPrivate :
public JobPrivate
22 : JobPrivate(session,
name)
25 ~SubscribeJobPrivate()
35SubscribeJob::SubscribeJob(
Session *session)
36 : Job(*new SubscribeJobPrivate(session,
i18n(
"Subscribe")))
40SubscribeJob::~SubscribeJob()
44void SubscribeJob::doStart()
47 d->tags << d->sessionInternal()->sendCommand(
"SUBSCRIBE",
'\"' + KIMAP::encodeImapFolderName(d->mailBox.toUtf8()) +
'\"');
50void SubscribeJob::setMailBox(
const QString &mailBox)
56QString SubscribeJob::mailBox()
const
58 Q_D(
const SubscribeJob);
62#include "moc_subscribejob.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 Fri Oct 4 2024 11:59:08 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.