akonadi
20 #ifndef AKONADI_MOVEJOBIMPL_P_H
21 #define AKONADI_MOVEJOBIMPL_P_H
23 #include "collection.h"
26 #include "protocolhelper_p.h"
38 inline void sendCommand(
const char* asapCommand )
40 MoveJob *q =
static_cast<MoveJob*
>( q_func() );
41 if ( objectsToMove.isEmpty() ) {
43 q->setErrorText( i18n(
"No objects specified for moving" ) );
49 q->setErrorText( i18n(
"No valid destination specified" ) );
54 QByteArray command =
newTag();
57 }
catch (
const std::exception &e ) {
59 q->setErrorText( QString::fromUtf8( e.what() ) );
64 if ( objectsToMove.first().isValid() )
65 command += QByteArray::number( destination.
id() );
67 command += ImapParser::quote( destination.
remoteId().toUtf8() );
72 typename T::List objectsToMove;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:39 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.