diff options
| author | Tirtha Chatterjee <[email protected]> | 2011-08-29 04:12:05 +0530 |
|---|---|---|
| committer | Tirtha Chatterjee <[email protected]> | 2011-08-29 04:12:05 +0530 |
| commit | afca8efa2601d9566c8d34d7b67dfb5abc729956 (patch) | |
| tree | 8ecd46cfe49bcde18e11e1f8056844022cb9935d /src/kitemviews/kitemlistcontroller.h | |
| parent | b01c73607be9974032a15a4b8ab39d5379991cb6 (diff) | |
Added support for highlighting items by typing their name on the keyboard.
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h index 134e11673..04d49854e 100644 --- a/src/kitemviews/kitemlistcontroller.h +++ b/src/kitemviews/kitemlistcontroller.h @@ -31,6 +31,7 @@ #include <QSet> class KItemModelBase; +class KItemListKeyboardSearchManager; class KItemListSelectionManager; class KItemListView; class QGraphicsSceneHoverEvent; @@ -132,6 +133,8 @@ private slots: */ void slotRubberBandChanged(); + void slotKeyboardActivationRequested(const QString& text, bool searchFromNextItem); + private: /** * Creates a QDrag object to start a drag-operation. @@ -146,6 +149,7 @@ private: KItemModelBase* m_model; KItemListView* m_view; KItemListSelectionManager* m_selectionManager; + KItemListKeyboardSearchManager* m_keyboardManager; int m_pressedIndex; QPointF m_pressedMousePos; |
