diff --git a/src/common/davcollectionsfetchjob.h b/src/common/davcollectionsfetchjob.h --- a/src/common/davcollectionsfetchjob.h +++ b/src/common/davcollectionsfetchjob.h @@ -59,7 +59,7 @@ * @param collectionUrl The URL of the discovered collection * @param configuredUrl The URL given to the job */ - void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl); + void collectionDiscovered(KDAV::Protocol protocol, const QString &collectionUrl, const QString &configuredUrl); private: void principalFetchFinished(KJob *); diff --git a/src/common/davcollectionsmultifetchjob.h b/src/common/davcollectionsmultifetchjob.h --- a/src/common/davcollectionsmultifetchjob.h +++ b/src/common/davcollectionsmultifetchjob.h @@ -59,7 +59,7 @@ * @param collectionUrl The URL of the discovered collection * @param configuredUrl The URL given to the job */ - void collectionDiscovered(int protocol, const QString &collectionUrl, const QString &configuredUrl); + void collectionDiscovered(KDAV::Protocol protocol, const QString &collectionUrl, const QString &configuredUrl); private: void davJobFinished(KJob *);