Logo Search packages:      
Sourcecode: kmess version File versions  Download package

bool MsnSocketBase::isErrorCommand ( const QString &  command  )  const [inherited]

Test whether the given command is an error.

Parameters:
command Command to verify
Returns:
True when it's an error command, false otherwise.

Definition at line 93 of file msnsocketbase.cpp.

Referenced by MsnConnection::isErrorCommand(), MsnSocketHttp::slotReplyReceived(), and slotSocketDataReceived().

{
  bool isNumeric = false;
  return ( command.toInt( &isNumeric ) != 0 ) && ( isNumeric == true );
}


Generated by  Doxygen 1.6.0   Back to index