2007-06-17 02:25:16 +02:00
|
|
|
/******************************************************************************
|
2007-08-06 13:20:02 +02:00
|
|
|
* Copyright 2007 by Aaron Seigo <aseigo@kde.org> *
|
2007-06-17 02:25:16 +02:00
|
|
|
* *
|
|
|
|
* This library is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU Library General Public *
|
|
|
|
* License as published by the Free Software Foundation; either *
|
|
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This library 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 *
|
|
|
|
* Library General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU Library General Public License *
|
|
|
|
* along with this library; see the file COPYING.LIB. If not, write to *
|
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *
|
|
|
|
* Boston, MA 02110-1301, USA. *
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
#include "packagestructure.h"
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
#include <QMap>
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
#include <KConfigGroup>
|
2008-02-26 02:46:17 +01:00
|
|
|
#include <KStandardDirs>
|
2008-02-26 05:07:07 +01:00
|
|
|
#include <KServiceTypeTrader>
|
2008-07-29 04:23:14 +02:00
|
|
|
#include <KUrl>
|
|
|
|
#include <KTemporaryFile>
|
|
|
|
#include <kio/netaccess.h>
|
|
|
|
#include <kio/job.h>
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2008-02-27 01:51:04 +01:00
|
|
|
#include "package.h"
|
2007-06-17 02:25:16 +02:00
|
|
|
|
|
|
|
namespace Plasma
|
|
|
|
{
|
|
|
|
|
|
|
|
class ContentStructure
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ContentStructure()
|
|
|
|
: directory(false),
|
|
|
|
required(false)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
ContentStructure(const ContentStructure &other)
|
2007-07-20 05:21:40 +02:00
|
|
|
{
|
|
|
|
path = other.path;
|
|
|
|
name = other.name;
|
|
|
|
mimetypes = other.mimetypes;
|
|
|
|
directory = other.directory;
|
|
|
|
required = other.required;
|
|
|
|
}
|
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
QString path;
|
|
|
|
QString name;
|
|
|
|
QStringList mimetypes;
|
|
|
|
bool directory;
|
|
|
|
bool required;
|
|
|
|
};
|
|
|
|
|
2008-07-01 20:56:43 +02:00
|
|
|
class PackageStructurePrivate
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2008-02-26 05:07:07 +01:00
|
|
|
public:
|
|
|
|
QString type;
|
2008-02-28 04:53:26 +01:00
|
|
|
QString path;
|
2008-02-29 09:14:32 +01:00
|
|
|
QString contentsPrefix;
|
2008-09-26 17:43:32 +02:00
|
|
|
QString packageRoot;
|
|
|
|
QString servicePrefix;
|
2008-02-26 05:07:07 +01:00
|
|
|
QMap<QByteArray, ContentStructure> contents;
|
|
|
|
QStringList mimetypes;
|
|
|
|
static QHash<QString, PackageStructure::Ptr> structures;
|
2008-02-28 04:53:26 +01:00
|
|
|
};
|
2007-06-17 02:25:16 +02:00
|
|
|
|
2008-07-01 20:56:43 +02:00
|
|
|
QHash<QString, PackageStructure::Ptr> PackageStructurePrivate::structures;
|
2007-06-17 02:25:16 +02:00
|
|
|
|
2008-02-26 05:07:07 +01:00
|
|
|
PackageStructure::PackageStructure(QObject *parent, const QString &type)
|
|
|
|
: QObject(parent),
|
2008-07-01 20:56:43 +02:00
|
|
|
d(new PackageStructurePrivate)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2008-02-26 05:07:07 +01:00
|
|
|
d->type = type;
|
2008-02-29 09:14:32 +01:00
|
|
|
d->contentsPrefix = "contents/";
|
2008-09-26 17:43:32 +02:00
|
|
|
d->packageRoot = "plasma/plasmoids/";
|
|
|
|
d->servicePrefix = "plasma-applet-";
|
2007-06-17 02:25:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
PackageStructure::~PackageStructure()
|
|
|
|
{
|
|
|
|
delete d;
|
|
|
|
}
|
|
|
|
|
2008-02-26 05:07:07 +01:00
|
|
|
PackageStructure::Ptr PackageStructure::load(const QString &packageFormat)
|
2008-02-26 02:46:17 +01:00
|
|
|
{
|
|
|
|
if (packageFormat.isEmpty()) {
|
2008-02-26 05:07:07 +01:00
|
|
|
return Ptr(new PackageStructure());
|
2008-02-26 02:46:17 +01:00
|
|
|
}
|
|
|
|
|
2008-07-01 20:56:43 +02:00
|
|
|
PackageStructure::Ptr structure = PackageStructurePrivate::structures[packageFormat];
|
2008-02-26 05:07:07 +01:00
|
|
|
|
|
|
|
if (structure) {
|
|
|
|
return structure;
|
|
|
|
}
|
|
|
|
|
|
|
|
// first we check for plugins in sycoca
|
|
|
|
QString constraint = QString("[X-KDE-PluginInfo-Name] == '%1'").arg(packageFormat);
|
2008-10-11 18:19:04 +02:00
|
|
|
KService::List offers =
|
|
|
|
KServiceTypeTrader::self()->query("Plasma/PackageStructure", constraint);
|
2008-02-26 05:07:07 +01:00
|
|
|
|
|
|
|
QVariantList args;
|
|
|
|
QString error;
|
|
|
|
foreach (const KService::Ptr &offer, offers) {
|
2008-10-11 18:19:04 +02:00
|
|
|
PackageStructure::Ptr structure(
|
|
|
|
offer->createInstance<Plasma::PackageStructure>(0, args, &error));
|
2008-02-26 05:07:07 +01:00
|
|
|
|
|
|
|
if (structure) {
|
|
|
|
return structure;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
kDebug() << "Couldn't load PackageStructure for" << packageFormat
|
|
|
|
<< "! reason given: " << error;
|
2008-02-26 05:07:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// if that didn't give us any love, then we try to load from a config file
|
|
|
|
structure = new PackageStructure();
|
2008-02-26 02:46:17 +01:00
|
|
|
QString configPath("plasma/packageformats/%1rc");
|
|
|
|
configPath = KStandardDirs::locate("data", configPath.arg(packageFormat));
|
|
|
|
|
|
|
|
if (!configPath.isEmpty()) {
|
|
|
|
KConfig config(configPath);
|
2008-02-26 05:07:07 +01:00
|
|
|
structure->read(&config);
|
2008-07-01 20:56:43 +02:00
|
|
|
PackageStructurePrivate::structures[packageFormat] = structure;
|
2008-07-29 04:23:14 +02:00
|
|
|
return structure;
|
|
|
|
}
|
|
|
|
|
|
|
|
// try to load from absolute file path
|
|
|
|
KUrl url(packageFormat);
|
|
|
|
if (url.isLocalFile()) {
|
|
|
|
KConfig config(KIO::NetAccess::mostLocalUrl(url, NULL).path(), KConfig::SimpleConfig);
|
|
|
|
structure->read(&config);
|
|
|
|
PackageStructurePrivate::structures[structure->type()] = structure;
|
|
|
|
} else {
|
|
|
|
KTemporaryFile tmp;
|
|
|
|
if (tmp.open()) {
|
|
|
|
KIO::Job *job = KIO::file_copy(url, KUrl(tmp.fileName()),
|
|
|
|
-1, KIO::Overwrite | KIO::HideProgressInfo);
|
|
|
|
if (job->exec()) {
|
|
|
|
KConfig config(tmp.fileName(), KConfig::SimpleConfig);
|
|
|
|
structure->read(&config);
|
|
|
|
PackageStructurePrivate::structures[structure->type()] = structure;
|
|
|
|
}
|
|
|
|
}
|
2008-02-26 02:46:17 +01:00
|
|
|
}
|
|
|
|
|
2008-02-26 05:07:07 +01:00
|
|
|
return structure;
|
2008-02-26 02:46:17 +01:00
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
PackageStructure &PackageStructure::operator=(const PackageStructure &rhs)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
|
|
|
if (this == &rhs) {
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
|
|
|
|
*d = *rhs.d;
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
QString PackageStructure::type() const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
|
|
|
return d->type;
|
|
|
|
}
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
QList<const char*> PackageStructure::directories() const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-10-22 03:28:48 +02:00
|
|
|
QList<const char*> dirs;
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constBegin();
|
2007-06-17 02:25:16 +02:00
|
|
|
while (it != d->contents.constEnd()) {
|
|
|
|
if (it.value().directory) {
|
2008-02-29 09:14:32 +01:00
|
|
|
dirs << it.key();
|
2007-06-17 02:25:16 +02:00
|
|
|
}
|
|
|
|
++it;
|
|
|
|
}
|
|
|
|
return dirs;
|
|
|
|
}
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
QList<const char*> PackageStructure::requiredDirectories() const
|
2007-07-20 05:21:40 +02:00
|
|
|
{
|
2007-10-22 03:28:48 +02:00
|
|
|
QList<const char*> dirs;
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constBegin();
|
2007-07-20 05:21:40 +02:00
|
|
|
while (it != d->contents.constEnd()) {
|
|
|
|
if (it.value().directory &&
|
|
|
|
it.value().required) {
|
2007-10-22 03:28:48 +02:00
|
|
|
dirs << it.key();
|
2007-07-20 05:21:40 +02:00
|
|
|
}
|
|
|
|
++it;
|
|
|
|
}
|
|
|
|
return dirs;
|
|
|
|
}
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
QList<const char*> PackageStructure::files() const
|
2007-07-20 05:21:40 +02:00
|
|
|
{
|
2007-10-22 03:28:48 +02:00
|
|
|
QList<const char*> files;
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constBegin();
|
2007-07-20 05:21:40 +02:00
|
|
|
while (it != d->contents.constEnd()) {
|
2007-10-22 03:28:48 +02:00
|
|
|
if (!it.value().directory) {
|
|
|
|
files << it.key();
|
2007-07-20 05:21:40 +02:00
|
|
|
}
|
|
|
|
++it;
|
|
|
|
}
|
|
|
|
return files;
|
|
|
|
}
|
|
|
|
|
2007-11-26 20:16:40 +01:00
|
|
|
QList<const char*> PackageStructure::requiredFiles() const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-10-22 03:28:48 +02:00
|
|
|
QList<const char*> files;
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constBegin();
|
2007-06-17 02:25:16 +02:00
|
|
|
while (it != d->contents.constEnd()) {
|
2007-10-22 03:28:48 +02:00
|
|
|
if (!it.value().directory && it.value().required) {
|
|
|
|
files << it.key();
|
2007-06-17 02:25:16 +02:00
|
|
|
}
|
|
|
|
++it;
|
|
|
|
}
|
|
|
|
return files;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
void PackageStructure::addDirectoryDefinition(const char *key,
|
|
|
|
const QString &path, const QString &name)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
|
|
|
ContentStructure s;
|
|
|
|
s.name = name;
|
|
|
|
s.path = path;
|
2007-10-09 19:22:52 +02:00
|
|
|
s.directory = true;
|
2007-06-17 02:25:16 +02:00
|
|
|
|
|
|
|
d->contents[key] = s;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
void PackageStructure::addFileDefinition(const char *key, const QString &path, const QString &name)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
|
|
|
ContentStructure s;
|
|
|
|
s.name = name;
|
|
|
|
s.path = path;
|
|
|
|
s.directory = false;
|
|
|
|
|
|
|
|
d->contents[key] = s;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
QString PackageStructure::path(const char *key) const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2008-07-03 07:45:07 +02:00
|
|
|
//kDebug() << "looking for" << key;
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.constEnd()) {
|
|
|
|
return QString();
|
|
|
|
}
|
|
|
|
|
2008-07-03 07:45:07 +02:00
|
|
|
//kDebug() << "found" << key << "and the value is" << it.value().path;
|
2007-06-17 02:25:16 +02:00
|
|
|
return it.value().path;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
QString PackageStructure::name(const char *key) const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.constEnd()) {
|
|
|
|
return QString();
|
|
|
|
}
|
|
|
|
|
|
|
|
return it.value().name;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
void PackageStructure::setRequired(const char *key, bool required)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.end()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
it.value().required = required;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
bool PackageStructure::isRequired(const char *key) const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.constEnd()) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return it.value().required;
|
|
|
|
}
|
|
|
|
|
2007-06-17 03:04:59 +02:00
|
|
|
void PackageStructure::setDefaultMimetypes(QStringList mimetypes)
|
|
|
|
{
|
|
|
|
d->mimetypes = mimetypes;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
void PackageStructure::setMimetypes(const char *key, QStringList mimetypes)
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.end()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
it.value().mimetypes = mimetypes;
|
|
|
|
}
|
|
|
|
|
2008-10-11 18:19:04 +02:00
|
|
|
QStringList PackageStructure::mimetypes(const char *key) const
|
2007-06-17 02:25:16 +02:00
|
|
|
{
|
2007-11-26 20:16:40 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.find(key);
|
2007-06-17 02:25:16 +02:00
|
|
|
if (it == d->contents.constEnd()) {
|
|
|
|
return QStringList();
|
|
|
|
}
|
|
|
|
|
2007-06-17 03:04:59 +02:00
|
|
|
if (it.value().mimetypes.isEmpty()) {
|
|
|
|
return d->mimetypes;
|
|
|
|
}
|
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
return it.value().mimetypes;
|
|
|
|
}
|
|
|
|
|
2008-02-28 04:53:26 +01:00
|
|
|
void PackageStructure::setPath(const QString &path)
|
|
|
|
{
|
|
|
|
d->path = path;
|
2008-06-05 21:32:15 +02:00
|
|
|
pathChanged();
|
2008-02-28 04:53:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
QString PackageStructure::path() const
|
|
|
|
{
|
|
|
|
return d->path;
|
|
|
|
}
|
|
|
|
|
2008-06-05 21:32:15 +02:00
|
|
|
void PackageStructure::pathChanged()
|
|
|
|
{
|
|
|
|
// default impl does nothing, this is a hook for subclasses.
|
|
|
|
}
|
|
|
|
|
2008-02-26 02:46:17 +01:00
|
|
|
void PackageStructure::read(const KConfigBase *config)
|
2007-12-02 14:16:39 +01:00
|
|
|
{
|
2008-02-26 02:46:17 +01:00
|
|
|
d->contents.clear();
|
|
|
|
d->mimetypes.clear();
|
2008-09-26 17:43:32 +02:00
|
|
|
d->type = config->group("").readEntry("Type", QString());
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
QStringList groups = config->groupList();
|
2008-04-26 18:19:00 +02:00
|
|
|
foreach (const QString &group, groups) {
|
2008-02-26 02:46:17 +01:00
|
|
|
QByteArray key = group.toAscii();
|
|
|
|
KConfigGroup entry = config->group(group);
|
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
QString path = entry.readEntry("Path", QString());
|
|
|
|
QString name = entry.readEntry("Name", QString());
|
|
|
|
QStringList mimetypes = entry.readEntry("Mimetypes", QStringList());
|
|
|
|
bool directory = entry.readEntry("Directory", false);
|
|
|
|
bool required = entry.readEntry("Required", false);
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
if (directory) {
|
2008-02-26 02:46:17 +01:00
|
|
|
addDirectoryDefinition(key, path, name);
|
|
|
|
} else {
|
|
|
|
addFileDefinition(key, path, name);
|
2007-12-02 14:16:39 +01:00
|
|
|
}
|
2008-02-26 02:46:17 +01:00
|
|
|
|
|
|
|
setMimetypes(key, mimetypes);
|
|
|
|
setRequired(key, required);
|
2007-12-02 14:16:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void PackageStructure::write(KConfigBase *config) const
|
|
|
|
{
|
|
|
|
config->group("").writeEntry("Type", type());
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
QMap<QByteArray, ContentStructure>::const_iterator it = d->contents.constBegin();
|
|
|
|
while (it != d->contents.constEnd()) {
|
|
|
|
KConfigGroup group = config->group(it.key());
|
|
|
|
group.writeEntry("Path", it.value().path);
|
|
|
|
group.writeEntry("Name", it.value().name);
|
|
|
|
if (!it.value().mimetypes.isEmpty()) {
|
|
|
|
group.writeEntry("Mimetypes", it.value().mimetypes);
|
|
|
|
}
|
|
|
|
if (it.value().directory) {
|
|
|
|
group.writeEntry("Directory", true);
|
|
|
|
}
|
|
|
|
if (it.value().required) {
|
|
|
|
group.writeEntry("Required", true);
|
|
|
|
}
|
2008-02-26 02:46:17 +01:00
|
|
|
|
2007-12-02 14:16:39 +01:00
|
|
|
++it;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-02-29 09:14:32 +01:00
|
|
|
QString PackageStructure::contentsPrefix() const
|
|
|
|
{
|
|
|
|
return d->contentsPrefix;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PackageStructure::setContentsPrefix(const QString &prefix)
|
|
|
|
{
|
|
|
|
d->contentsPrefix = prefix;
|
|
|
|
}
|
|
|
|
|
2008-02-27 01:51:04 +01:00
|
|
|
bool PackageStructure::installPackage(const QString &package, const QString &packageRoot)
|
|
|
|
{
|
2008-09-26 17:43:32 +02:00
|
|
|
return Package::installPackage(package, packageRoot, d->servicePrefix);
|
2008-02-27 01:51:04 +01:00
|
|
|
}
|
|
|
|
|
2008-04-29 02:56:33 +02:00
|
|
|
bool PackageStructure::uninstallPackage(const QString &packageName, const QString &packageRoot)
|
2008-03-30 01:56:09 +01:00
|
|
|
{
|
2008-09-26 17:43:32 +02:00
|
|
|
return Package::uninstallPackage(packageName, packageRoot, d->servicePrefix);
|
|
|
|
}
|
|
|
|
|
|
|
|
QString PackageStructure::defaultPackageRoot() const
|
|
|
|
{
|
|
|
|
return d->packageRoot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString PackageStructure::servicePrefix() const
|
|
|
|
{
|
|
|
|
return d->servicePrefix;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PackageStructure::setDefaultPackageRoot(const QString &packageRoot)
|
|
|
|
{
|
|
|
|
d->packageRoot = packageRoot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PackageStructure::setServicePrefix(const QString &servicePrefix)
|
|
|
|
{
|
|
|
|
d->servicePrefix = servicePrefix;
|
2008-03-30 01:56:09 +01:00
|
|
|
}
|
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
} // Plasma namespace
|
|
|
|
|
2008-02-26 05:07:07 +01:00
|
|
|
#include "packagestructure.moc"
|
|
|
|
|