Git commit 9f47c045549f4985068d82f5bd6cb7f51e60870e by Alex Fiestas. Committed on 23/04/2012 at 18:48. Pushed by mklapetek into branch 'master'. Replaced QDebug by KDebug M +5 -5 basicinfo.cpp M +4 -4 connecting.cpp http://commits.kde.org/kaccounts-providers/9f47c045549f4985068d82f5bd6cb7f5= 1e60870e diff --git a/basicinfo.cpp b/basicinfo.cpp index e0d0fe0..568e598 100644 --- a/basicinfo.cpp +++ b/basicinfo.cpp @@ -19,7 +19,7 @@ #include "basicinfo.h" #include "owncloud.h" = -#include +#include #include = #include @@ -106,7 +106,7 @@ void BasicInfo::checkServer(const QString &path) = void BasicInfo::checkServer(const KUrl& url) { - qDebug() << url; + kDebug() << url; setResult(false); setWorking(true); KIO::TransferJob *job =3D KIO::get(url, KIO::NoReload, KIO::HideProgre= ssInfo); @@ -141,8 +141,8 @@ void BasicInfo::fileChecked(KJob* job) { KIO::TransferJob *kJob =3D qobject_cast(job); if (kJob->error()) { - qDebug() << job->errorString(); - qDebug() << job->errorText(); + kDebug() << job->errorString(); + kDebug() << job->errorText(); figureOutServer(kJob->url().url()); return; } @@ -156,7 +156,7 @@ void BasicInfo::fileChecked(KJob* job) = m_server =3D kJob->url(); m_server.setFileName(""); - qDebug() << m_server; + kDebug() << m_server; setResult(true); = Q_EMIT completeChanged(); diff --git a/connecting.cpp b/connecting.cpp index e89d94c..51e887f 100644 --- a/connecting.cpp +++ b/connecting.cpp @@ -19,7 +19,7 @@ #include "connecting.h" #include "owncloud.h" = -#include +#include = #include #include @@ -54,7 +54,7 @@ void Connecting::checkAuth() url.setPass(m_wizard->password()); = url.addPath("apps/calendar/caldav.php/"); - qDebug() << "FinalUrL: " << url; + kDebug() << "FinalUrL: " << url; KIO::TransferJob *job =3D KIO::get(url, KIO::NoReload, KIO::HideProgre= ssInfo); connect(job, SIGNAL(finished(KJob*)), this, SLOT(httpResult(KJob*))); = @@ -64,8 +64,8 @@ void Connecting::checkAuth() void Connecting::httpResult(KJob* job) { if (job->error()) { - qDebug() << job->errorString(); - qDebug() << job->errorText(); + kDebug() << job->errorString(); + kDebug() << job->errorText(); } = KIO::TransferJob *kJob =3D qobject_cast(job);