40 void slotColumnsRemoved(QModelIndex parent,int from,int to); |
40 void slotColumnsRemoved(QModelIndex parent,int from,int to); |
41 void slotLayoutAboutToBeChanged(); |
41 void slotLayoutAboutToBeChanged(); |
42 void slotLayoutChanged(); |
42 void slotLayoutChanged(); |
43 void slotModelAboutToBeReset(); |
43 void slotModelAboutToBeReset(); |
44 void slotModelReset(); |
44 void slotModelReset(); |
|
45 void slotRowsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int); |
|
46 void slotRowsMoved(const QModelIndex&, int, int, const QModelIndex&, int); |
|
47 void slotColumnsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int); |
|
48 void slotColumnsMoved(const QModelIndex&, int, int, const QModelIndex&, int); |
|
49 |
45 |
50 |
46 public: |
51 public: |
47 QList< QPair< int, int > > getSignalDataChanged(); |
52 QList< QPair< int, int > > getSignalDataChanged(); |
48 QList< QPair< int, int > > getSignalHeaderDataChanged(); |
53 QList< QPair< int, int > > getSignalHeaderDataChanged(); |
49 QList< QPair< int, int > > getSignalRowsAboutToBeInserted(); |
54 QList< QPair< int, int > > getSignalRowsAboutToBeInserted(); |
56 QList< QPair< int, int > > getSignalColumnsRemoved(); |
61 QList< QPair< int, int > > getSignalColumnsRemoved(); |
57 bool getSignalLayoutAboutToBeChanged(); |
62 bool getSignalLayoutAboutToBeChanged(); |
58 bool getSignalLayoutChanged(); |
63 bool getSignalLayoutChanged(); |
59 bool getSignalModelAboutToBeReset(); |
64 bool getSignalModelAboutToBeReset(); |
60 bool getSignalModelReset(); |
65 bool getSignalModelReset(); |
|
66 QList< QPair< int, int > > getSignalRowsAboutToBeMoved(); |
|
67 QList< QPair< int, int > > getSignalRowsMoved(); |
|
68 QList< QPair< int, int > > getSignalColumnsAboutToBeMoved(); |
|
69 QList< QPair< int, int > > getSignalColumnsMoved(); |
61 |
70 |
62 private: |
71 private: |
63 HgCacheProxyModel* mModel; |
72 HgCacheProxyModel* mModel; |
64 |
73 |
65 QList< QPair< int, int > > mSignalDataChanged; |
74 QList< QPair< int, int > > mSignalDataChanged; |
74 QList< QPair< int, int > > mSignalColumnsRemoved; |
83 QList< QPair< int, int > > mSignalColumnsRemoved; |
75 bool mSignalLayoutAboutToBeChanged; |
84 bool mSignalLayoutAboutToBeChanged; |
76 bool mSignalLayoutChanged; |
85 bool mSignalLayoutChanged; |
77 bool mSignalModelAboutToBeReset; |
86 bool mSignalModelAboutToBeReset; |
78 bool mSignalModelReset; |
87 bool mSignalModelReset; |
|
88 QList< QPair< int, int > > mSignalRowsAboutToBeMoved; |
|
89 QList< QPair< int, int > > mSignalRowsMoved; |
|
90 QList< QPair< int, int > > mSignalColumnsAboutToBeMoved; |
|
91 QList< QPair< int, int > > mSignalColumnsMoved; |
79 |
92 |
80 }; |
93 }; |
81 |
94 |
82 #endif // CACHEPROXYHELPER_H |
95 #endif // CACHEPROXYHELPER_H |