┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
authorTirtha Chatterjee <[email protected]>2011-08-29 04:12:05 +0530
committerTirtha Chatterjee <[email protected]>2011-08-29 04:12:05 +0530
commitafca8efa2601d9566c8d34d7b67dfb5abc729956 (patch)
tree8ecd46cfe49bcde18e11e1f8056844022cb9935d /src/kitemviews/kfileitemmodel.h
parentb01c73607be9974032a15a4b8ab39d5379991cb6 (diff)
Added support for highlighting items by typing their name on the keyboard.
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index 654c7dbeb..0fecbcf3f 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -55,6 +55,10 @@ public:
virtual bool setData(int index, const QHash<QByteArray, QVariant> &values);
/**
+ * @reimp
+ */
+ virtual int indexForKeyboardSearch(const QString& text, int startFromIndex = 0) const;
+ /**
* @return True
* @reimp
*/