Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kcategoryreassigndlg.h
Context not available. | |||||
2 | kcategoryreassigndlg.cpp | 2 | kcategoryreassigndlg.cpp | ||
---|---|---|---|---|---|
3 | ------------------- | 3 | ------------------- | ||
4 | copyright : (C) 2007 by Thomas Baumgart <ipwizard@users.sourceforge.net> | 4 | copyright : (C) 2007 by Thomas Baumgart <ipwizard@users.sourceforge.net> | ||
5 | (C) 2017 by Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> | ||||
5 | 6 | | |||
6 | ***************************************************************************/ | 7 | ***************************************************************************/ | ||
7 | 8 | | |||
Context not available. | |||||
20 | // ---------------------------------------------------------------------------- | 21 | // ---------------------------------------------------------------------------- | ||
21 | // QT Includes | 22 | // QT Includes | ||
22 | 23 | | |||
24 | #include <QDialog> | ||||
25 | | ||||
23 | // ---------------------------------------------------------------------------- | 26 | // ---------------------------------------------------------------------------- | ||
24 | // KDE Includes | 27 | // KDE Includes | ||
25 | 28 | | |||
26 | // ---------------------------------------------------------------------------- | 29 | // ---------------------------------------------------------------------------- | ||
27 | // Project Includes | 30 | // Project Includes | ||
28 | 31 | | |||
29 | #include "ui_kcategoryreassigndlgdecl.h" | 32 | class MyMoneyAccount; | ||
33 | namespace Ui { class KCategoryReassignDlg; } | ||||
30 | 34 | | |||
31 | /** | 35 | /** | ||
32 | * Implementation of the dialog that lets the user select a payee in order | 36 | * Implementation of the dialog that lets the user select a payee in order | ||
33 | * to re-assign transactions (for instance, if payees are deleted). | 37 | * to re-assign transactions (for instance, if payees are deleted). | ||
34 | */ | 38 | */ | ||
35 | 39 | | |||
36 | class KCategoryReassignDlgDecl : public QDialog, public Ui::KCategoryReassignDlgDecl | 40 | class KCategoryReassignDlg : public QDialog | ||
37 | { | | |||
38 | public: | | |||
39 | KCategoryReassignDlgDecl(QWidget *parent) : QDialog(parent) { | | |||
40 | setupUi(this); | | |||
41 | } | | |||
42 | }; | | |||
43 | | ||||
44 | class MyMoneyAccount; | | |||
45 | class KCategoryReassignDlg : public KCategoryReassignDlgDecl | | |||
46 | { | 41 | { | ||
47 | Q_OBJECT | 42 | Q_OBJECT | ||
48 | public: | 43 | Q_DISABLE_COPY(KCategoryReassignDlg) | ||
49 | /** Default constructor */ | | |||
50 | KCategoryReassignDlg(QWidget* parent = 0); | | |||
51 | 44 | | |||
52 | /** Destructor */ | 45 | public: | ||
46 | explicit KCategoryReassignDlg(QWidget* parent = nullptr); | ||||
53 | ~KCategoryReassignDlg(); | 47 | ~KCategoryReassignDlg(); | ||
54 | 48 | | |||
55 | /** | 49 | /** | ||
Context not available. | |||||
67 | protected: | 61 | protected: | ||
68 | void accept(); | 62 | void accept(); | ||
69 | 63 | | |||
64 | private: | ||||
65 | Ui::KCategoryReassignDlg *ui; | ||||
70 | }; | 66 | }; | ||
71 | 67 | | |||
72 | #endif // KCATEGORYREASSIGNDLG_H | 68 | #endif // KCATEGORYREASSIGNDLG_H | ||
Context not available. |