<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>QScintilla: QsciMacro Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">QScintilla  <span id="projectnumber">2.11.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#pub-slots">Public Slots</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="classQsciMacro-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">QsciMacro Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <qscimacro.h></code></p> <p>Inherits QObject.</p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a> Public Slots</h2></td></tr> <tr class="memitem:a3de5fbc4e99be9cb9d10d90dd8b1059d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3de5fbc4e99be9cb9d10d90dd8b1059d"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a3de5fbc4e99be9cb9d10d90dd8b1059d">play</a> ()</td></tr> <tr class="separator:a3de5fbc4e99be9cb9d10d90dd8b1059d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a5648ea6c1e35aaaa55f9aaf83e7eda"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a5648ea6c1e35aaaa55f9aaf83e7eda"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a4a5648ea6c1e35aaaa55f9aaf83e7eda">startRecording</a> ()</td></tr> <tr class="separator:a4a5648ea6c1e35aaaa55f9aaf83e7eda"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a783f17e12ca844655568b5718aa26a35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a783f17e12ca844655568b5718aa26a35"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a783f17e12ca844655568b5718aa26a35">endRecording</a> ()</td></tr> <tr class="separator:a783f17e12ca844655568b5718aa26a35"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a168da9e3a890906f229505cd253eec4b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a168da9e3a890906f229505cd253eec4b"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a168da9e3a890906f229505cd253eec4b">QsciMacro</a> (<a class="el" href="classQsciScintilla.html">QsciScintilla</a> *parent)</td></tr> <tr class="separator:a168da9e3a890906f229505cd253eec4b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a933a97fb937d67dbe86a4abe229c755f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a933a97fb937d67dbe86a4abe229c755f">QsciMacro</a> (const QString &asc, <a class="el" href="classQsciScintilla.html">QsciScintilla</a> *parent)</td></tr> <tr class="separator:a933a97fb937d67dbe86a4abe229c755f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a17533fc70491bd7752d4a8ead5facf01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17533fc70491bd7752d4a8ead5facf01"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a17533fc70491bd7752d4a8ead5facf01">~QsciMacro</a> ()</td></tr> <tr class="separator:a17533fc70491bd7752d4a8ead5facf01"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4387e4fa992c8671dd508c0c2651e34f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4387e4fa992c8671dd508c0c2651e34f"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a4387e4fa992c8671dd508c0c2651e34f">clear</a> ()</td></tr> <tr class="separator:a4387e4fa992c8671dd508c0c2651e34f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c342b5db46e12a8d73567fac9959543"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a1c342b5db46e12a8d73567fac9959543">load</a> (const QString &asc)</td></tr> <tr class="separator:a1c342b5db46e12a8d73567fac9959543"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a70b5b257c7c60777d134069a9cff3a28"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciMacro.html#a70b5b257c7c60777d134069a9cff3a28">save</a> () const </td></tr> <tr class="separator:a70b5b257c7c60777d134069a9cff3a28"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>The <a class="el" href="classQsciMacro.html" title="The QsciMacro class represents a sequence of recordable editor commands. ">QsciMacro</a> class represents a sequence of recordable editor commands. </p> <p>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. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a933a97fb937d67dbe86a4abe229c755f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QsciMacro::QsciMacro </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>asc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classQsciScintilla.html">QsciScintilla</a> * </td> <td class="paramname"><em>parent</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classQsciMacro.html" title="The QsciMacro class represents a sequence of recordable editor commands. ">QsciMacro</a> from the printable ASCII representation <em>asc</em>, with parent <em>parent</em>. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a1c342b5db46e12a8d73567fac9959543"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool QsciMacro::load </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>asc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Load the macro from the printable ASCII representation <em>asc</em>. Returns true if there was no error.</p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classQsciMacro.html#a70b5b257c7c60777d134069a9cff3a28">save()</a> </dd></dl> </div> </div> <a class="anchor" id="a70b5b257c7c60777d134069a9cff3a28"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString QsciMacro::save </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>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.</p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classQsciMacro.html#a1c342b5db46e12a8d73567fac9959543">load()</a> </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.11 </small></address> </body> </html>