File indexing completed on 2025-01-05 05:14:50

0001 /*
0002 SPDX-FileCopyrightText: 2020-2022 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "blamedata.h"
0010 #include "codeeditor.h"
0011 
0012 #include "libkommitwidgets_export.h"
0013 
0014 class LIBKOMMITWIDGETS_EXPORT BlameCodeView : public CodeEditor
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit BlameCodeView(QWidget *parent = nullptr);
0020     const Git::BlameData &blameData() const;
0021     void setBlameData(const Git::BlameData &newBlameData);
0022 
0023 private:
0024     Git::BlameData mBlameData;
0025 };