29class RenameJobPrivate :
public JobPrivate
32 RenameJobPrivate(
Session *session,
const QString &name) : JobPrivate(session,
name) { }
33 ~RenameJobPrivate() { }
40using namespace KIMAP2;
42RenameJob::RenameJob(
Session *session)
43 : Job(*new RenameJobPrivate(session,
"Rename"))
47RenameJob::~RenameJob()
51void RenameJob::doStart()
54 d->sendCommand(
"RENAME",
'\"' + KIMAP2::encodeImapFolderName(d->sourceMailBox.toUtf8()) +
55 "\" \"" + KIMAP2::encodeImapFolderName(d->destinationMailBox.toUtf8()) +
'\"');
58void RenameJob::setSourceMailBox(
const QString &mailBox)
61 d->sourceMailBox = mailBox;
64QString RenameJob::sourceMailBox()
const
67 return d->sourceMailBox;
70void RenameJob::setDestinationMailBox(
const QString &mailBox)
73 d->destinationMailBox = mailBox;
76QString RenameJob::destinationMailBox()
const
79 return d->destinationMailBox;
QString name(GameStandardAction 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 Nov 29 2024 11:56:35 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.