diff options
| author | Peter Penz <[email protected]> | 2011-09-04 17:40:44 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-04 17:41:15 +0200 |
| commit | 7a91492cff931c0c4e0d38dd0aee77d9dcb29373 (patch) | |
| tree | 97c0e00397f95c673ff5dc3a4cf0dcb79a0134df /src/kitemviews/kfileitemmodel.h | |
| parent | 8266e456a10670fe5ef855680d61e0b6ab0d6292 (diff) | |
Improved drag and drop support
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 @@ -55,10 +55,6 @@ 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 */ @@ -73,6 +69,12 @@ public: /** @reimp */ virtual QMimeData* createMimeData(const QSet<int>& 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 |
