diff options
Diffstat (limited to 'plugin/cursornavigation.h')
-rw-r--r-- | plugin/cursornavigation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/cursornavigation.h b/plugin/cursornavigation.h index 5829ff9..c73684e 100644 --- a/plugin/cursornavigation.h +++ b/plugin/cursornavigation.h @@ -49,8 +49,10 @@ #include <QObject> #include <qqml.h> #include <QStack> +#include <QtCore/QLoggingCategory> -//TODO remove useless debug prints and change over to categorized logging + +Q_DECLARE_LOGGING_CATEGORY(cursorNavigationLog) class QQuickItem; @@ -65,7 +67,7 @@ public: //void setMagnitude(qreal angle, qreal magnitude); //void setMagnitude(const QVector2D& vector); //move the cursor - bool move(qreal angle, qreal tolerance, bool discrete); + bool move(qreal angle, qreal offset, qreal tolerance, bool discrete); //find the next item without moving the cursor QQuickItem *find(qreal angle, qreal tolerance, bool discrete); bool action(Action action); |