summaryrefslogtreecommitdiffstats
path: root/src/tools/qregexp.cpp
diff options
context:
space:
mode:
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();