📄 atchatcommand.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopiaphone/atchat.cpp:141 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>AtChatCommand Class</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>AtChatCommand Class Reference</h1><p>.<a href="#details">More...</a><p><tt>#include <<a href="atchat-h.html">atchat.h</a>></tt><p>Inherited by <a href="pbatchatcommand.html">PBAtChatCommand</a>, <a href="smsatchatcommand.html">SMSAtChatCommand</a>, <a href="queryatchatcommand.html">QueryAtChatCommand</a> and <a href="dialatchatcommand.html">DialAtChatCommand</a>.<p><a href="atchatcommand-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn>enum <b>State</b> { Unqueued, Processing, Timeout, Done }</div></li><li><div class=fn><b>AtChatCommand</b> ( const QString & command )</div></li><li><div class=fn><b>AtChatCommand</b> ( const QString & command, const QString & pdu )</div></li><li><div class=fn><b>~AtChatCommand</b> ()</div></li><li><div class=fn>QString <b>command</b> () const</div></li><li><div class=fn>QString <b>pdu</b> () const</div></li><li><div class=fn>QString <b>response</b> () const</div></li><li><div class=fn>State <b>state</b> () const</div></li><li><div class=fn>bool <b>ok</b> () const</div></li><li><div class=fn>void <b>setRepeatCount</b> ( uint count )</div></li><li><div class=fn>uint <b>repeatCount</b> () const</div></li><li><div class=fn>bool <a href="#next"><b>next</b></a> ( const QString & prefix ) const</div></li><li><div class=fn>QString <a href="#lines"><b>lines</b></a> ( const QString & prefix ) const</div></li><li><div class=fn>QString <a href="#line"><b>line</b></a> () const</div></li><li><div class=fn>uint <a href="#readNumeric"><b>readNumeric</b></a> () const</div></li><li><div class=fn>QString <a href="#readString"><b>readString</b></a> () const</div></li><li><div class=fn>QString <a href="#readNextLine"><b>readNextLine</b></a> () const</div></li><li><div class=fn>bool <a href="#atEnd"><b>atEnd</b></a> () const</div></li><li><div class=fn>virtual bool <a href="#shouldAbort"><b>shouldAbort</b></a> () const</div></li></ul><h2>Signals</h2><ul><li><div class=fn>void <b>done</b> ( const AtChatCommand & cmd )</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2><p> <p>See also <a href="qtopiaphone.html">Qtopia Phone Classes</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn>bool <a name="atEnd"></a>AtChatCommand::atEnd () const</h3>Determine if we are at the end of the line that was just extracted.<h3 class=fn>QString <a name="line"></a>AtChatCommand::line () const</h3>Get the line that was just extracted, with the prefix stripped.<h3 class=fn>QString <a name="lines"></a>AtChatCommand::lines ( const QString & prefix ) const</h3>Extract all lines from the response with a specific prefix,separating lines by newline.<h3 class=fn>bool <a name="next"></a>AtChatCommand::next ( const QString & prefix ) const</h3>Extract the next line from the response with a specific prefix.<h3 class=fn>QString <a name="readNextLine"></a>AtChatCommand::readNextLine () const</h3>Read the next line.<h3 class=fn>uint <a name="readNumeric"></a>AtChatCommand::readNumeric () const</h3>Read a numeric field value from the line that was just extracted.<h3 class=fn>QString <a name="readString"></a>AtChatCommand::readString () const</h3>Read a string field value from the line that was just extracted.<h3 class=fn>bool <a name="shouldAbort"></a>AtChatCommand::shouldAbort () const<tt> [virtual]</tt></h3>Determine if this command should abort before it is even sent.This can happen for SMS commands where we may not know if thedevice supports SMS before we queue up an SMS command.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -