/*
SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>

SPDX-License-Identifier: GPL-3.0-or-later
*/

#include "filesstatuseslist.h"

FilesStatusesList::FilesStatusesList(QWidget *parent)
    : QTreeWidget(parent)
{
    setColumnCount(2);
}

const QList<Git::FileStatus> &FilesStatusesList::files() const
{
    return mFiles;
}

void FilesStatusesList::setFiles(const QList<Git::FileStatus> &newFiles)
{
    mFiles = newFiles;
}

bool FilesStatusesList::showCheckboxes() const
{
    return mShowCheckboxes;
}

void FilesStatusesList::setShowCheckboxes(bool newShowCheckboxes)
{
    mShowCheckboxes = newShowCheckboxes;
}

#include "moc_filesstatuseslist.cpp"
