summaryrefslogtreecommitdiffstats
path: root/src/tools/qregexp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/tools/qregexp.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'src/tools/qregexp.cpp')
-rw-r--r--src/tools/qregexp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qregexp.cpp b/src/tools/qregexp.cpp
index 81e160136..5338e6dbb 100644
--- a/src/tools/qregexp.cpp
+++ b/src/tools/qregexp.cpp
@@ -1443,7 +1443,7 @@ int TQRegExpEngine::anchorConcatenation( int a, int b )
if ( ((a | b) & Anchor_Alternation) == 0 )
return a | b;
if ( (b & Anchor_Alternation) != 0 )
- qSwap( a, b );
+ tqSwap( a, b );
int aprime = anchorConcatenation( aa[a ^ Anchor_Alternation].a, b );
int bprime = anchorConcatenation( aa[a ^ Anchor_Alternation].b, b );
@@ -2171,10 +2171,10 @@ bool TQRegExpEngine::matchHere()
)
stop = TRUE;
- qSwap( mmCurStack, mmNextStack );
+ tqSwap( mmCurStack, mmNextStack );
#ifndef QT_NO_REGEXP_CAPTURE
- qSwap( mmCurCapBegin, mmNextCapBegin );
- qSwap( mmCurCapEnd, mmNextCapEnd );
+ tqSwap( mmCurCapBegin, mmNextCapBegin );
+ tqSwap( mmCurCapEnd, mmNextCapEnd );
#endif
ncur = nnext;
nnext = 0;
@@ -2244,7 +2244,7 @@ void TQRegExpEngine::CharClass::addCategories( int cats )
void TQRegExpEngine::CharClass::addRange( ushort from, ushort to )
{
if ( from > to )
- qSwap( from, to );
+ tqSwap( from, to );
int m = r.size();
r.resize( m + 1 );
r[m].from = from;
@@ -2901,7 +2901,7 @@ int TQRegExpEngine::getToken()
yyMaxRep = getRep( InftyRep );
}
if ( yyMaxRep < yyMinRep )
- qSwap( yyMinRep, yyMaxRep );
+ tqSwap( yyMinRep, yyMaxRep );
if ( yyCh != '}' )
error( RXERR_REPETITION );
yyCh = getChar();