blob: c48cee2f0ae5dfe1725c924b51f0f1702a7fdf2a (
plain)
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>TQScintilla: TQextScintillaCommandSet Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<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>
<h1>TQextScintillaCommandSet Class Reference</h1><!-- doxytag: class="TQextScintillaCommandSet" -->The <a class="el" href="classTQextScintillaCommandSet.html">TQextScintillaCommandSet</a> class represents the set of all internal editor commands that may have keys bound.
<a href="#_details">More...</a>
<p>
<code>#include <tqextscintillacommandset.h></code>
<p>
<a href="classTQextScintillaCommandSet-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li>bool <a class="el" href="classTQextScintillaCommandSet.html#a6e09aabf6126617ecec01c35fb32e53">readSettings</a> (TQSettings &qs, const char *prefix="/Scintilla")
<li>bool <a class="el" href="classTQextScintillaCommandSet.html#3a4981c26ab30164efbf27d15a4828ee">writeSettings</a> (TQSettings &qs, const char *prefix="/Scintilla")
<li>TQPtrList< <a class="el" href="classTQextScintillaCommand.html">TQextScintillaCommand</a> > & <a class="el" href="classTQextScintillaCommandSet.html#3d5be67e3bbd4cf614c4baa6f8aacc37">commands</a> ()
<li>void <a class="el" href="classTQextScintillaCommandSet.html#473747a515d9b554748aa4c25b371cc2">clearKeys</a> ()
<li>void <a class="el" href="classTQextScintillaCommandSet.html#497658e87e32bb8d6e9f3859a70e1107">clearAlternateKeys</a> ()
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classTQextScintillaCommandSet.html">TQextScintillaCommandSet</a> 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 class="anchor" name="a6e09aabf6126617ecec01c35fb32e53"></a><!-- doxytag: member="TQextScintillaCommandSet::readSettings" ref="a6e09aabf6126617ecec01c35fb32e53" args="(TQSettings &qs, const char *prefix="/Scintilla")" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool TQextScintillaCommandSet::readSettings </td>
<td>(</td>
<td class="paramtype">TQSettings & </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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></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 compact><dt><b>See also:</b></dt><dd><a class="el" href="classTQextScintillaCommandSet.html#3a4981c26ab30164efbf27d15a4828ee">writeSettings()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="3a4981c26ab30164efbf27d15a4828ee"></a><!-- doxytag: member="TQextScintillaCommandSet::writeSettings" ref="3a4981c26ab30164efbf27d15a4828ee" args="(TQSettings &qs, const char *prefix="/Scintilla")" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool TQextScintillaCommandSet::writeSettings </td>
<td>(</td>
<td class="paramtype">TQSettings & </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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></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 compact><dt><b>See also:</b></dt><dd><a class="el" href="classTQextScintillaCommandSet.html#a6e09aabf6126617ecec01c35fb32e53">readSettings()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="3d5be67e3bbd4cf614c4baa6f8aacc37"></a><!-- doxytag: member="TQextScintillaCommandSet::commands" ref="3d5be67e3bbd4cf614c4baa6f8aacc37" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQPtrList<<a class="el" href="classTQextScintillaCommand.html">TQextScintillaCommand</a>>& TQextScintillaCommandSet::commands </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The commands in the set are returned as a list.
<p>
</div>
</div><p>
<a class="anchor" name="473747a515d9b554748aa4c25b371cc2"></a><!-- doxytag: member="TQextScintillaCommandSet::clearKeys" ref="473747a515d9b554748aa4c25b371cc2" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TQextScintillaCommandSet::clearKeys </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The primary keys bindings for all commands are removed.
<p>
</div>
</div><p>
<a class="anchor" name="497658e87e32bb8d6e9f3859a70e1107"></a><!-- doxytag: member="TQextScintillaCommandSet::clearAlternateKeys" ref="497658e87e32bb8d6e9f3859a70e1107" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TQextScintillaCommandSet::clearAlternateKeys </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The alternate keys bindings for all commands are removed.
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>
|