Git: Move parseOutputLine to BranchModel::Private

Change-Id: I885a0f6c6848b63bca0cb3047b28c984087f0bc8
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2019-05-05 23:13:41 +03:00
committed by Orgad Shaneh
parent 6595a161fc
commit b374086624
2 changed files with 17 additions and 19 deletions

View File

@@ -71,7 +71,6 @@ public:
QStringList localBranchNames() const;
QString sha(const QModelIndex &idx) const;
QDateTime dateTime(const QModelIndex &idx) const;
bool hasTags() const;
bool isHead(const QModelIndex &idx) const;
bool isLocal(const QModelIndex &idx) const;
bool isLeaf(const QModelIndex &idx) const;
@@ -87,7 +86,6 @@ public:
Utils::optional<QString> remoteName(const QModelIndex &idx) const;
private:
void parseOutputLine(const QString &line);
void setCurrentBranch();
BranchNode *indexToNode(const QModelIndex &index) const;
QModelIndex nodeToIndex(BranchNode *node, int column) const;