|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
/***************************************************************************
|
|
|
|
|
*
|
|
|
|
|
* tdenetman-pluginmanager.cpp - A NetworkManager frontend for KDE
|
|
|
|
|
* tdenetman-pluginmanager.cpp - A NetworkManager frontend for TDE
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 2006 Novell, Inc.
|
|
|
|
|
*
|
|
|
|
@ -126,7 +126,7 @@ Plugin* PluginManager::loadPlugin(const TQString& pluginID)
|
|
|
|
|
int error = 0;
|
|
|
|
|
KPluginInfo* info = infoForPluginID(pluginID);
|
|
|
|
|
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?
|
|
|
|
|
if (plugin)
|
|
|
|
|