Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/printcheck/kcm_printcheck.h
Show All 16 Lines | |||||
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_PRINTCHECK_H | 20 | #ifndef KCM_PRINTCHECK_H | ||
21 | #define KCM_PRINTCHECK_H | 21 | #define KCM_PRINTCHECK_H | ||
22 | 22 | | |||
23 | #include <kcmodule.h> | 23 | #include <kcmodule.h> | ||
24 | #include <QWidget> | 24 | #include <QWidget> | ||
25 | #include <QWebEngineView> | ||||
25 | #include "ui_pluginsettingsdecl.h" | 26 | #include "ui_pluginsettingsdecl.h" | ||
26 | 27 | | |||
27 | class QStringList; | 28 | class QStringList; | ||
28 | class KPluginInfo; | 29 | class KPluginInfo; | ||
29 | class KHTMLPart; | 30 | class KHTMLPart; | ||
30 | 31 | | |||
31 | class PluginSettingsWidget : public QWidget, public Ui::PluginSettingsDecl | 32 | class PluginSettingsWidget : public QWidget, public Ui::PluginSettingsDecl | ||
32 | { | 33 | { | ||
33 | Q_OBJECT | 34 | Q_OBJECT | ||
34 | public: | 35 | public: | ||
35 | PluginSettingsWidget(QWidget* parent = 0); | 36 | PluginSettingsWidget(QWidget* parent = 0); | ||
36 | 37 | | |||
37 | public slots: | 38 | public slots: | ||
38 | void urlSelected(const QUrl &url); | 39 | void urlSelected(const QUrl &url); | ||
39 | void returnPressed(const QString& url); | 40 | void returnPressed(const QString& url); | ||
40 | 41 | | |||
41 | private: | 42 | private: | ||
42 | KHTMLPart* m_checkTemplatePreviewHTMLPart; | 43 | QWebEngineView* m_checkTemplatePreviewHTMLPart; | ||
43 | }; | 44 | }; | ||
44 | 45 | | |||
45 | class KCMPrintCheck : public KCModule | 46 | class KCMPrintCheck : public KCModule | ||
46 | { | 47 | { | ||
47 | public: | 48 | public: | ||
48 | KCMPrintCheck(QWidget* parent, const QVariantList& args); | 49 | KCMPrintCheck(QWidget* parent, const QVariantList& args); | ||
49 | ~KCMPrintCheck(); | 50 | ~KCMPrintCheck(); | ||
50 | }; | 51 | }; | ||
51 | 52 | | |||
52 | #endif // KCM_PRINTCHECK_H | 53 | #endif // KCM_PRINTCHECK_H | ||
53 | 54 | |