kde-extraapps/kget/core/plugin/plugin.cpp

46 lines
1 KiB
C++
Raw Normal View History

/* This file is part of the KDE project
Copyright (C) 2005 by Enrico Ros <eros.kde@email.it>
based on amarok code Copyright (C) 2004 by Mark Kretschmann <markey@web.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
*/
#include "plugin.h"
#include <kdebug.h>
KGetPlugin::KGetPlugin(QObject *parent, const QVariantList &args)
: QObject(parent)
{
Q_UNUSED(args)
}
KGetPlugin::~KGetPlugin()
{
}
/*
void Plugin::addPluginProperty( const QString& key, const QString& value )
{
m_properties[key.toLower()] = value;
}
QString Plugin::pluginProperty( const QString& key )
{
if ( m_properties.find( key.toLower() ) == m_properties.end() )
return "false";
return m_properties[key.toLower()];
}
bool Plugin::hasPluginProperty( const QString& key )
{
return m_properties.find( key.toLower() ) != m_properties.end();
}
*/