summaryrefslogtreecommitdiffstats
path: root/kparts/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/plugin.cpp')
-rw-r--r--kparts/plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kparts/plugin.cpp b/kparts/plugin.cpp
index b9b60fc0b..a42839c23 100644
--- a/kparts/plugin.cpp
+++ b/kparts/plugin.cpp
@@ -107,7 +107,7 @@ TQValueList<Plugin::PluginInfo> Plugin::pluginInfos( const KInstance * instance
if ( fInfo.extension() == TQString::tqfromLatin1( "desktop" ) )
continue;
- TQMap<TQString,TQStringList>::Iterator mapIt = sortedPlugins.tqfind( fInfo.fileName() );
+ TQMap<TQString,TQStringList>::Iterator mapIt = sortedPlugins.find( fInfo.fileName() );
if ( mapIt == sortedPlugins.end() )
mapIt = sortedPlugins.insert( fInfo.fileName(), TQStringList() );
@@ -249,7 +249,7 @@ void Plugin::loadPlugins( TQObject *parent, KXMLGUIClient* parentGUIClient, KIns
else
{ // no user-setting, load plugin default setting
TQString relPath = TQString( instance->instanceName() ) + "/" + (*pIt).m_relXMLFileName;
- relPath.truncate( relPath.tqfindRev( '.' ) ); // remove extension
+ relPath.truncate( relPath.findRev( '.' ) ); // remove extension
relPath += ".desktop";
//kdDebug(1000) << "looking for " << relPath << endl;
const TQString desktopfile = instance->dirs()->findResource( "data", relPath );