diff --git a/scriptengines/qml/plasmoid/appletinterface.cpp b/scriptengines/qml/plasmoid/appletinterface.cpp index fd1650128..b5b6725a8 100644 --- a/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/scriptengines/qml/plasmoid/appletinterface.cpp @@ -484,6 +484,4 @@ QString ContainmentInterface::activityId() const return containment()->activity(); } -#ifndef USE_JS_SCRIPTENGINE -#include "appletinterface.moc" -#endif +#include "moc_appletinterface.cpp" diff --git a/scriptengines/qml/plasmoid/jsappletinterface.cpp b/scriptengines/qml/plasmoid/jsappletinterface.cpp deleted file mode 100644 index 8cb20d205..000000000 --- a/scriptengines/qml/plasmoid/jsappletinterface.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2010 Marco Martin - * - * This program 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 program 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 General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#define USE_JS_SCRIPTENGINE -#include "appletinterface.cpp" -#include "appletinterface.moc" -