equal
deleted
inserted
replaced
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 * Version : %version: 5 % |
16 * Version : %version: 6 % |
17 */ |
17 */ |
18 |
18 |
19 #ifndef HGCACHEPROXYMODEL_H_ |
19 #ifndef HGCACHEPROXYMODEL_H_ |
20 #define HGCACHEPROXYMODEL_H_ |
20 #define HGCACHEPROXYMODEL_H_ |
21 |
21 |
124 int count()const; |
124 int count()const; |
125 QModelIndex mapToSource(const QModelIndex &index)const; |
125 QModelIndex mapToSource(const QModelIndex &index)const; |
126 QModelIndex mapToSource(int row, int col) const; |
126 QModelIndex mapToSource(int row, int col) const; |
127 int mapToDataProviderIndex(int myIndex) const; |
127 int mapToDataProviderIndex(int myIndex) const; |
128 int mapFromDataProviderIndex(int myIndex) const; |
128 int mapFromDataProviderIndex(int myIndex) const; |
129 void cleanupForBMReset(); |
|
130 void resetBM(); |
|
131 void releaseAll(); |
129 void releaseAll(); |
132 void setBufferPosition(int pos) const; |
130 void setBufferPosition(int pos) const; |
133 |
131 |
134 private slots: |
132 private slots: |
135 void sourceColumnsAboutToBeInserted( const QModelIndex & parent, int start, int end); |
133 void sourceColumnsAboutToBeInserted( const QModelIndex & parent, int start, int end); |