File indexing completed on 2024-06-16 04:46:39

0001 /*
0002     SPDX-FileCopyrightText: 2018 Łukasz Wojniłowicz lukasz.wojnilowicz @gmail.com
0003     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 #ifndef KCM_REPORTSVIEW_H
0006 #define KCM_REPORTSVIEW_H
0007 
0008 #include <KCModule>
0009 #include <QWidget>
0010 #include <QScopedPointer>
0011 
0012 class ReportsViewSettingsWidgetPrivate;
0013 class ReportsViewSettingsWidget : public QWidget
0014 {
0015     Q_OBJECT
0016     Q_DISABLE_COPY(ReportsViewSettingsWidget)
0017 
0018 public:
0019     explicit ReportsViewSettingsWidget(QWidget* parent = nullptr);
0020     ~ReportsViewSettingsWidget();
0021 
0022 private:
0023     ReportsViewSettingsWidgetPrivate * const d_ptr;
0024     Q_DECLARE_PRIVATE(ReportsViewSettingsWidget)
0025 
0026 private Q_SLOTS:
0027     void slotCssUrlSelected(const QUrl&);
0028     void slotEditingFinished();
0029 };
0030 
0031 class KCMReportsView : public KCModule
0032 {
0033 public:
0034     explicit KCMReportsView(QWidget* parent, const QVariantList& args);
0035     ~KCMReportsView();
0036 };
0037 
0038 #endif
0039