aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/dialogs/restartdialog.h
blob: e469734d14ea6a0a9b7f034c0c2c6f9ca5e5a271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <coreplugin/core_global.h>

#include <QCoreApplication>
#include <QMessageBox>

namespace Core {

class CORE_EXPORT RestartDialog : public QMessageBox
{
    Q_DECLARE_TR_FUNCTIONS(Core::RestartDialog)

public:
    RestartDialog(QWidget *parent, const QString &text);
};

} // namespace Core