summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp b/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
index 253f9bf00..4bbeee35c 100644
--- a/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
+++ b/experimental/tqtinterface/qt4/src/tools/tqcomlibrary.cpp
@@ -273,11 +273,11 @@ static bool tqt_parse_pattern( const char *s, uint *version, uint *flags,
# include <sys/mman.h>
#endif // TQ_OS_FREEBSD || TQ_OS_LINUX
-static long qt_tqfind_pattern( const char *s, ulong s_len,
+static long qt_find_pattern( const char *s, ulong s_len,
const char *pattern, ulong p_len )
{
/*
- this uses the same algorithm as TQString::tqfindRev...
+ this uses the same algorithm as TQString::findRev...
we search from the end of the file because on the supported
systems, the read-only data/text segments are placed at the end
@@ -358,7 +358,7 @@ static bool tqt_unix_query( const TQString &library, uint *version, uint *flags,
// verify that the pattern is present in the plugin
const char *pattern = "pattern=TQT_UCM_VERIFICATION_DATA";
const ulong plen = tqstrlen( pattern );
- long pos = qt_tqfind_pattern( filedata, fdlen, pattern, plen );
+ long pos = qt_find_pattern( filedata, fdlen, pattern, plen );
bool ret = FALSE;
if ( pos >= 0 ) {