1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef GITQLIENTWIDGET_H
6#define GITQLIENTWIDGET_H
7
8#include "GitQlient.h"
9#include "QLogger.h"
10
11class GitQlientWidget : public GitQlient
12{
13 Q_OBJECT
14public:
15 explicit GitQlientWidget(QWidget *parent = nullptr);
16
17protected:
18 void showEvent(QShowEvent *event) override;
19
20private:
21 bool isGitDir(const QString &repoPath);
22 QString getRepositoryPath() const;
23};
24
25#endif // GITQLIENTWIDGET_H
26