diff --git a/src/kcmoduleqml_p.h b/src/kcmoduleqml_p.h index 93c9626..c9459ee 100644 --- a/src/kcmoduleqml_p.h +++ b/src/kcmoduleqml_p.h @@ -1,59 +1,60 @@ /* Copyright (c) 2014 Marco Martin This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef KCMODULEQML_H #define KCMODULEQML_H #include +#include class QQuickItem; class KCModuleQmlPrivate; namespace KQuickAddons { class ConfigModule; } class KCModuleQml : public KCModule { Q_OBJECT public: KCModuleQml(std::unique_ptr configModule, QWidget* parent, const QVariantList& args); ~KCModuleQml() override; QString quickHelp() const override; const KAboutData *aboutData() const override; public Q_SLOTS: void load() override; void save() override; void defaults() override; protected: void focusInEvent(QFocusEvent *event) override; QSize sizeHint() const override; bool event(QEvent* event) override; bool eventFilter(QObject* watched, QEvent* event) override; private: KCModuleQmlPrivate *const d; Q_PRIVATE_SLOT(d, void syncCurrentIndex()) }; #endif