Changeset View
Changeset View
Standalone View
Standalone View
src/views/versioncontrol/versioncontrolobserver.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | 104 | private: | |||
---|---|---|---|---|---|
121 | */ | 121 | */ | ||
122 | int createItemStatesList(QMap<QString, QVector<ItemState> >& itemStates, | 122 | int createItemStatesList(QMap<QString, QVector<ItemState> >& itemStates, | ||
123 | const int firstIndex = 0); | 123 | const int firstIndex = 0); | ||
124 | 124 | | |||
125 | /** | 125 | /** | ||
126 | * Returns a matching plugin for the given directory. | 126 | * Returns a matching plugin for the given directory. | ||
127 | * 0 is returned, if no matching plugin has been found. | 127 | * 0 is returned, if no matching plugin has been found. | ||
128 | */ | 128 | */ | ||
129 | KVersionControlPlugin* searchPlugin(const QUrl& directory) const; | 129 | KVersionControlPlugin* searchPlugin(const QUrl& directory); | ||
130 | 130 | | |||
131 | /** | 131 | /** | ||
132 | * Returns true, if the directory contains a version control information. | 132 | * Returns true, if the directory contains a version control information. | ||
133 | */ | 133 | */ | ||
134 | bool isVersioned() const; | 134 | bool isVersioned() const; | ||
135 | 135 | | |||
136 | private: | 136 | private: | ||
137 | bool m_pendingItemStatesUpdate; | 137 | bool m_pendingItemStatesUpdate; | ||
138 | bool m_versionedDirectory; | 138 | bool m_versionedDirectory; | ||
139 | bool m_silentUpdate; // if true, no messages will be send during the update | 139 | bool m_silentUpdate; // if true, no messages will be send during the update | ||
140 | // of version states | 140 | // of version states | ||
141 | 141 | | |||
142 | KFileItemModel* m_model; | 142 | KFileItemModel* m_model; | ||
143 | 143 | | |||
144 | QTimer* m_dirVerificationTimer; | 144 | QTimer* m_dirVerificationTimer; | ||
145 | 145 | | |||
146 | bool m_pluginsInitialized; | ||||
146 | KVersionControlPlugin* m_plugin; | 147 | KVersionControlPlugin* m_plugin; | ||
148 | QList<KVersionControlPlugin*> m_plugins; | ||||
147 | UpdateItemStatesThread* m_updateItemStatesThread; | 149 | UpdateItemStatesThread* m_updateItemStatesThread; | ||
148 | 150 | | |||
149 | friend class UpdateItemStatesThread; | 151 | friend class UpdateItemStatesThread; | ||
150 | }; | 152 | }; | ||
151 | 153 | | |||
152 | #endif // REVISIONCONTROLOBSERVER_H | 154 | #endif // REVISIONCONTROLOBSERVER_H | ||
153 | 155 | |