diff options
Diffstat (limited to '')
-rw-r--r-- | lsscenemodel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lsscenemodel.h b/lsscenemodel.h index c769857..4dd1019 100644 --- a/lsscenemodel.h +++ b/lsscenemodel.h @@ -9,6 +9,7 @@ class LSSceneModel : public QAbstractItemModel { Q_OBJECT public: explicit LSSceneModel(LYTLayout *layout, QObject *parent = 0); + ~LSSceneModel(); LYTLayout *layout() const { return m_layout; } @@ -21,10 +22,16 @@ public: Qt::ItemFlags flags(const QModelIndex &index) const; Qt::DropActions supportedDropActions() const; + bool insertRows(int row, int count, const QModelIndex &parent); + bool removeRows(int row, int count, const QModelIndex &parent); + private: LYTLayout *m_layout; QIcon m_paneIcons[LYTPane::PaneTypeCount]; + + QPersistentModelIndex *m_movingPaneParent; + int m_movingPaneRow; signals: |