#include <qextscintillamacro.h>
Methods are provided to convert convert a macro to and from a textual representation so that they can be easily written to and read from permanent storage.
QextScintillaMacro::QextScintillaMacro | ( | QextScintilla * | parent, | |
const char * | name = 0 | |||
) |
Construct a QextScintillaMacro with parent parent and name name.
QextScintillaMacro::QextScintillaMacro | ( | const TQCString & | asc, | |
QextScintilla * | parent, | |||
const char * | name = 0 | |||
) |
Construct a QextScintillaMacro from the printable ASCII representation asc, with parent parent and name name.
virtual QextScintillaMacro::~QextScintillaMacro | ( | ) | [virtual] |
Destroy the QextScintillaMacro instance.
void QextScintillaMacro::clear | ( | ) |
Clear the contents of the macro.
bool QextScintillaMacro::load | ( | const TQCString & | asc | ) |
Load the macro from the printable ASCII representation asc. Returns TRUE if there was no error.
TQCString QextScintillaMacro::save | ( | ) | const |
Return a printable ASCII representation of the macro. It is guaranteed that only printable ASCII characters are used and that double quote characters will not be used.
virtual void QextScintillaMacro::play | ( | ) | [virtual, slot] |
Play the macro.
virtual void QextScintillaMacro::startRecording | ( | ) | [virtual, slot] |
Start recording user commands and add them to the macro.
virtual void QextScintillaMacro::endRecording | ( | ) | [virtual, slot] |
Stop recording user commands.