|
|
@ -126,7 +126,7 @@ Plugin* PluginManager::loadPlugin(const TQString& pluginID)
|
|
|
|
int error = 0;
|
|
|
|
int error = 0;
|
|
|
|
KPluginInfo* info = infoForPluginID(pluginID);
|
|
|
|
KPluginInfo* info = infoForPluginID(pluginID);
|
|
|
|
Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::fromLatin1( "KNetworkManager/Plugin" ),
|
|
|
|
Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::fromLatin1( "KNetworkManager/Plugin" ),
|
|
|
|
TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginID ), this, 0, TQStringList(), &error );
|
|
|
|
TQString::fromLatin1( "[X-TDE-PluginInfo-Name]=='%1'" ).arg( pluginID ), this, 0, TQStringList(), &error );
|
|
|
|
|
|
|
|
|
|
|
|
// plugin loaded?
|
|
|
|
// plugin loaded?
|
|
|
|
if (plugin)
|
|
|
|
if (plugin)
|
|
|
|