Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/printcheck/printcheck.h
Show All 20 Lines | |||||
21 | #define PRINTCHECK_H | 21 | #define PRINTCHECK_H | ||
22 | 22 | | |||
23 | #include <memory> | 23 | #include <memory> | ||
24 | 24 | | |||
25 | #include "kmymoneyplugin.h" | 25 | #include "kmymoneyplugin.h" | ||
26 | #include "mymoneyaccount.h" | 26 | #include "mymoneyaccount.h" | ||
27 | #include "mymoneykeyvaluecontainer.h" | 27 | #include "mymoneykeyvaluecontainer.h" | ||
28 | #include "selectedtransaction.h" | 28 | #include "selectedtransaction.h" | ||
29 | #include <QPrinter> | ||||
29 | 30 | | |||
30 | class QStringList; | 31 | class QStringList; | ||
31 | class KPluginInfo; | 32 | class KPluginInfo; | ||
32 | 33 | | |||
33 | class KMMPrintCheckPlugin: public KMyMoneyPlugin::Plugin | 34 | class KMMPrintCheckPlugin: public KMyMoneyPlugin::Plugin | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | Q_PLUGIN_METADATA(IID "org.kmymoney.plugins.printcheck" FILE "kmm_printcheck.json") | 37 | Q_PLUGIN_METADATA(IID "org.kmymoney.plugins.printcheck" FILE "kmm_printcheck.json") | ||
Show All 14 Lines | 49 | protected slots: | |||
51 | // the plugin loader plugs in a plugin | 52 | // the plugin loader plugs in a plugin | ||
52 | void slotPlug(KPluginInfo*); | 53 | void slotPlug(KPluginInfo*); | ||
53 | // the plugin's configurations has changed | 54 | // the plugin's configurations has changed | ||
54 | void slotUpdateConfig(); | 55 | void slotUpdateConfig(); | ||
55 | 56 | | |||
56 | private: | 57 | private: | ||
57 | struct Private; | 58 | struct Private; | ||
58 | std::unique_ptr<Private> d; | 59 | std::unique_ptr<Private> d; | ||
60 | QPrinter *m_currentPrinter; | ||||
59 | }; | 61 | }; | ||
60 | 62 | | |||
61 | #endif // PRINTCHECK_H | 63 | #endif // PRINTCHECK_H | ||
62 | 64 | |