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 | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /lib/kofficecore/tests | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficecore/tests')
-rw-r--r-- | lib/kofficecore/tests/filter_graph.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/tests/filter_graph.cpp b/lib/kofficecore/tests/filter_graph.cpp index ac25c8d7..baead627 100644 --- a/lib/kofficecore/tests/filter_graph.cpp +++ b/lib/kofficecore/tests/filter_graph.cpp @@ -53,7 +53,7 @@ int main( int /*argc*/, char ** /*argv*/ ) output += " \""; output += key.latin1(); output += "\" [tqshape=box, style=filled, fillcolor=lightblue];\n"; - if ( vertices.tqfind( key ) == vertices.end() ) + if ( vertices.find( key ) == vertices.end() ) vertices.append( key ); } } @@ -71,7 +71,7 @@ int main( int /*argc*/, char ** /*argv*/ ) TQStringList::ConstIterator importEnd = ( *it )->import.end(); for ( ; importIt != importEnd; ++importIt ) { // already there? - if ( vertices.tqfind( *importIt ) == vertices.end() ) { + if ( vertices.find( *importIt ) == vertices.end() ) { vertices.append( *importIt ); output += " \""; output += ( *importIt ).latin1(); @@ -84,7 +84,7 @@ int main( int /*argc*/, char ** /*argv*/ ) for ( ; exportIt != exportEnd; ++exportIt ) { // First make sure the export vertex is in place - if ( vertices.tqfind( *exportIt ) == vertices.end() ) { + if ( vertices.find( *exportIt ) == vertices.end() ) { output += " \""; output += ( *exportIt ).latin1(); output += "\";\n"; |