diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-10-02 16:02:21 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-10-02 16:02:21 (GMT) |
commit | e658bcb0e64acca9684f0897510d639af98ab552 (patch) | |
tree | 5f2f155093238f0b6e808bc0d6cb54b3bf0b6c4f /src/gui/itemviews/qabstractitemview.h | |
parent | bb35c5aaa2ad80eaa7f88df6d83945adbf9bde92 (diff) | |
parent | 1ffaf40f5cffca57d7e116d61935ccd034239222 (diff) | |
download | Qt-e658bcb0e64acca9684f0897510d639af98ab552.zip Qt-e658bcb0e64acca9684f0897510d639af98ab552.tar.gz Qt-e658bcb0e64acca9684f0897510d639af98ab552.tar.bz2 |
Merge branch '4.6' into mmfphonon
Diffstat (limited to 'src/gui/itemviews/qabstractitemview.h')
-rw-r--r-- | src/gui/itemviews/qabstractitemview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/itemviews/qabstractitemview.h b/src/gui/itemviews/qabstractitemview.h index 7d5c765..b4f0957 100644 --- a/src/gui/itemviews/qabstractitemview.h +++ b/src/gui/itemviews/qabstractitemview.h @@ -74,6 +74,7 @@ class Q_GUI_EXPORT QAbstractItemView : public QAbstractScrollArea Q_PROPERTY(bool dragEnabled READ dragEnabled WRITE setDragEnabled) Q_PROPERTY(bool dragDropOverwriteMode READ dragDropOverwriteMode WRITE setDragDropOverwriteMode) Q_PROPERTY(DragDropMode dragDropMode READ dragDropMode WRITE setDragDropMode) + Q_PROPERTY(Qt::DropAction defaultDropAction READ defaultDropAction WRITE setDefaultDropAction) #endif Q_PROPERTY(bool alternatingRowColors READ alternatingRowColors WRITE setAlternatingRowColors) Q_PROPERTY(SelectionMode selectionMode READ selectionMode WRITE setSelectionMode) @@ -181,7 +182,11 @@ public: void setDragDropMode(DragDropMode behavior); DragDropMode dragDropMode() const; + + void setDefaultDropAction(Qt::DropAction dropAction); + Qt::DropAction defaultDropAction() const; #endif + void setAlternatingRowColors(bool enable); bool alternatingRowColors() const; |