File indexing completed on 2024-04-21 03:49:27

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2015 Mikhail Ivchenko <ematirov@gmail.com>
0004 //
0005 
0006 #ifndef ADDLINKDIALOG_H
0007 #define ADDLINKDIALOG_H
0008 
0009 #include "marble_export.h"
0010 
0011 #include <QDialog>
0012 
0013 
0014 namespace Marble {
0015 
0016 class MARBLE_EXPORT AddLinkDialog : public QDialog
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit AddLinkDialog(QWidget *parent = nullptr );
0022     ~AddLinkDialog() override;
0023     QString name() const;
0024     QString url() const;
0025 
0026 private Q_SLOTS:
0027     void checkFields();
0028 
0029 private:
0030     class Private;
0031     Private * const d;
0032 };
0033 
0034 }
0035 
0036 #endif