diff --git a/src/file/mainadaptor.cpp b/src/file/mainadaptor.cpp index 933b1d0c..3c1f3f2e 100644 --- a/src/file/mainadaptor.cpp +++ b/src/file/mainadaptor.cpp @@ -1,45 +1,39 @@ /* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp org.kde.baloo.main.xml -a mainadaptor * * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd. * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #include "mainadaptor.h" -#include -#include -#include -#include -#include -#include /* * Implementation of adaptor class MainAdaptor */ MainAdaptor::MainAdaptor(Baloo::MainHub *parent) : QDBusAbstractAdaptor(parent) , mainHub(parent) { // constructor setAutoRelaySignals(true); } MainAdaptor::~MainAdaptor() { // destructor } void MainAdaptor::quit() { mainHub->quit(); } void MainAdaptor::updateConfig() { mainHub->updateConfig(); } diff --git a/src/file/mainadaptor.h b/src/file/mainadaptor.h index b5c8bd32..ad3fe5fa 100644 --- a/src/file/mainadaptor.h +++ b/src/file/mainadaptor.h @@ -1,57 +1,48 @@ /* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp org.kde.baloo.main.xml -a mainadaptor * * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd. * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #ifndef MAINADAPTOR_H #define MAINADAPTOR_H #include #include #include "mainhub.h" -QT_BEGIN_NAMESPACE -class QByteArray; -template class QList; -template class QMap; -class QString; -class QStringList; -class QVariant; -QT_END_NAMESPACE - /* * This is mainly for API compatibility and will * be removed as soon as plasma moves to using newer * D-Bus API */ class MainAdaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.baloo") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" "") public: explicit MainAdaptor(Baloo::MainHub *parent); virtual ~MainAdaptor(); public: // PROPERTIES public Q_SLOTS: // METHODS void quit(); void updateConfig(); Q_SIGNALS: // SIGNALS private: Baloo::MainHub* mainHub; }; #endif