File indexing completed on 2024-04-21 04:57:00
0001 /* This file is part of the KDE project 0002 0003 Copyright (C) 2005 by Enrico Ros <eros.kde@email.it> 0004 based on amarok code Copyright (C) 2004 by Mark Kretschmann <markey@web.de> 0005 0006 This program is free software; you can redistribute it and/or 0007 modify it under the terms of the GNU General Public 0008 License as published by the Free Software Foundation; either 0009 version 2 of the License, or (at your option) any later version. 0010 */ 0011 0012 #include "plugin.h" 0013 0014 #include <QDebug> 0015 0016 KGetPlugin::KGetPlugin(QObject *parent, const QVariantList &args) 0017 : QObject(parent) 0018 { 0019 Q_UNUSED(args) 0020 } 0021 0022 KGetPlugin::~KGetPlugin() 0023 { 0024 } 0025 0026 /* 0027 void Plugin::addPluginProperty( const QString& key, const QString& value ) 0028 { 0029 m_properties[key.toLower()] = value; 0030 } 0031 0032 QString Plugin::pluginProperty( const QString& key ) 0033 { 0034 if ( m_properties.find( key.toLower() ) == m_properties.end() ) 0035 return "false"; 0036 0037 return m_properties[key.toLower()]; 0038 } 0039 0040 bool Plugin::hasPluginProperty( const QString& key ) 0041 { 0042 return m_properties.find( key.toLower() ) != m_properties.end(); 0043 } 0044 */ 0045 0046 #include "moc_plugin.cpp"