Fixes: Enable switching of VCS according to currentProject

Task: 205821
RevBy: con
Details:  Add a IVersionControl to git. Extend IF to able to return a name and add enabling options. Connect project explorer to enable the right VCS.
This commit is contained in:
Friedemann Kleint
2008-12-03 15:04:51 +01:00
parent 876c775805
commit 0b99d82d4e
21 changed files with 283 additions and 138 deletions

View File

@@ -62,17 +62,14 @@ class GitCommand;
struct CommitData;
struct GitSubmitEditorPanelData;
class GitClient : public Core::IVersionControl
class GitClient : public QObject
{
Q_OBJECT
public:
GitClient(GitPlugin *plugin, Core::ICore *core);
explicit GitClient(GitPlugin *plugin, Core::ICore *core);
~GitClient();
bool vcsOpen(const QString &fileName);
bool vcsAdd(const QString &) { return false; }
bool vcsDelete(const QString &) { return false; }
bool managesDirectory(const QString &) const { return false; }
QString findTopLevelForDirectory(const QString &) const { return QString(); }