--- a/hgcacheproxymodel/tsrc/unit/cacheproxyhelper.h Fri Jun 11 14:43:11 2010 +0300
+++ b/hgcacheproxymodel/tsrc/unit/cacheproxyhelper.h Thu Jun 24 12:59:29 2010 +0300
@@ -42,6 +42,11 @@
void slotLayoutChanged();
void slotModelAboutToBeReset();
void slotModelReset();
+ void slotRowsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int);
+ void slotRowsMoved(const QModelIndex&, int, int, const QModelIndex&, int);
+ void slotColumnsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int);
+ void slotColumnsMoved(const QModelIndex&, int, int, const QModelIndex&, int);
+
public:
QList< QPair< int, int > > getSignalDataChanged();
@@ -58,6 +63,10 @@
bool getSignalLayoutChanged();
bool getSignalModelAboutToBeReset();
bool getSignalModelReset();
+ QList< QPair< int, int > > getSignalRowsAboutToBeMoved();
+ QList< QPair< int, int > > getSignalRowsMoved();
+ QList< QPair< int, int > > getSignalColumnsAboutToBeMoved();
+ QList< QPair< int, int > > getSignalColumnsMoved();
private:
HgCacheProxyModel* mModel;
@@ -76,6 +85,10 @@
bool mSignalLayoutChanged;
bool mSignalModelAboutToBeReset;
bool mSignalModelReset;
+ QList< QPair< int, int > > mSignalRowsAboutToBeMoved;
+ QList< QPair< int, int > > mSignalRowsMoved;
+ QList< QPair< int, int > > mSignalColumnsAboutToBeMoved;
+ QList< QPair< int, int > > mSignalColumnsMoved;
};