Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/positioner.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | 113 | private: | |||
---|---|---|---|---|---|
121 | void connectSignals(FolderModel *model); | 121 | void connectSignals(FolderModel *model); | ||
122 | void disconnectSignals(FolderModel *model); | 122 | void disconnectSignals(FolderModel *model); | ||
123 | 123 | | |||
124 | bool m_enabled; | 124 | bool m_enabled; | ||
125 | FolderModel *m_folderModel; | 125 | FolderModel *m_folderModel; | ||
126 | 126 | | |||
127 | int m_perStripe; | 127 | int m_perStripe; | ||
128 | 128 | | |||
129 | int m_lastRow; | | |||
130 | | ||||
131 | QModelIndexList m_pendingChanges; | 129 | QModelIndexList m_pendingChanges; | ||
132 | bool m_ignoreNextTransaction; | 130 | bool m_ignoreNextTransaction; | ||
133 | 131 | | |||
134 | QStringList m_positions; | 132 | QStringList m_positions; | ||
135 | bool m_pendingPositions; | 133 | bool m_pendingPositions; | ||
136 | QTimer *m_updatePositionsTimer; | 134 | QTimer *m_updatePositionsTimer; | ||
137 | 135 | | |||
138 | QHash<int, int> m_proxyToSource; | 136 | QHash<int, int> m_proxyToSource; | ||
139 | QHash<int, int> m_sourceToProxy; | 137 | QHash<int, int> m_sourceToProxy; | ||
140 | bool m_beginInsertRowsCalled = false; // used to sync the amount of begin/endInsertRows calls | 138 | bool m_beginInsertRowsCalled = false; // used to sync the amount of begin/endInsertRows calls | ||
141 | }; | 139 | }; | ||
142 | 140 | | |||
143 | #endif | 141 | #endif |