File indexing completed on 2024-05-12 16:42:04
0001 /* 0002 SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0003 SPDX-FileCopyrightText: 2020 Thomas Baumgart <tbaumgart@kde.org> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KCURRENCYEDITORDLG_H 0008 #define KCURRENCYEDITORDLG_H 0009 0010 // ---------------------------------------------------------------------------- 0011 // QT Includes 0012 0013 // ---------------------------------------------------------------------------- 0014 // KDE Includes 0015 0016 #include <QDialog> 0017 0018 // ---------------------------------------------------------------------------- 0019 // Project Includes 0020 0021 namespace Ui 0022 { 0023 class KCurrencyEditorDlg; 0024 } 0025 0026 class MyMoneySecurity; 0027 class KCurrencyEditorDlgPrivate; 0028 class KCurrencyEditorDlg : public QDialog 0029 { 0030 Q_DISABLE_COPY(KCurrencyEditorDlg) 0031 0032 Q_OBJECT 0033 public: 0034 explicit KCurrencyEditorDlg(const MyMoneySecurity ¤cy, QWidget *parent = nullptr); 0035 ~KCurrencyEditorDlg(); 0036 0037 MyMoneySecurity currency() const; 0038 0039 private: 0040 KCurrencyEditorDlgPrivate * const d_ptr; 0041 Q_DECLARE_PRIVATE(KCurrencyEditorDlg) 0042 }; 0043 0044 #endif