Vcs: Use more FilePath for file paths

Change-Id: I855cde65d034a9647972a7fddf1e8266d7ccfa88
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2021-07-30 16:46:27 +02:00
parent 17f907da9b
commit ff57cb548d
88 changed files with 1204 additions and 1159 deletions

View File

@@ -25,6 +25,7 @@
#pragma once
#include <utils/filepath.h>
#include <utils/optional.h>
#include <QAbstractListModel>
@@ -60,12 +61,12 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const override;
void clear();
bool refresh(const QString &workingDirectory, QString *errorMessage);
bool refresh(const Utils::FilePath &workingDirectory, QString *errorMessage);
void renameBranch(const QString &oldName, const QString &newName);
void renameTag(const QString &oldName, const QString &newName);
QString workingDirectory() const;
Utils::FilePath workingDirectory() const;
QModelIndex currentBranch() const;
QString fullName(const QModelIndex &idx, bool includePrefix = false) const;