1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef HISTORYDIFFWIDGET_H |
6 | #define HISTORYDIFFWIDGET_H |
7 | |
8 | #include <QSplitter> |
9 | |
10 | class HistoryDiffView; |
11 | class HistoryDiffWidget : public QSplitter |
12 | { |
13 | Q_OBJECT |
14 | public: |
15 | explicit HistoryDiffWidget(QWidget *parent = nullptr); |
16 | HistoryDiffView *getOldView() const; |
17 | HistoryDiffView *getNewView() const; |
18 | |
19 | private: |
20 | HistoryDiffView *oldView{nullptr}; |
21 | HistoryDiffView *newView{nullptr}; |
22 | }; |
23 | |
24 | #endif // HISTORYDIFFWIDGET_H |
25 |