9#include <KLocalizedString>
12#include "response_p.h"
18class RenameJobPrivate :
public JobPrivate
22 : JobPrivate(session,
name)
36RenameJob::RenameJob(
Session *session)
37 : Job(*new RenameJobPrivate(session,
i18n(
"Rename")))
41RenameJob::~RenameJob()
45void RenameJob::doStart()
48 d->tags << d->sessionInternal()->sendCommand(
"RENAME",
49 '\"' + KIMAP::encodeImapFolderName(d->sourceMailBox.toUtf8()) +
"\" \""
50 + KIMAP::encodeImapFolderName(d->destinationMailBox.toUtf8()) +
'\"');
53void RenameJob::setSourceMailBox(
const QString &mailBox)
56 d->sourceMailBox = mailBox;
59QString RenameJob::sourceMailBox()
const
62 return d->sourceMailBox;
65void RenameJob::setDestinationMailBox(
const QString &mailBox)
68 d->destinationMailBox = mailBox;
71QString RenameJob::destinationMailBox()
const
74 return d->destinationMailBox;
77#include "moc_renamejob.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 Mon Nov 18 2024 12:09:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.