File indexing completed on 2024-05-12 04:38:56

0001 /*
0002     SPDX-FileCopyrightText: 2007 Dukju Ahn <dukjuahn@gmail.com>
0003     SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KDEVPLATFORM_VCSEVENTWIDGET_H
0009 #define KDEVPLATFORM_VCSEVENTWIDGET_H
0010 
0011 #include <QWidget>
0012 #include <vcs/vcsexport.h>
0013 
0014 class QUrl;
0015 
0016 namespace KDevelop
0017 {
0018 class VcsRevision;
0019 class IBasicVersionControl;
0020 class VcsEventWidgetPrivate;
0021 
0022 class KDEVPLATFORMVCS_EXPORT VcsEventWidget : public QWidget
0023 {
0024     Q_OBJECT
0025 public:
0026     VcsEventWidget( const QUrl& url, const VcsRevision& rev, KDevelop::IBasicVersionControl* iface, QWidget* parent = nullptr );
0027     ~VcsEventWidget() override;
0028 
0029 private:
0030     const QScopedPointer<class VcsEventWidgetPrivate> d_ptr;
0031     Q_DECLARE_PRIVATE(VcsEventWidget)
0032 };
0033 }
0034 
0035 #endif