AtChatCommand Class Reference
.
More...
#include <atchat.h>
Inherited by PBAtChatCommand, SMSAtChatCommand, QueryAtChatCommand, DialAtChatCommand, PBAtChatCommand, SMSAtChatCommand, QueryAtChatCommand, DialAtChatCommand, PBAtChatCommand, SMSAtChatCommand, QueryAtChatCommand and DialAtChatCommand.
List of all member functions.
Public Members
enum State { Unqueued, Processing, Timeout, Done }
AtChatCommand ( const QString & command )
AtChatCommand ( const QString & command, const QString & pdu )
~AtChatCommand ()
QString command () const
QString pdu () const
QString response () const
State state () const
bool ok () const
void setRepeatCount ( uint count )
uint repeatCount () const
bool
next ( const QString & prefix ) const
QString
lines ( const QString & prefix ) const
Signals
Detailed Description
See also Qtopia Phone Classes.
Member Function Documentation
bool AtChatCommand::atEnd () const
Determine if we are at the end of the line that was just extracted.
QString AtChatCommand::line () const
Get the line that was just extracted, with the prefix stripped.
QString AtChatCommand::lines ( const QString & prefix ) const
Extract all lines from the response with a specific prefix,
separating lines by newline.
bool AtChatCommand::next ( const QString & prefix ) const
Extract the next line from the response with a specific prefix.
QString AtChatCommand::readNextLine () const
Read the next line.
uint AtChatCommand::readNumeric () const
Read a numeric field value from the line that was just extracted.
QString AtChatCommand::readString () const
Read a string field value from the line that was just extracted.
bool AtChatCommand::shouldAbort () const [virtual]
Determine if this command should abort before it is even sent.
This can happen for SMS commands where we may not know if the
device supports SMS before we queue up an SMS command.
This file is part of the Qtopia platform,
copyright © 1995-2004
Trolltech, all rights reserved.
| Copyright © 2001-2004 Trolltech
| Trademarks
| Qtopia version 2.0.1
|