Fix krusader FTBFS under Qt3

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1239284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 6ffad5a006
commit 5a8037c240

@ -1656,7 +1656,7 @@ TQString kio_krarcProtocol::escape( TQString name ) {
const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| "; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
name.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
name.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return name;
}

@ -339,7 +339,7 @@ TQString bashquote( TQString s ) {
static const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| \t\r\n"; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
s.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
s.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return s;
}

@ -185,7 +185,7 @@ TQString KrServices::escape( TQString name ) {
const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| \t\r\n"; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
name.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
name.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return name;
}

Loading…
Cancel
Save