plasma-framework/examples/kpart/testshellpluginloader.cpp

50 lines
1.5 KiB
C++
Raw Normal View History

2013-09-04 11:48:06 +02:00
/*
* Copyright 2010 Ryan Rix <ry@n.rix.si>
*
* 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.
*/
#include "testshellpluginloader.h"
#include <KDebug>
#include <Plasma/Plasma>
#include <Plasma/Applet>
#include <Plasma/Service>
#include <Plasma/DataEngine>
TestShellPluginLoader::~TestShellPluginLoader()
{
}
2014-04-26 01:45:47 +02:00
Plasma::Applet *TestShellPluginLoader::internalLoadApplet(const QString &name, uint appletId, const QVariantList &args)
2013-09-04 11:48:06 +02:00
{
kDebug() << "loadApplet called with" << name << appletId << args;
return 0;
}
2014-04-26 01:45:47 +02:00
Plasma::DataEngine *TestShellPluginLoader::internalLoadDataEngine(const QString &name)
2013-09-04 11:48:06 +02:00
{
kDebug() << "loadEngine called with" << name;
return 0;
}
2014-04-26 01:45:47 +02:00
Plasma::Service *TestShellPluginLoader::internalLoadService(const QString &name, const QVariantList &args, QObject *parent)
2013-09-04 11:48:06 +02:00
{
kDebug() << "loadService called with" << name << args << parent;
return 0;
}