File indexing completed on 2025-01-19 04:56:41

0001 /*
0002  * SPDX-FileCopyrightText: 2014 David Faure <faure@kde.org>
0003  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004  */
0005 
0006 
0007 
0008 #ifndef WIDGETS_MESSAGEBOX_H
0009 #define WIDGETS_MESSAGEBOX_H
0010 
0011 #include "messageboxinterface.h"
0012 
0013 namespace Widgets {
0014 
0015 class MessageBox : public MessageBoxInterface
0016 {
0017 public:
0018     typedef QSharedPointer<MessageBox> Ptr;
0019 
0020     virtual ~MessageBox();
0021 
0022     QMessageBox::Button askConfirmation(QWidget *parent, const QString &title, const QString &text) override;
0023 };
0024 
0025 }
0026 
0027 #endif