From c579069071ec55a4d3a2d2174fa48bac96cde9d4 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Tue, 14 Apr 2015 13:41:51 +0200 Subject: [PATCH] LsColXMLParser: let parse return bool. --- src/libsync/networkjobs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/libsync/networkjobs.h b/src/libsync/networkjobs.h index 13f966516..f3bc5d1bf 100644 --- a/src/libsync/networkjobs.h +++ b/src/libsync/networkjobs.h @@ -132,6 +132,21 @@ private slots: /** * @brief The LsColJob class */ +class OWNCLOUDSYNC_EXPORT LsColXMLParser : public QObject { + Q_OBJECT +public: + explicit LsColXMLParser(); + + bool parse(const QByteArray &xml, QHash *sizes); + +signals: + void directoryListingSubfolders(const QStringList &items); + void directoryListingIterated(const QString &name, const QMap &properties); + void finishedWithError(QNetworkReply *reply); + void finishedWithoutError(); + +}; + class OWNCLOUDSYNC_EXPORT LsColJob : public AbstractNetworkJob { Q_OBJECT public: