Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAtChatScript class provides a mechanism to run pppd chat scripts. More...
#include <QAtChatScript>
Inherits QObject.
The QAtChatScript class provides a mechanism to run pppd chat scripts.
This class is intended for use by the Qt Extended network component. Other components should use QAtChat.
Chat scripts are started by calling runChat() or runChatFile(). When the script completes successfully or unsuccessfully, the done() signal will be emitted. Scripts can be aborted prematurely by calling stop().
The chat script format is based on that used by the Unix chat(8) utility.
See also QAtChat.
Construct a chat script object that sends AT commands from the script on atchat. The new object will be attached to parent.
Destruct this chat script object.
Signal that is emitted when the chat script is done. The ok flag indicates whether the script succeeded or failed, and result indicates more information about the failure (busy, no carrier, etc).
See also runChat(), runChatFile(), and successfulCommands().
Run a literal chatScript. The done() signal will be emitted when the script completes.
The chat script format is based on that used by the Unix chat(8) utility.
See also runChatFile() and done().
This is an overloaded member function, provided for convenience.
Run a list of commands which have already been parsed from a chat script. The done() signal will be emitted when the script completes.
See also runChatFile() and done().
Run the chat script within filename. The done() signal will be emitted when the script completes.
The chat script format is based on that used by the Unix chat(8) utility.
See also runChat() and done().
Stop the chat script.
See also runChat() and runChatFile().
Returns the number of commands that were successful. If this is less than totalCommands() when the done() signal is emitted, then the script stopped with an error before the whole script could be executed.
See also totalCommands() and done().
Returns the total number of commands to be executed in the chat script.
See also successfulCommands().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |