diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-09-26 18:16:08 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-02 16:25:02 +0100 |
commit | 9dfba89c28bbff3316cb7aed6c07f90c0f2d5a22 (patch) | |
tree | 1a9643ef367a24f836ec0a552229106b3776b7dd /src/corelib/itemmodels/qidentityproxymodel.h | |
parent | 000025ca1ecabe363934bdc8794b01ffb926af66 (diff) |
Add implementations of QAIM::sibling in public APIs.
Change-Id: I2248641f2ed8735c28bd9572470520995a4a5b62
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/itemmodels/qidentityproxymodel.h')
-rw-r--r-- | src/corelib/itemmodels/qidentityproxymodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qidentityproxymodel.h b/src/corelib/itemmodels/qidentityproxymodel.h index b402c175d2..da40836dd0 100644 --- a/src/corelib/itemmodels/qidentityproxymodel.h +++ b/src/corelib/itemmodels/qidentityproxymodel.h @@ -69,6 +69,7 @@ public: int rowCount(const QModelIndex& parent = QModelIndex()) const; QVariant headerData(int section, Qt::Orientation orientation, int role) const; bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + QModelIndex sibling(int row, int column, const QModelIndex &idx) const; QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; QItemSelection mapSelectionToSource(const QItemSelection& selection) const; |