rename the following methods:

tqfind find
tqreplace replace
tqcontains contains


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libkipi@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ae567731fd
commit 4927c6aa39

@ -227,7 +227,7 @@ KDStream& KDStream::operator<<( const void* p)
*/
KDStream& KDStream::operator<<( const TQString& str )
{
int index = str.tqfindRev( '\n' );
int index = str.findRev( '\n' );
if ( index == -1 )
_output += str;
else {

@ -60,7 +60,7 @@ KActionCollection* KIPI::Plugin::actionCollection( TQWidget* widget )
if ( widget == 0 )
widget = d->m_defaultWidget;
if (!d->m_actionCollection.tqcontains( widget ))
if (!d->m_actionCollection.contains( widget ))
kdWarning( 51000 ) << "Error in the plugin. The plugin needs to call Plugin::setup( TQWidget* ) "
<< "as the very first line when overriding the setup method." << endl;
return d->m_actionCollection[widget];

@ -222,7 +222,7 @@ PluginLoader::PluginLoader( const TQStringList& ignores, Interface* interface )
continue;
}
if ( d->m_ignores.tqcontains( name ) ) {
if ( d->m_ignores.contains( name ) ) {
kdDebug( 51001 ) << "KIPI::PluginLoader: plugin " << name << " is in the ignore list for host application" << endl;
continue;
}

Loading…
Cancel
Save