Commit e80527fd authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Do not include full QtQml module, only needed classes

parent 6cc69cab
......@@ -20,9 +20,9 @@
#include "colorpickerplugin.h"
#include <QtQml>
// Qt
#include <QColor>
#include <QQmlEngine>
#include "grabwidget.h"
......
......@@ -20,7 +20,8 @@
#include "dict_object.h"
#include "dictionariesmodel.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void DictPlugin::registerTypes (const char *uri)
{
......
......@@ -19,7 +19,8 @@
#include "DiskQuota.h"
#include "QuotaListModel.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void DiskQuotaPlugin::registerTypes (const char *uri)
{
......
......@@ -21,7 +21,9 @@
#include "fifteenpuzzleplugin.h"
#include "fifteenimageprovider.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
#include <QDebug>
void FifteenPuzzlePlugin::registerTypes(const char* uri)
{
......
......@@ -19,7 +19,8 @@
#include "mediaframeplugin.h"
#include "mediaframe.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void MediaFramePlugin::registerTypes(const char *uri)
{
......
......@@ -19,7 +19,8 @@
#include "minimizeallplugin.h"
#include "minimizeall.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void MinimizeAllPlugin::registerTypes(const char *uri)
{
......
......@@ -22,7 +22,8 @@
#include "notemanager.h"
#include "note.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
#include <QFile>
class NotesHelper : public QObject
......
......@@ -21,7 +21,8 @@
#include "quicklaunchplugin.h"
#include "quicklaunch_p.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void QuicklaunchPlugin::registerTypes(const char *uri)
{
......
......@@ -19,7 +19,8 @@
#include "showdesktopplugin.h"
#include "showdesktop.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
void ShowDesktopPlugin::registerTypes(const char *uri)
{
......
......@@ -19,7 +19,8 @@
#include "timerplugin.h"
#include "timer.h"
#include <QtQml>
// Qt
#include <QQmlEngine>
static QObject *timer_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
{
......
......@@ -21,9 +21,10 @@
#include "locationlistmodel.h"
#include "servicelistmodel.h"
// KF
#include <KLocalizedString>
#include <QtQml>
// Qt
#include <QQmlEngine>
static QObject* temperatureUnitListModelSingletonTypeProvider(QQmlEngine *engine, QJSEngine *scriptEngine)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment