summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/plugins
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/plugins')
-rw-r--r--kmymoney2/plugins/ofximport/ofximporterplugin.cpp6
-rw-r--r--kmymoney2/plugins/pluginloader.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
index 77b790e..82919e0 100644
--- a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
+++ b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
@@ -93,7 +93,7 @@ TQString OfxImporterPlugin::formatFilenameFilter(void) const
bool OfxImporterPlugin::isMyFormat( const TQString& filename ) const
{
- // filename is considered an Ofx file if it tqcontains
+ // filename is considered an Ofx file if it contains
// the tag "<OFX>" or "<OFC>" in the first 20 lines
// which contain some data.
bool result = false;
@@ -108,8 +108,8 @@ bool OfxImporterPlugin::isMyFormat( const TQString& filename ) const
{
// get a line of data and remove all unnecessary whitepace chars
TQString line = ts.readLine().simplifyWhiteSpace();
- if ( line.tqcontains("<OFX>",false)
- || line.tqcontains("<OFC>",false) )
+ if ( line.contains("<OFX>",false)
+ || line.contains("<OFC>",false) )
result = true;
// count only lines that contains some non white space chars
if(!line.isEmpty())
diff --git a/kmymoney2/plugins/pluginloader.cpp b/kmymoney2/plugins/pluginloader.cpp
index 49f9dcc..c3d479b 100644
--- a/kmymoney2/plugins/pluginloader.cpp
+++ b/kmymoney2/plugins/pluginloader.cpp
@@ -133,14 +133,14 @@ void PluginLoader::changed()
void PluginLoader::changedConfigOfPlugin(const TQCString & name)
{
- PluginsMap::iterator itPlugin = d->m_loadedPlugins.tqfind(TQString(name));
+ PluginsMap::iterator itPlugin = d->m_loadedPlugins.find(TQString(name));
if (itPlugin != d->m_loadedPlugins.end())
configChanged(*itPlugin);
}
Plugin* PluginLoader::getPluginFromInfo(KPluginInfo* info)
{
- PluginsMap::iterator itPlugin = d->m_loadedPlugins.tqfind(info->name());
+ PluginsMap::iterator itPlugin = d->m_loadedPlugins.find(info->name());
if (itPlugin != d->m_loadedPlugins.end())
return *itPlugin;
else