summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljsinterpreter.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2014-05-27 10:39:50 +0200
committerKai Koehne <kai.koehne@digia.com>2014-07-01 11:31:12 +0200
commit4dc438db5ead809c2205f0ba134583626292b44c (patch)
tree796f37fb65210237cf2800eba196c938f12cbdff /src/libs/qmljs/qmljsinterpreter.cpp
parentb204c4dba23a1b2e7be3d01fc740fe7d8c89e83e (diff)
downloadqt-creator-4dc438db5ead809c2205f0ba134583626292b44c.tar.gz
qmljs: switch to the new category logging
Change-Id: Id4e43779590939e9d6dd2d0dab536f70e721f097 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/qmljs/qmljsinterpreter.cpp')
-rw-r--r--src/libs/qmljs/qmljsinterpreter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp
index 1ab9984436..7bf7b3ed22 100644
--- a/src/libs/qmljs/qmljsinterpreter.cpp
+++ b/src/libs/qmljs/qmljsinterpreter.cpp
@@ -28,6 +28,7 @@
****************************************************************************/
#include "parser/qmljsast_p.h"
+#include "qmljsconstants.h"
#include "qmljscontext.h"
#include "qmljsevaluate.h"
#include "qmljsinterpreter.h"
@@ -41,7 +42,6 @@
#include <utils/qtcassert.h>
#include <QApplication>
-#include <QDebug>
#include <QDir>
#include <QFile>
#include <QString>
@@ -2492,38 +2492,38 @@ public:
virtual bool processProperty(const QString &name, const Value *)
{
- qDebug() << "property: " << name;
+ qCDebug(qmljsLog) << "property: " << name;
return true;
}
virtual bool processEnumerator(const QString &name, const Value *)
{
- qDebug() << "enumerator: " << name;
+ qCDebug(qmljsLog) << "enumerator: " << name;
return true;
}
virtual bool processSignal(const QString &name, const Value *)
{
- qDebug() << "signal: " << name;
+ qCDebug(qmljsLog) << "signal: " << name;
return true;
}
virtual bool processSlot(const QString &name, const Value *)
{
- qDebug() << "slot: " << name;
+ qCDebug(qmljsLog) << "slot: " << name;
return true;
}
virtual bool processGeneratedSlot(const QString &name, const Value *)
{
- qDebug() << "generated slot: " << name;
+ qCDebug(qmljsLog) << "generated slot: " << name;
return true;
}
};
void Imports::dump() const
{
- qDebug() << "Imports contents, in search order:";
+ qCDebug(qmljsLog) << "Imports contents, in search order:";
QListIterator<Import> it(m_imports);
it.toBack();
while (it.hasPrevious()) {
@@ -2531,7 +2531,7 @@ void Imports::dump() const
const ObjectValue *import = i.object;
const ImportInfo &info = i.info;
- qDebug() << " " << info.path() << " " << info.version().toString() << " as " << info.as() << " : " << import;
+ qCDebug(qmljsLog) << " " << info.path() << " " << info.version().toString() << " as " << info.as() << " : " << import;
MemberDumper dumper;
import->processMembers(&dumper);
}