From 7a91492cff931c0c4e0d38dd0aee77d9dcb29373 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 4 Sep 2011 17:40:44 +0200 Subject: Improved drag and drop support --- src/kitemviews/kfileitemmodel.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/kitemviews/kfileitemmodel.h') diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h index 839d4e724..c70892dd3 100644 --- a/src/kitemviews/kfileitemmodel.h +++ b/src/kitemviews/kfileitemmodel.h @@ -54,10 +54,6 @@ public: virtual QHash data(int index) const; virtual bool setData(int index, const QHash &values); - /** - * @reimp - */ - virtual int indexForKeyboardSearch(const QString& text, int startFromIndex = 0) const; /** * @return True * @reimp @@ -73,6 +69,12 @@ public: /** @reimp */ virtual QMimeData* createMimeData(const QSet& indexes) const; + /** @reimp */ + virtual int indexForKeyboardSearch(const QString& text, int startFromIndex = 0) const; + + /** @reimp */ + virtual bool supportsDropping(int index) const; + /** * @return The file-item for the index \a index. If the index is in a valid * range it is assured that the file-item is not null. The runtime -- cgit v1.3.1