diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 0254ebaa5e056092461fd585b6851d15faa43035 (patch) | |
tree | 2bf41a1c189b92dc1b9ab89e3ce392f8132214c4 /src/core | |
parent | fa071926f015f39711632b3fb9fe16004d93d0ec (diff) | |
download | tellico-0254ebaa5e056092461fd585b6851d15faa43035.tar.gz tellico-0254ebaa5e056092461fd585b6851d15faa43035.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/dcopinterface_skel.cpp | 4 | ||||
-rw-r--r-- | src/core/netaccess.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dcopinterface_skel.cpp b/src/core/dcopinterface_skel.cpp index 49bdce0..8de56bf 100644 --- a/src/core/dcopinterface_skel.cpp +++ b/src/core/dcopinterface_skel.cpp @@ -58,7 +58,7 @@ bool ApplicationInterface::process(const TQCString &fun, const TQByteArray &data for ( int i = 0; ApplicationInterface_ftable[i][1]; i++ ) fdict->insert( ApplicationInterface_ftable[i][1], new int( i ) ); } - int* fp = fdict->tqfind( fun ); + int* fp = fdict->find( fun ); switch ( fp?*fp:-1) { case 0: { // bool importTellico(TQString,TQString) TQString arg0; @@ -262,7 +262,7 @@ bool CollectionInterface::process(const TQCString &fun, const TQByteArray &data, for ( int i = 0; CollectionInterface_ftable[i][1]; i++ ) fdict->insert( CollectionInterface_ftable[i][1], new int( i ) ); } - int* fp = fdict->tqfind( fun ); + int* fp = fdict->find( fun ); switch ( fp?*fp:-1) { case 0: { // long int addEntry() replyType = CollectionInterface_ftable[0][0]; diff --git a/src/core/netaccess.cpp b/src/core/netaccess.cpp index ef756cc..ea644ba 100644 --- a/src/core/netaccess.cpp +++ b/src/core/netaccess.cpp @@ -61,7 +61,7 @@ void NetAccess::removeTempFile(const TQString& name_) { if(!s_tmpFiles) { return; } - if(s_tmpFiles->tqcontains(name_)) { + if(s_tmpFiles->contains(name_)) { ::unlink(TQFile::encodeName(name_)); s_tmpFiles->remove(name_); } |