summaryrefslogtreecommitdiffstats
path: root/knights/proto_xboard.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitcc087625fa031fa2f4fc22039a21c249b9b1d782 (patch)
tree9f33dbbff7df7c65d2b8123c0760df9227b0d185 /knights/proto_xboard.cpp
parentd28191c50b16ac38a44e155cddf7fd918d2cfafb (diff)
downloadknights-cc087625.tar.gz
knights-cc087625.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/proto_xboard.cpp')
-rw-r--r--knights/proto_xboard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knights/proto_xboard.cpp b/knights/proto_xboard.cpp
index fc90fca..9bdff6b 100644
--- a/knights/proto_xboard.cpp
+++ b/knights/proto_xboard.cpp
@@ -390,15 +390,15 @@ void proto_xboard::parse( const TQString &string )
emit output( Command( myID, CMD_Send_SIGINT ) );
/* Illegal */
- if( strList[0].tqcontains( "illegal", FALSE ) )
+ if( strList[0].contains( "illegal", FALSE ) )
{
if( AcceptIllegal )
{
- if( strIn.tqcontains("(no matching move)board") )
+ if( strIn.contains("(no matching move)board") )
return;
- if( strIn.tqcontains("(no matching move)protover") )
+ if( strIn.contains("(no matching move)protover") )
return;
- if( strIn.tqcontains("(no matching move)sd") )
+ if( strIn.contains("(no matching move)sd") )
return;
AcceptIllegal = FALSE;
emit output( Command( myID, CMD_Illegal ) );
@@ -428,7 +428,7 @@ void proto_xboard::parse( const TQString &string )
}
/* A Move ( Old Variation ) */
- if( ( strList[0].tqcontains( TQRegExp("\\d+\\.") ) ) && ( strList[1] == "..." ) )
+ if( ( strList[0].contains( TQRegExp("\\d+\\.") ) ) && ( strList[1] == "..." ) )
{
Command::clearMove( &myMove );
strcpy( myMove.SAN, strList[2].latin1() );
@@ -522,7 +522,7 @@ void proto_xboard::parse( const TQString &string )
}
/* Resign */
- if( strIn.tqcontains( "resign", FALSE ) )
+ if( strIn.contains( "resign", FALSE ) )
{
if( Army == WHITE )
emit output( Command( myID, CMD_White_Resign ) );