Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/reports/reportsview.h
- This file was moved from kmymoney/plugins/forecast/forecastview.h.
1 | /*************************************************************************** | 1 | /*************************************************************************** | ||
---|---|---|---|---|---|
2 | forecastview.h | 2 | reportsview.h | ||
3 | ------------------- | 3 | ------------------- | ||
4 | copyright : (C) 2018 by Łukasz Wojniłowicz | 4 | copyright : (C) 2018 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 FORECASTVIEW_H | 17 | #ifndef REPORTSVIEW_H | ||
18 | #define FORECASTVIEW_H | 18 | #define REPORTSVIEW_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 KForecastView; | 30 | class KReportsView; | ||
31 | 31 | | |||
32 | class ForecastView : public KMyMoneyPlugin::Plugin | 32 | class ReportsView : public KMyMoneyPlugin::Plugin | ||
33 | { | 33 | { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | 35 | | |||
36 | public: | 36 | public: | ||
37 | explicit ForecastView(QObject *parent, const QVariantList &args); | 37 | explicit ReportsView(QObject *parent, const QVariantList &args); | ||
38 | ~ForecastView() override; | 38 | ~ReportsView() final; | ||
39 | 39 | | |||
40 | void plug() override; | 40 | void plug() final; | ||
41 | void unplug() override; | 41 | void unplug() final; | ||
42 | 42 | | |||
43 | private: | 43 | private: | ||
44 | KForecastView* m_view; | 44 | KReportsView* m_view; | ||
45 | }; | 45 | }; | ||
46 | 46 | | |||
47 | #endif | 47 | #endif |