1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
<!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.8"/>
<title>QScintilla: QsciCommandSet 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 style="padding-left: 0.5em;">
<div id="projectname">QScintilla
 <span id="projectnumber">2.9.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<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="#pub-methods">Public Member Functions</a> |
<a href="classQsciCommandSet-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QsciCommandSet Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <qscicommandset.h></code></p>
<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:a44fd78a640f59309862d868d04f34e49"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciCommandSet.html#a44fd78a640f59309862d868d04f34e49">readSettings</a> (QSettings &qs, const char *prefix="/Scintilla")</td></tr>
<tr class="separator:a44fd78a640f59309862d868d04f34e49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7933fbb5a8b5cb234c4e48b472adc4a3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciCommandSet.html#a7933fbb5a8b5cb234c4e48b472adc4a3">writeSettings</a> (QSettings &qs, const char *prefix="/Scintilla")</td></tr>
<tr class="separator:a7933fbb5a8b5cb234c4e48b472adc4a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7f46a38f9fd309442aacfb7ad2b87143"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f46a38f9fd309442aacfb7ad2b87143"></a>
QList< <a class="el" href="classQsciCommand.html">QsciCommand</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciCommandSet.html#a7f46a38f9fd309442aacfb7ad2b87143">commands</a> ()</td></tr>
<tr class="separator:a7f46a38f9fd309442aacfb7ad2b87143"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a15e4a269b804a830c881edda1563f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a15e4a269b804a830c881edda1563f7"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciCommandSet.html#a7a15e4a269b804a830c881edda1563f7">clearKeys</a> ()</td></tr>
<tr class="separator:a7a15e4a269b804a830c881edda1563f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af244d8499c10c569b9924c25af17655a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af244d8499c10c569b9924c25af17655a"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQsciCommandSet.html#af244d8499c10c569b9924c25af17655a">clearAlternateKeys</a> ()</td></tr>
<tr class="separator:af244d8499c10c569b9924c25af17655a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad018c0031078513f7dc341e94ef328f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad018c0031078513f7dc341e94ef328f0"></a>
<a class="el" href="classQsciCommand.html">QsciCommand</a> * </td><td class="memItemRight" valign="bottom"><b>boundTo</b> (int key) const </td></tr>
<tr class="separator:ad018c0031078513f7dc341e94ef328f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97efc53bfae0c34739bd8680a6781b0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97efc53bfae0c34739bd8680a6781b0c"></a>
<a class="el" href="classQsciCommand.html">QsciCommand</a> * </td><td class="memItemRight" valign="bottom"><b>find</b> (<a class="el" href="classQsciCommand.html#aeaecb067c0834ba132e204a09dd942c7">QsciCommand::Command</a> command) const </td></tr>
<tr class="separator:a97efc53bfae0c34739bd8680a6781b0c"><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="classQsciCommandSet.html" title="The QsciCommandSet class represents the set of all internal editor commands that may have keys bound...">QsciCommandSet</a> class represents the set of all internal editor commands that may have keys bound. </p>
<p>Methods are provided to access the individual commands and to read and write the current bindings from and to settings files. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a44fd78a640f59309862d868d04f34e49"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciCommandSet::readSettings </td>
<td>(</td>
<td class="paramtype">QSettings & </td>
<td class="paramname"><em>qs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>prefix</em> = <code>"/Scintilla"</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<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 class="section see"><dt>See also</dt><dd><a class="el" href="classQsciCommandSet.html#a7933fbb5a8b5cb234c4e48b472adc4a3">writeSettings()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7933fbb5a8b5cb234c4e48b472adc4a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciCommandSet::writeSettings </td>
<td>(</td>
<td class="paramtype">QSettings & </td>
<td class="paramname"><em>qs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>prefix</em> = <code>"/Scintilla"</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<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 class="section see"><dt>See also</dt><dd><a class="el" href="classQsciCommandSet.html#a44fd78a640f59309862d868d04f34e49">readSettings()</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 24 2015 14:00:38 for QScintilla by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|