aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perforce/changenumberdialog.h
blob: eae2a9447b0474f271f75f6435823f613a684e0f (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 The Qt Company Ltd.
// 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 Perforce::Internal {

// Input a change number for pending changes.
class ChangeNumberDialog : public QDialog
{
    Q_OBJECT
public:
    ChangeNumberDialog(QWidget *parent = nullptr);
    int number() const;

private:
    QLineEdit *m_lineEdit = nullptr;
};

} // Perforce::Internal