<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>QextScintillaCommandSet class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> <hr><h1>QextScintillaCommandSet Class Reference</h1>The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. <a href="#_details">More...</a> <p> <code>#include <qextscintillacommandset.h></code> <p> <a href="classQextScintillaCommandSet-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li>bool <a class="el" href="classQextScintillaCommandSet.html#a0">readSettings</a> (QSettings &qs, const char *prefix="/Scintilla") <li>bool <a class="el" href="classQextScintillaCommandSet.html#a1">writeSettings</a> (QSettings &qs, const char *prefix="/Scintilla") <li>const QPtrList< <a class="el" href="classQextScintillaCommand.html">QextScintillaCommand</a> > & <a class="el" href="classQextScintillaCommandSet.html#a2">commands</a> () const </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. <p> Methods are provided to access the individual commands and to read and write the current bindings from and to settings files. <p> <hr><h2>Member Function Documentation</h2> <a name="a0" doxytag="QextScintillaCommandSet::readSettings"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool QextScintillaCommandSet::readSettings </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QSettings & </td> <td class="mdname" nowrap> <em>qs</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>prefix</em> = "/Scintilla"</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The key bindings for each command in the set are read from the settings <em>qs</em>. <em>prefix</em> is prepended to the key of each entry. TRUE is returned if there was no error. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaCommandSet.html#a1">writeSettings()</a> </dl> </td> </tr> </table> <a name="a1" doxytag="QextScintillaCommandSet::writeSettings"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool QextScintillaCommandSet::writeSettings </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QSettings & </td> <td class="mdname" nowrap> <em>qs</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>prefix</em> = "/Scintilla"</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The key bindings for each command in the set are written to the settings <em>qs</em>. <em>prefix</em> is prepended to the key of each entry. TRUE is returned if there was no error. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaCommandSet.html#a0">readSettings()</a> </dl> </td> </tr> </table> <a name="a2" doxytag="QextScintillaCommandSet::commands"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const QPtrList<<a class="el" href="classQextScintillaCommand.html">QextScintillaCommand</a>>& QextScintillaCommandSet::commands </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The commands in the set are returned as a list. <p> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Sat Aug 16 21:46:53 2003 for QScintilla by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>