[go: up one dir, main page]

File: toTool.html

package info (click to toggle)
tora 1.3.4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,632 kB
  • ctags: 7,487
  • sloc: cpp: 68,518; perl: 1,475; ansic: 291; sh: 173; makefile: 51
file content (322 lines) | stat: -rw-r--r-- 21,042 bytes parent folder | download
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<HTML>
<HEAD>
<TITLE>class toTool</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class toTool</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">
 Abstract baseclass for tools. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH colspan="2">Contains pure virtuals</TH></TR><TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="totool_h.html">totool.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="http://doc.trolltech.com/qobject.html">QObject</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="toHelpTool.html">toHelpTool</A></TD></TR>
<TR><TH><A HREF="full-list-toTool.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref9">name</A></b> ()  const
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref10">key</A></b> ()  const
</LI>
<LI>int &nbsp;<b><A HREF="#ref11">priority</A></b> ()  const
</LI>
<LI>&nbsp;<b><A HREF="#ref12">~toTool</A></b> () 
</LI>
<LI>&nbsp;<b><A HREF="#ref13">toTool</A></b> (int priority,const char *name) 
</LI>
<LI>virtual  const <A HREF="http://doc.trolltech.com/qpixmap.html">QPixmap</A> *&nbsp;<b><A HREF="#ref14">toolbarImage</A></b> () 
</LI>
<LI>virtual  const char *&nbsp;<b><A HREF="#ref15">menuItem</A></b> () 
</LI>
<LI>virtual  const char *&nbsp;<b><A HREF="#ref16">toolbarTip</A></b> () 
</LI>
<LI>virtual  bool &nbsp;<b><A HREF="#ref17">canHandle</A></b> (<A HREF="toConnection.html">toConnection</A> &conn) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref18">customSetup</A></b> (int toolid) 
</LI>
<LI>virtual  <A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *&nbsp;<b><i><A HREF="#ref19">toolWindow</A></i></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,<A HREF="toConnection.html">toConnection</A> &connection) 
</LI>
<LI>virtual  <A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *&nbsp;<b><A HREF="#ref20">configurationTab</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref21">about</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent) 
</LI>
<LI>virtual  bool &nbsp;<b><A HREF="#ref22">hasAbout</A></b> (void) 
</LI>
<LI>const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &&nbsp;<b><A HREF="#ref28">config</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref29">setConfig</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &value) 
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref32">createWindow</A></b> (void) 
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="toTool.html">toTool</A> *> &&nbsp;<b><A HREF="#ref23">tools</A></b> (void) 
</LI>
<LI>static  <A HREF="toTool.html">toTool</A> *&nbsp;<b><A HREF="#ref24">tool</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &key) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref25">saveConfig</A></b> (void) 
</LI>
<LI>static  const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &&nbsp;<b><A HREF="#ref26">globalConfig</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref27">globalSetConfig</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &value) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref30">loadMap</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &map) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref31">saveMap</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &map) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>virtual  char **&nbsp;<b><A HREF="#ref8">pictureXPM</A></b> (void) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Abstract baseclass for tools.
</p>
<p> This class is the baseclass of all classes defining tools. It
 contains functions for defining the priority and name of the tool,
 as well as virtual functions to define it's place in the user
 interface. Further it contains methods to access configuration
 settings.
</p>
<p> To use this class you create a child which is then instantiated once
 which inserts that tool in the global tool map (See <A HREF="toTool.html#tools">tools</A>). You
 should never delete a tool unless on exit. Usually tools are instantiated
 statically in the global scope.
 </p>
<A NAME="pictureXPM"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> char **&nbsp;<strong>pictureXPM</strong> (void)
<br></td><td align="right"><h3><strong>pictureXPM</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
 Should return the xpm used to create the <A HREF="toTool.html#ButtonPicture">ButtonPicture</A>.
   </p>
<A NAME="name"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>name</strong> ()
<br></td><td align="right"><h3><strong>name</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get the name.
</p>
<p></p>
<p><b>Returns</b>: Name of tool.
   </p>
<p>Reimplemented from <A HREF="http://doc.trolltech.com/qobject.html#6f3030">QObject</A>.</p>
<A NAME="key"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>key</strong> ()
<br></td><td align="right"><h3><strong>key</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get the name.
</p>
<p></p>
<p><b>Returns</b>: Name of tool.
   </p>
<A NAME="priority"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>priority</strong> ()
<br></td><td align="right"><h3><strong>priority</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get the priority.
</p>
<p></p>
<p><b>Returns</b>: Priority of tool.
   </p>
<A NAME="~toTool"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>~toTool</strong> ()
<br></td><td align="right"><h3><strong>~toTool</strong></h3></td></tr></table><p></p><p>
 This should never be called, but if it is. Erases the tool from the list of
 available tools. WARNING: It will not remove any of it's open tools.
   </p>
<A NAME="toTool"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>toTool</strong> (int priority,const char *name)
<br></td><td align="right"><h3><strong>toTool</strong></h3></td></tr></table><p></p><p>
 Create a tool. Remember that usually the main window is not created here.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>priority</i></TD><TD align="left" valign="top">Priority of the created tool.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of tool.
   </TD></TR>
</TABLE></P>
<A NAME="toolbarImage"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> const <A HREF="http://doc.trolltech.com/qpixmap.html">QPixmap</A> *&nbsp;<strong>toolbarImage</strong> ()
<br></td><td align="right"><h3><strong>toolbarImage</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Get the image to display in the toolbar.
</p>
<p></p>
<p><b>Returns</b>: Pointer to image in toolbar or NULL if no image should be displayed.
   </p>
<A NAME="menuItem"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> const char *&nbsp;<strong>menuItem</strong> ()
<br></td><td align="right"><h3><strong>menuItem</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Get the name of the menuitem to be displayed in the menu.
</p>
<p></p>
<p><b>Returns</b>: A string containing the name of the menuentry or NULL if no menuentry should
         be created.
   </p>
<A NAME="toolbarTip"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> const char *&nbsp;<strong>toolbarTip</strong> ()
<br></td><td align="right"><h3><strong>toolbarTip</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Get toolbar tip of the toolbar button. Defaults to same as <A HREF="toTool.html#menuItem">menuItem</A>.
</p>
<p></p>
<p><b>Returns</b>: Toolbar tip string.
   </p>
<A NAME="canHandle"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>canHandle</strong> (<A HREF="toConnection.html">toConnection</A> &conn)
<br></td><td align="right"><h3><strong>canHandle</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Check if the tool can handle a specific connection. Default is to only handle
 connections from the provider Oracle.
</p>
<p><b>Returns</b>: True if connection can be handled.
   </p>
<A NAME="customSetup"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>customSetup</strong> (int toolid)
<br></td><td align="right"><h3><strong>customSetup</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 This function is called as a last step after the main widget is created. It could
 be used to insert the tool pretty much anywhere in the user interface if the toolmenu,
 toolbar is not sufficient.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>toolid</i></TD><TD align="left" valign="top">The tool menu id that should be used if it inserts a custom menu entry.
   </TD></TR>
</TABLE></P>
<A NAME="toolWindow"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *&nbsp;<i><strong>toolWindow</strong></i> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,<A HREF="toConnection.html">toConnection</A> &connection)
<br></td><td align="right"><h3><i><strong>toolWindow</strong></i></h3></td></tr></table><p> <small>[pure virtual]</small></p><p>
 Create a new tool window.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent window, which is the worksheet of the main window.
</TD></TR>
<TR><TD align="left" valign="top"><i>connection</i></TD><TD align="left" valign="top">The database connection that this tool should operate on.
   </TD></TR>
</TABLE></P>
<A NAME="configurationTab"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *&nbsp;<strong>configurationTab</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent)
<br></td><td align="right"><h3><strong>configurationTab</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Create and return configuration tab for this tool. The returned widget should also
 be a childclass of <A HREF="toSettingTab.html">toSettingTab</A>.
</p>
<p></p>
<p><b>Returns</b>: A pointer to the widget containing the setup tab for this tool or NULL of
 no settings are available.
   </p>
<A NAME="about"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>about</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent)
<br></td><td align="right"><h3><strong>about</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Display an about dialog for this tool.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">The parent widget of the about dialog.
   </TD></TR>
</TABLE></P>
<A NAME="hasAbout"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>hasAbout</strong> (void)
<br></td><td align="right"><h3><strong>hasAbout</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Indicate whether or not this tool has an about dialog.
   </p>
<A NAME="tools"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td> std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="toTool.html">toTool</A> *> &&nbsp;<strong>tools</strong> (void)
<br></td><td align="right"><h3><strong>tools</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Get access to the map of tools. Don't modify it. Observe that the index string is not
 the name of the tool but an internal key used to get tools sorted in the correct
 priority order.
</p>
<p></p>
<p><b>Returns</b>: A reference to the tool map.
   </p>
<p><b>See also</b>: Tools</p>
<A NAME="tool"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="toTool.html">toTool</A> *&nbsp;<strong>tool</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &key)
<br></td><td align="right"><h3><strong>tool</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Get a pointer to the tool with a specified key.
</p>
<p></p>
<p><b>Returns</b>: A pointer to the tool or NULL if tool doesn't exist.
   </p>
<p><b>See also</b>: Tools</p>
<A NAME="saveConfig"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>saveConfig</strong> (void)
<br></td><td align="right"><h3><strong>saveConfig</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Save configuration to file.
   </p>
<A NAME="globalConfig"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td> const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &&nbsp;<strong>globalConfig</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def)
<br></td><td align="right"><h3><strong>globalConfig</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Get value of a setting.
</p>
<p> Setting names are hierachical separated by ':' instead of '/' usually used
 in filenames. As an example all settings for the tool 'Example' would be
 under the 'Example:{settingname}' name.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>tag</i></TD><TD align="left" valign="top">The name of the configuration setting.
</TD></TR>
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Default value of the setting, if it is not available.
   </TD></TR>
</TABLE></P>
<A NAME="globalSetConfig"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>globalSetConfig</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &value)
<br></td><td align="right"><h3><strong>globalSetConfig</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Change a setting. Depending on the implementation this can change the
 contents on disk or not.
</p>
<p> Setting names are hierachical separated by ':' instead of '/' usually used
 in filenames. As an example all settings for the tool 'Example' would be
 under the 'Example:{settingname}' name.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>tag</i></TD><TD align="left" valign="top">The name of the configuration setting.
</TD></TR>
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Contents of this setting.
   </TD></TR>
</TABLE></P>
<A NAME="config"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &&nbsp;<strong>config</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def)
<br></td><td align="right"><h3><strong>config</strong></h3></td></tr></table><p></p><p>
 Get tool specific settings.
</p>
<p> Setting names are hierachical separated by ':' instead of '/' usually used
 in filenames. As an example all settings for the tool 'Example' would be
 under the 'Example:{settingname}' name.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>tag</i></TD><TD align="left" valign="top">The name of the configuration setting.
</TD></TR>
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Contents of this setting.
   </TD></TR>
</TABLE></P>
<A NAME="setConfig"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setConfig</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &tag,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &value)
<br></td><td align="right"><h3><strong>setConfig</strong></h3></td></tr></table><p></p><p>
 Change toolspecific setting. Depending on the implementation this can change the
 contents on disk or not.
</p>
<p> Setting names are hierachical separated by ':' instead of '/' usually used
 in filenames. As an example all settings for the tool 'Example' would be
 under the 'Example:{settingname}' name.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>tag</i></TD><TD align="left" valign="top">The name of the configuration setting.
</TD></TR>
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Default value of the setting, if it is not available.
   </TD></TR>
</TABLE></P>
<A NAME="loadMap"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>loadMap</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &map)
<br></td><td align="right"><h3><strong>loadMap</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Load a string to string map from file saved by the <A HREF="toTool.html#saveMap">saveMap</A> function.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Filename to load
</TD></TR>
<TR><TD align="left" valign="top"><i>map</i></TD><TD align="left" valign="top">Reference to the map to fill with the new values.
   </TD></TR>
</TABLE></P>
<A NAME="saveMap"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>saveMap</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &map)
<br></td><td align="right"><h3><strong>saveMap</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Save a string to string map to file.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Filename to load
</TD></TR>
<TR><TD align="left" valign="top"><i>map</i></TD><TD align="left" valign="top">Reference to the map to fill with the new values.
   </TD></TR>
</TABLE></P>
<p><b>See also</b>: loadMap</p>
<A NAME="createWindow"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>createWindow</strong> (void)
<br></td><td align="right"><h3><strong>createWindow</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Create a window of the current tool. This function sets up a toolwindow for
 this tool. It calls the <A HREF="toTool.html#toolWindow">toolWindow</A> function to get widget and sets it
 up properly.
   </p>
<HR>
	<table>
	</table>
</BODY>
</HTML>