Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/reports/kcm_reportsview.h
- This file was moved from kmymoney/plugins/forecast/kcm_forecastview.h.
Show All 11 Lines | |||||
12 | * This program is distributed in the hope that it will be useful, * | 12 | * This program is distributed in the hope that it will be useful, * | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
15 | * GNU General Public License for more details. * | 15 | * GNU General Public License for more details. * | ||
16 | * * | 16 | * * | ||
17 | * You should have received a copy of the GNU General Public License * | 17 | * You should have received a copy of the GNU General Public License * | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/> * | ||
19 | ***************************************************************************/ | 19 | ***************************************************************************/ | ||
20 | #ifndef KCM_FORECASTVIEW_H | 20 | #ifndef KCM_REPORTSVIEW_H | ||
21 | #define KCM_FORECASTVIEW_H | 21 | #define KCM_REPORTSVIEW_H | ||
22 | 22 | | |||
23 | #include <KCModule> | 23 | #include <KCModule> | ||
24 | #include <QWidget> | 24 | #include <QWidget> | ||
25 | #include "ui_forecastviewsettings.h" | 25 | #include <QScopedPointer> | ||
26 | 26 | | |||
27 | class ForecastViewSettingsWidget : public QWidget, public Ui::ForecastViewSettings | 27 | class ReportsViewSettingsWidgetPrivate; | ||
28 | class ReportsViewSettingsWidget : public QWidget | ||||
28 | { | 29 | { | ||
29 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | Q_DISABLE_COPY(ReportsViewSettingsWidget) | ||||
32 | | ||||
30 | public: | 33 | public: | ||
31 | explicit ForecastViewSettingsWidget(QWidget* parent = nullptr); | 34 | explicit ReportsViewSettingsWidget(QWidget* parent = nullptr); | ||
35 | ~ReportsViewSettingsWidget(); | ||||
36 | | ||||
37 | private: | ||||
38 | ReportsViewSettingsWidgetPrivate * const d_ptr; | ||||
39 | Q_DECLARE_PRIVATE(ReportsViewSettingsWidget) | ||||
40 | | ||||
41 | private Q_SLOTS: | ||||
42 | void slotCssUrlSelected(const QUrl&); | ||||
43 | void slotEditingFinished(); | ||||
32 | }; | 44 | }; | ||
33 | 45 | | |||
34 | class KCMForecastView : public KCModule | 46 | class KCMReportsView : public KCModule | ||
35 | { | 47 | { | ||
36 | public: | 48 | public: | ||
37 | explicit KCMForecastView(QWidget* parent, const QVariantList& args); | 49 | explicit KCMReportsView(QWidget* parent, const QVariantList& args); | ||
38 | ~KCMForecastView(); | 50 | ~KCMReportsView(); | ||
39 | }; | 51 | }; | ||
40 | 52 | | |||
41 | #endif | 53 | #endif | ||
42 | 54 | |