Commit c15efff4 authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 979fd9a8
...@@ -72,10 +72,8 @@ public: ...@@ -72,10 +72,8 @@ public:
*/ */
void start() override; void start() override;
private Q_SLOTS:
void davJobFinished(KJob *job);
private: private:
void davJobFinished(KJob *job);
DavUrl mUrl; DavUrl mUrl;
QDomDocument mQuery; QDomDocument mQuery;
......
...@@ -73,11 +73,9 @@ Q_SIGNALS: ...@@ -73,11 +73,9 @@ Q_SIGNALS:
*/ */
void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl); void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl);
private Q_SLOTS: private:
void principalFetchFinished(KJob *); void principalFetchFinished(KJob *);
void collectionsFetchFinished(KJob *); void collectionsFetchFinished(KJob *);
private:
void doCollectionsFetch(const QUrl &url); void doCollectionsFetch(const QUrl &url);
void subjobFinished(); void subjobFinished();
......
...@@ -70,10 +70,8 @@ Q_SIGNALS: ...@@ -70,10 +70,8 @@ Q_SIGNALS:
*/ */
void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl); void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl);
private Q_SLOTS:
void davJobFinished(KJob *);
private: private:
void davJobFinished(KJob *);
DavUrl::List mUrls; DavUrl::List mUrls;
DavCollection::List mCollections; DavCollection::List mCollections;
uint mSubJobCount; uint mSubJobCount;
......
...@@ -57,11 +57,9 @@ public: ...@@ -57,11 +57,9 @@ public:
QUrl itemUrl() const; QUrl itemUrl() const;
private Q_SLOTS: private:
void davJobFinished(KJob *); void davJobFinished(KJob *);
void itemRefreshed(KJob *); void itemRefreshed(KJob *);
private:
DavItem mItem; DavItem mItem;
int mRedirectCount; int mRedirectCount;
}; };
......
...@@ -59,11 +59,9 @@ public: ...@@ -59,11 +59,9 @@ public:
*/ */
int freshResponseCode() const; int freshResponseCode() const;
private Q_SLOTS: private:
void davJobFinished(KJob *); void davJobFinished(KJob *);
void conflictingItemFetched(KJob *); void conflictingItemFetched(KJob *);
private:
DavItem mItem; DavItem mItem;
DavItem mFreshItem; DavItem mFreshItem;
int mFreshResponseCode; int mFreshResponseCode;
......
...@@ -54,10 +54,8 @@ public: ...@@ -54,10 +54,8 @@ public:
*/ */
DavItem item() const; DavItem item() const;
private Q_SLOTS:
void davJobFinished(KJob *);
private: private:
void davJobFinished(KJob *);
DavUrl mUrl; DavUrl mUrl;
DavItem mItem; DavItem mItem;
}; };
......
...@@ -66,12 +66,10 @@ public: ...@@ -66,12 +66,10 @@ public:
*/ */
int freshResponseCode() const; int freshResponseCode() const;
private Q_SLOTS: private:
void davJobFinished(KJob *); void davJobFinished(KJob *);
void itemRefreshed(KJob *); void itemRefreshed(KJob *);
void conflictingItemFetched(KJob *); void conflictingItemFetched(KJob *);
private:
DavItem mItem; DavItem mItem;
DavItem mFreshItem; DavItem mFreshItem;
int mFreshResponseCode; int mFreshResponseCode;
......
...@@ -64,10 +64,8 @@ public: ...@@ -64,10 +64,8 @@ public:
*/ */
DavItem item(const QString &url) const; DavItem item(const QString &url) const;
private Q_SLOTS:
void davJobFinished(KJob *);
private: private:
void davJobFinished(KJob *);
DavUrl mCollectionUrl; DavUrl mCollectionUrl;
QStringList mUrls; QStringList mUrls;
QMap<QString, DavItem> mItems; QMap<QString, DavItem> mItems;
......
...@@ -93,10 +93,8 @@ public: ...@@ -93,10 +93,8 @@ public:
*/ */
QStringList deletedItems() const; QStringList deletedItems() const;
private Q_SLOTS:
void davJobFinished(KJob *);
private: private:
void davJobFinished(KJob *);
std::unique_ptr<DavItemsListJobPrivate> d; std::unique_ptr<DavItemsListJobPrivate> d;
}; };
......
...@@ -57,10 +57,8 @@ public: ...@@ -57,10 +57,8 @@ public:
*/ */
QStringList homeSets() const; QStringList homeSets() const;
private Q_SLOTS:
void davJobFinished(KJob *);
private: private:
void davJobFinished(KJob *);
/** /**
* Start the fetch process. * Start the fetch process.
* *
......
...@@ -100,11 +100,9 @@ public: ...@@ -100,11 +100,9 @@ public:
*/ */
QList<Result> results() const; QList<Result> results() const;
private Q_SLOTS: private:
void principalCollectionSetSearchFinished(KJob *job); void principalCollectionSetSearchFinished(KJob *job);
void principalPropertySearchFinished(KJob *job); void principalPropertySearchFinished(KJob *job);
private:
void buildReportQuery(QDomDocument &query); void buildReportQuery(QDomDocument &query);
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment