24 #ifndef DIGIKAM_RAJCE_COMMAND_H
25 #define DIGIKAM_RAJCE_COMMAND_H
58 virtual QByteArray
encode()
const;
74 bool parseErrorFromQuery(QXmlQuery& query,
RajceSession& state);
97 explicit LoginCommand(
const QString& username,
const QString& password);
140 const QString& description,
214 QByteArray
encode()
const override;
Definition: rajcecommand.h:200
QString contentType() const override
Definition: rajcecommand.cpp:562
~AddPhotoCommand() override
Definition: rajcecommand.cpp:496
QByteArray encode() const override
Definition: rajcecommand.cpp:567
void parseResponse(QXmlQuery &query, RajceSession &state) override
Definition: rajcecommand.cpp:506
AddPhotoCommand(const QString &tmpDir, const QString &path, unsigned dimension, int jpgQuality, const RajceSession &state)
Definition: rajcecommand.cpp:463
QString additionalXml() const override
Definition: rajcecommand.cpp:510
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:502
Definition: rajcecommand.h:179
AlbumListCommand(const RajceSession &)
Definition: rajcecommand.cpp:345
void parseResponse(QXmlQuery &response, RajceSession &state) override
Definition: rajcecommand.cpp:351
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:431
Definition: rajcecommand.h:158
CloseAlbumCommand(const RajceSession &state)
Definition: rajcecommand.cpp:336
void parseResponse(QXmlQuery &response, RajceSession &state) override
Definition: rajcecommand.cpp:326
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:330
Definition: rajcecommand.h:134
CreateAlbumCommand(const QString &name, const QString &description, bool visible, const RajceSession &state)
Definition: rajcecommand.cpp:306
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:322
void parseResponse(QXmlQuery &response, RajceSession &state) override
Definition: rajcecommand.cpp:318
Definition: rajcecommand.h:92
void parseResponse(QXmlQuery &response, RajceSession &state) override
Definition: rajcecommand.cpp:265
LoginCommand(const QString &username, const QString &password)
Definition: rajcecommand.cpp:257
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:292
Definition: rajcecommand.h:113
void parseResponse(QXmlQuery &response, RajceSession &state) override
Definition: rajcecommand.cpp:238
void cleanUpOnError(RajceSession &state) override
Definition: rajcecommand.cpp:250
OpenAlbumCommand(unsigned albumId, const RajceSession &state)
Definition: rajcecommand.cpp:231
Definition: rajcecommand.h:44
virtual QString contentType() const
Definition: rajcecommand.cpp:219
virtual QString additionalXml() const
Definition: rajcecommand.cpp:206
virtual void cleanUpOnError(RajceSession &state)=0
virtual QByteArray encode() const
Definition: rajcecommand.cpp:211
QString getXml() const
Definition: rajcecommand.cpp:147
~RajceCommand() override
Definition: rajcecommand.cpp:137
void processResponse(const QString &response, RajceSession &state)
Definition: rajcecommand.cpp:189
QMap< QString, QString > & parameters() const
Definition: rajcecommand.cpp:142
RajceCommandType commandType() const
Definition: rajcecommand.cpp:224
RajceCommand(const QString &name, RajceCommandType commandType)
Definition: rajcecommand.cpp:129
virtual void parseResponse(QXmlQuery &query, RajceSession &state)=0
Definition: rajcesession.h:78
Definition: rajcealbum.h:35
RajceCommandType
Definition: rajcesession.h:40