diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/tools/tqtextstream.cpp | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/tools/tqtextstream.cpp')
-rw-r--r-- | tqtinterface/qt4/src/tools/tqtextstream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/tools/tqtextstream.cpp b/tqtinterface/qt4/src/tools/tqtextstream.cpp index 842cb7e..1225f7b 100644 --- a/tqtinterface/qt4/src/tools/tqtextstream.cpp +++ b/tqtinterface/qt4/src/tools/tqtextstream.cpp @@ -150,7 +150,7 @@ \endcode The setprecision() function returns a TQTSManip object. - The TQTSManip object tqcontains a pointer to a member function in + The TQTSManip object contains a pointer to a member function in TQTextStream and an integer argument. When serializing a TQTSManip into a TQTextStream, the function is executed with the argument. @@ -480,7 +480,7 @@ TQ_LONG TQStringBuffer::writeBlock( const char *p, TQ_ULONG len ) return -1; } #endif - s->tqreplace(pos()/2, len/2, (TQChar*)p, len/2); + s->replace(pos()/2, len/2, (TQChar*)p, len/2); seek(pos()+len); return len; } |