Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/gnc/import/gncimporter.h
- This file was moved from kmymoney/plugins/gnc/import/gncimporterplugin.h.
1 | /*************************************************************************** | 1 | /*************************************************************************** | ||
---|---|---|---|---|---|
2 | gncimporterplugin.h | 2 | gncimporter.h | ||
3 | ------------------- | 3 | ------------------- | ||
4 | copyright : (C) 2017 by Łukasz Wojniłowicz | 4 | copyright : (C) 2017 by Łukasz Wojniłowicz | ||
5 | email : lukasz.wojnilowicz@gmail.com | 5 | email : lukasz.wojnilowicz@gmail.com | ||
6 | ***************************************************************************/ | 6 | ***************************************************************************/ | ||
7 | 7 | | |||
8 | /*************************************************************************** | 8 | /*************************************************************************** | ||
9 | * * | 9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * | ||
14 | * * | 14 | * * | ||
15 | ***************************************************************************/ | 15 | ***************************************************************************/ | ||
16 | 16 | | |||
17 | #ifndef GNCIMPORTERPLUGIN_H | 17 | #ifndef GNCIMPORTER_H | ||
18 | #define GNCIMPORTERPLUGIN_H | 18 | #define GNCIMPORTER_H | ||
19 | 19 | | |||
20 | // ---------------------------------------------------------------------------- | 20 | // ---------------------------------------------------------------------------- | ||
21 | // KDE Includes | 21 | // KDE Includes | ||
22 | 22 | | |||
23 | // ---------------------------------------------------------------------------- | 23 | // ---------------------------------------------------------------------------- | ||
24 | // QT Includes | 24 | // QT Includes | ||
25 | 25 | | |||
26 | // Project Includes | 26 | // Project Includes | ||
27 | 27 | | |||
28 | #include "kmymoneyplugin.h" | 28 | #include "kmymoneyplugin.h" | ||
29 | 29 | | |||
30 | class MyMoneyGncReader; | 30 | class MyMoneyGncReader; | ||
31 | 31 | | |||
32 | class GNCImporterPlugin : public KMyMoneyPlugin::Plugin | 32 | class GNCImporter : public KMyMoneyPlugin::Plugin | ||
33 | { | 33 | { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | Q_PLUGIN_METADATA(IID "org.kmymoney.plugins.gncimport" FILE "gncimport.json") | | |||
36 | 35 | | |||
37 | public: | 36 | public: | ||
38 | explicit GNCImporterPlugin(); | 37 | explicit GNCImporter(QObject *parent, const QVariantList &args); | ||
39 | ~GNCImporterPlugin(); | 38 | ~GNCImporter() override; | ||
40 | 39 | | |||
41 | QAction *m_action; | 40 | QAction *m_action; | ||
42 | 41 | | |||
43 | private: | 42 | private: | ||
44 | MyMoneyGncReader *m_gncReader; | 43 | MyMoneyGncReader *m_gncReader; | ||
45 | 44 | | |||
46 | private Q_SLOTS: | 45 | private Q_SLOTS: | ||
47 | 46 | | |||
Show All 14 Lines |