From 279c622b27a6f3ee9369691c3fa759f950bc8cf0 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 8 Aug 2013 15:52:13 +0200 Subject: [PATCH] remove include() --- .../qml/plasmoid/declarativeappletscript.cpp | 8 -------- src/scriptengines/qml/plasmoid/declarativeappletscript.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp index ae1bd9014..dc1242498 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp @@ -133,14 +133,6 @@ void DeclarativeAppletScript::executeAction(const QString &name) } } -bool DeclarativeAppletScript::include(const QString &path) -{ - /*TODO: probably include() doesn't make any sense anymore - return m_env->include(path); - */ - return false; -} - QList DeclarativeAppletScript::contextualActions() { if (!m_interface) { diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.h b/src/scriptengines/qml/plasmoid/declarativeappletscript.h index 72fefad11..f1082777c 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.h +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.h @@ -45,10 +45,6 @@ public: void constraintsEvent(Plasma::Types::Constraints constraints); - bool include(const QString &path); - - - public Q_SLOTS: void executeAction(const QString &name); void activate();