[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kaccounts-providers] /: Replaced QDebug by KDebug
From: Alex Fiestas <afiestas () kde ! org>
Date: 2015-10-15 21:01:23
Message-ID: E1ZmpeN-0000yK-13 () scm ! kde ! org
[Download RAW message or body]
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/9f47c045549f4985068d82f5bd6cb7f51e60870e
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 <QDebug>
+#include <KDebug>
#include <qjson/parser.h>
#include <kpixmapsequenceoverlaypainter.h>
@@ -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 = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
@@ -141,8 +141,8 @@ void BasicInfo::fileChecked(KJob* job)
{
KIO::TransferJob *kJob = qobject_cast<KIO::TransferJob *>(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 = 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 <QtCore/QDebug>
+#include <KDebug>
#include <KPixmapSequenceOverlayPainter>
#include <KIO/Job>
@@ -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 = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
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 = qobject_cast<KIO::TransferJob*>(job);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic