aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/cursornavigation.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/cursornavigation.h')
-rw-r--r--plugin/cursornavigation.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/cursornavigation.h b/plugin/cursornavigation.h
index 956d900..5c7d7f8 100644
--- a/plugin/cursornavigation.h
+++ b/plugin/cursornavigation.h
@@ -20,7 +20,6 @@ class CursorNavigation : public QObject
public:
CursorNavigation(QQuickWindow *parent);
- //bool inputCommand(const CursorNavigationCommand &cmd);
void move(qreal angle, qreal tolerance, bool discrete);
void move(const QVector2D& vector, qreal tolerance, bool discrete);
void action(Action action);
@@ -37,19 +36,17 @@ private:
void registerItem(CursorNavigationAttached* item);
void unregisterItem(CursorNavigationAttached* item);
- bool handleMove(const CursorNavigationCommand &cmd, bool discrete);
+ bool handleMove(qreal angle, qreal tolerance, bool discrete);
private:
static const char windowPropertyName[];
QQuickWindow *m_window;
InputAdapter m_inputAdapter;
CursorNavigationAttached *m_currentItem; //item that currently has the cursor
- //QList<CursorNavigationAlgorithm*> m_algorithms;
SpatialNavigation360 m_navigation360;
SpatialNavigation4Dir m_navigation4Dir;
//a root item that is not tied to any actual QQuickItem
CursorNavigationAttached *m_rootItem;
- //QStack<CursorNavigationAttached*> m_scopeStack;
friend class CursorNavigationAttached;
};