summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager.cpp
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-10-23 13:44:37 (GMT)
committerThomas Zander <thomas.zander@trolltech.com>2009-10-26 11:22:26 (GMT)
commit293ee52fce78b74fcfa2effbccf6df6f12e9daa5 (patch)
treedee3992151a68b1d171363c47dc8c3154e79c935 /src/gui/kernel/qgesturemanager.cpp
parent487570340062a1165e0473e2557f844b097db526 (diff)
downloadQt-293ee52fce78b74fcfa2effbccf6df6f12e9daa5.zip
Qt-293ee52fce78b74fcfa2effbccf6df6f12e9daa5.tar.gz
Qt-293ee52fce78b74fcfa2effbccf6df6f12e9daa5.tar.bz2
Fix the debug output to be correct again after refactoring
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src/gui/kernel/qgesturemanager.cpp')
-rw-r--r--src/gui/kernel/qgesturemanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp
index 0139533..9890a12 100644
--- a/src/gui/kernel/qgesturemanager.cpp
+++ b/src/gui/kernel/qgesturemanager.cpp
@@ -212,21 +212,21 @@ bool QGestureManager::filterEventThroughContexts(const QMap<QObject *,
QGestureRecognizer::Result result = recognizer->filterEvent(state, target, event);
QGestureRecognizer::Result type = result & QGestureRecognizer::ResultState_Mask;
if (type == QGestureRecognizer::GestureTriggered) {
- DEBUG() << "QGestureManager: gesture triggered: " << state;
+ DEBUG() << "QGestureManager:Recognizer: gesture triggered: " << state;
triggeredGestures << state;
} else if (type == QGestureRecognizer::GestureFinished) {
- DEBUG() << "QGestureManager: gesture finished: " << state;
+ DEBUG() << "QGestureManager:Recognizer: gesture finished: " << state;
finishedGestures << state;
} else if (type == QGestureRecognizer::MaybeGesture) {
- DEBUG() << "QGestureManager: maybe gesture: " << state;
+ DEBUG() << "QGestureManager:Recognizer: maybe gesture: " << state;
newMaybeGestures << state;
} else if (type == QGestureRecognizer::NotGesture) {
- DEBUG() << "QGestureManager: not gesture: " << state;
+ DEBUG() << "QGestureManager:Recognizer: not gesture: " << state;
notGestures << state;
} else if (type == QGestureRecognizer::Ignore) {
- DEBUG() << "QGestureManager: gesture ignored the event: " << state;
+ DEBUG() << "QGestureManager:Recognizer: ignored the event: " << state;
} else {
- DEBUG() << "QGestureManager: hm, lets assume the recognizer"
+ DEBUG() << "QGestureManager:Recognizer: hm, lets assume the recognizer"
<< "ignored the event: " << state;
}
if (result & QGestureRecognizer::ConsumeEventHint) {
@@ -307,7 +307,7 @@ bool QGestureManager::filterEventThroughContexts(const QMap<QObject *,
if (!activeGestures.isEmpty() || !maybeGestures.isEmpty() ||
!startedGestures.isEmpty() || !triggeredGestures.isEmpty() ||
!finishedGestures.isEmpty() || !canceledGestures.isEmpty()) {
- DEBUG() << "QGestureManager::filterEvent:"
+ DEBUG() << "QGestureManager::filterEventThroughContexts:"
<< "\n\tactiveGestures:" << activeGestures
<< "\n\tmaybeGestures:" << maybeGestures.keys()
<< "\n\tstarted:" << startedGestures