Marble

ExternalEditorDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#ifndef MARBLE_EXTERNALEDITORDIALOG_H
7#define MARBLE_EXTERNALEDITORDIALOG_H
8
9#include "marble_export.h"
10
11#include <QDialog>
12
13#include "ui_ExternalEditor.h"
14
15namespace Marble
16{
17
18class ExternalEditorDialogPrivate;
19
20class MARBLE_EXPORT ExternalEditorDialog : public QDialog, private Ui::ExternalEditor
21{
22 Q_OBJECT
23
24public:
25 explicit ExternalEditorDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
26
27 ~ExternalEditorDialog() override;
28
29 QString externalEditor() const;
30
31 bool saveDefault() const;
32
33private Q_SLOTS:
34 void updateDefaultEditor(int index);
35
36private:
37 ExternalEditorDialogPrivate *const d;
38};
39
40} // namespace Marble
41
42#endif // MARBLE_EXTERNALEDITORDIALOG_H
Binds a QML item to a specific geodetic location in screen coordinates.
typedef WindowFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.