File indexing completed on 2024-05-19 05:06:50
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 #include "kmm_base_dialogs_export.h" 0011 0012 // ---------------------------------------------------------------------------- 0013 // QT Includes 0014 0015 // ---------------------------------------------------------------------------- 0016 // KDE Includes 0017 0018 #include <QDialog> 0019 0020 // ---------------------------------------------------------------------------- 0021 // Project Includes 0022 0023 namespace Ui 0024 { 0025 class KCurrencyEditorDlg; 0026 } 0027 0028 class MyMoneySecurity; 0029 class KCurrencyEditorDlgPrivate; 0030 class KMM_BASE_DIALOGS_EXPORT KCurrencyEditorDlg : public QDialog 0031 { 0032 Q_DISABLE_COPY(KCurrencyEditorDlg) 0033 0034 Q_OBJECT 0035 public: 0036 explicit KCurrencyEditorDlg(const MyMoneySecurity ¤cy, QWidget *parent = nullptr); 0037 ~KCurrencyEditorDlg(); 0038 0039 MyMoneySecurity currency() const; 0040 0041 private: 0042 KCurrencyEditorDlgPrivate * const d_ptr; 0043 Q_DECLARE_PRIVATE(KCurrencyEditorDlg) 0044 }; 0045 0046 #endif