┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-09-04 17:40:44 +0200
committerPeter Penz <[email protected]>2011-09-04 17:41:15 +0200
commit7a91492cff931c0c4e0d38dd0aee77d9dcb29373 (patch)
tree97c0e00397f95c673ff5dc3a4cf0dcb79a0134df /src/kitemviews/kfileitemmodel.h
parent8266e456a10670fe5ef855680d61e0b6ab0d6292 (diff)
Improved drag and drop support
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h10
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