aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mercurial/revertdialog.h
blob: f4bc1f490723a0b140212d3be647dc8fbc704aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2016 Brian McGillion
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QDialog>

QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE

namespace Mercurial::Internal {

class RevertDialog : public QDialog
{
public:
    RevertDialog(QWidget *parent = nullptr);
    ~RevertDialog() override;

    QString revision() const;

private:
    QLineEdit *m_revisionLineEdit;
};

} // Mercurial::Internal