1 /*************************************************************************** 2 knewbudgetdlg.h 3 ------------------- 4 begin : Wed Jan 18 2006 5 copyright : (C) 2000-2004 by Darren Gould 6 email : darren_gould@gmx.de 7 (C) 2017 by Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 8 ***************************************************************************/ 9 10 /*************************************************************************** 11 * * 12 * This program is free software; you can redistribute it and/or modify * 13 * it under the terms of the GNU General Public License as published by * 14 * the Free Software Foundation; either version 2 of the License, or * 15 * (at your option) any later version. * 16 * * 17 ***************************************************************************/ 18 19 #ifndef KNEWBUDGETDLG_H 20 #define KNEWBUDGETDLG_H 21 22 // ---------------------------------------------------------------------------- 23 // QT Includes 24 25 #include <QDialog> 26 27 // ---------------------------------------------------------------------------- 28 // KDE Includes 29 30 // ---------------------------------------------------------------------------- 31 // Project Includes 32 33 class KNewBudgetDlgPrivate; 34 class KNewBudgetDlg : public QDialog 35 { 36 Q_OBJECT 37 Q_DISABLE_COPY(KNewBudgetDlg) 38 39 public: 40 explicit KNewBudgetDlg(QWidget* parent = nullptr); 41 ~KNewBudgetDlg(); 42 43 QString getYear() const; 44 QString getName() const; 45 46 public Q_SLOTS: 47 void m_pbCancel_clicked(); 48 void m_pbOk_clicked(); 49 50 private: 51 KNewBudgetDlgPrivate * const d_ptr; 52 Q_DECLARE_PRIVATE(KNewBudgetDlg) 53 }; 54 55 #endif // KNEWBUDGETDLG_H 56