summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview.h
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-02 16:02:21 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-02 16:02:21 (GMT)
commite658bcb0e64acca9684f0897510d639af98ab552 (patch)
tree5f2f155093238f0b6e808bc0d6cb54b3bf0b6c4f /src/gui/itemviews/qabstractitemview.h
parentbb35c5aaa2ad80eaa7f88df6d83945adbf9bde92 (diff)
parent1ffaf40f5cffca57d7e116d61935ccd034239222 (diff)
downloadQt-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.h5
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;