[go: up one dir, main page]

File: all-globals.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 (623 lines) | stat: -rw-r--r-- 52,644 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
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
<HTML>
<HEAD>
<TITLE>TOra Globals</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>TOra Globals</h1>
		</TD>
		<TD valign="top" align="right" colspan="1"></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		
	</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>
<h3>toconnection.h</h3><ul>
<LI>typedef toQuery::queryDescribe  <A HREF="#ref594">toQDescribe</A>
</LI>
<LI>typedef std::list<toQDescribe>  <A HREF="#ref595">toQDescList</A>
</LI>
</ul>
<h3>tomain.h</h3><ul>
<LI><A HREF="toMain.html">toMain</A> *&nbsp;<b><A HREF="#ref618">toMainWidget</A></b> (void) 
</LI>
</ul>
<h3>toqvalue.h</h3><ul>
<LI>typedef std::list<toQValue>  <A HREF="#ref630">toQList</A>
</LI>
</ul>
<h3>toreport.h</h3><ul>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref631">toGenerateReport</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &desc) 
</LI>
</ul>
<h3>utils.h</h3><ul>
<LI>void &nbsp;<b><A HREF="#ref682">toStatusMessage</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str,bool save=false,bool log=true) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref683">toSQLToAddress</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref684">toSQLString</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &address) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref685">toReadableColumn</A></b> (<A HREF="http://doc.trolltech.com/qstring.html">QString</A> &col) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref686">toNow</A></b> (<A HREF="toConnection.html">toConnection</A> &conn) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref687">toSetSessionType</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref688">toGetSessionType</A></b> (void) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qcombobox.html">QComboBox</A> *&nbsp;<b><A HREF="#ref689">toRefreshCreate</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const char *name=NULL,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def=QString::null,
			   <A HREF="http://doc.trolltech.com/qcombobox.html">QComboBox</A> *item=NULL) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref690">toRefreshParse</A></b> (<A HREF="toTimer.html">toTimer</A> *timer,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str=QString::null) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref691">toMonolithic</A></b> (void) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref692">toDeepCopy</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> *&nbsp;<b><A HREF="#ref693">toAllocBar</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &db) 
</LI>
<LI><A HREF="TODock.html">TODock</A> *&nbsp;<b><A HREF="#ref694">toAllocDock</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,
		    const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &db,
		    const <A HREF="http://doc.trolltech.com/qpixmap.html">QPixmap</A> &icon) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref695">toAttachDock</A></b> (<A HREF="TODock.html">TODock</A> *dock,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *container,QMainWindow::ToolBarDock place) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref696">toSizeDecode</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI>template <class T> T &nbsp;<b><A HREF="#ref697">toShift</A></b> (std::list<T> &lst) 
</LI>
<LI>template <class T> void &nbsp;<b><A HREF="#ref698">toUnShift</A></b> (std::list<T> &lst,const T &str) 
</LI>
<LI>template <class T> T &nbsp;<b><A HREF="#ref699">toPop</A></b> (std::list<T> &lst) 
</LI>
<LI>template <class T> void &nbsp;<b><A HREF="#ref700">toPush</A></b> (std::list<T> &lst,const T &str) 
</LI>
<LI>template <class T> std::list<T>::iterator &nbsp;<b><A HREF="#ref701">toFind</A></b> (std::list<T> &lst,const T &str) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qfont.html">QFont</A> &nbsp;<b><A HREF="#ref702">toStringToFont</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref703">toFontToString</A></b> (const <A HREF="http://doc.trolltech.com/qfont.html">QFont</A> &fnt) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref704">toHelpPath</A></b> (void) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &nbsp;<b><A HREF="#ref705">toReadFile</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref706">toWriteFile</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &data) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref707">toWriteFile</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref708">toCompareLists</A></b> (QStringList &l1,QStringList &l2,unsigned int len) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref709">toSetEnv</A></b> (const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &var,const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &val) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref710">toUnSetEnv</A></b> (const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &var) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref711">toOpenFilename</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filter,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref712">toSaveFilename</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filter,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref713">toCheckCommercial</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &reason) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref714">toToolMenuIndex</A></b> (void) 
</LI>
<LI>bool inline &nbsp;<b><A HREF="#ref715">toIsIdent</A></b> (<A HREF="http://doc.trolltech.com/qchar.html">QChar</A> c) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref716">toPluginPath</A></b> (void) 
</LI>
<LI>std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &nbsp;<b><A HREF="#ref717">toStatusMessages</A></b> (void) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qbrush.html">QBrush</A> &nbsp;<b><A HREF="#ref718">toChartBrush</A></b> (int index) 
</LI>
<LI><A HREF="toConnection.html">toConnection</A> &&nbsp;<b><A HREF="#ref719">toCurrentConnection</A></b> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *widget) 
</LI>
<LI><A HREF="toToolWidget.html">toToolWidget</A> *&nbsp;<b><A HREF="#ref720">toCurrentTool</A></b> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *widget) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref721">toIsOracle</A></b> (const <A HREF="toConnection.html">toConnection</A> &) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref722">toSQLStripSpecifier</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref723">toSQLStripBind</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref724">toExpandFile</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &file) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref725">toUnnull</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<b><A HREF="#ref726">toNull</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref727">toCheckModal</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *widget) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref728">toMapExport</A></b> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix,
		 std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &src) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref729">toMapImport</A></b> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix,
		 std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &dst) 
</LI>
<LI><A HREF="http://doc.trolltech.com/qlistviewitem.html">QListViewItem</A> *&nbsp;<b><A HREF="#ref730">toFindItem</A></b> (<A HREF="http://doc.trolltech.com/qlistview.html">QListView</A> *list,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref732">toToolCaption</A></b> (<A HREF="toToolWidget.html">toToolWidget</A> *tool,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &caption) 
</LI>
<LI>template <class T>
T &nbsp;<b><A HREF="#ref733">max</A></b> (T a, T b) 
</LI>
<LI>template <class T>
T &nbsp;<b><A HREF="#ref734">min</A></b> (T a, T b) 
</LI>
</ul>
<h2>Global member Documentation</h2>
<A NAME="toQDescribe"></A><A NAME="ref594"></A><table width="100%"><tr bgcolor="#eeeeee"><td>typedef <A HREF="toQuery__queryDescribe.html">toQuery::queryDescribe</A>  <strong>toQDescribe</strong></td><td align="right"><h3><strong>toQDescribe</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="toconnection_h.html">toconnection.h</A>&gt;</code></small></p><p> A short representation of a <A HREF="toQuery__queryDescribe.html">toQuery::queryDescribe</A>
 </p>
<A NAME="toQDescList"></A><A NAME="ref595"></A><table width="100%"><tr bgcolor="#eeeeee"><td>typedef std::list<<A HREF="#toQDescribe">toQDescribe</A>>  <strong>toQDescList</strong></td><td align="right"><h3><strong>toQDescList</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="toconnection_h.html">toconnection.h</A>&gt;</code></small></p><p> A short representation of list<toQuery::queryDescribe>
 </p>
<A NAME="toMainWidget"></A><A NAME="ref618"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toMain.html">toMain</A> *&nbsp;<strong>toMainWidget</strong> (void)
<br></td><td align="right"><h3><strong>toMainWidget</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="tomain_h.html">tomain.h</A>&gt;</code></small></p><p> Get a pointer to the main window
</p>
<p><b>Returns</b>: Pointer to main window.
 </p>
<A NAME="toQList"></A><A NAME="ref630"></A><table width="100%"><tr bgcolor="#eeeeee"><td>typedef std::list<<A HREF="toQValue.html">toQValue</A>>  <strong>toQList</strong></td><td align="right"><h3><strong>toQList</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="toqvalue_h.html">toqvalue.h</A>&gt;</code></small></p><p> A short representation of list<toQuery::queryValue>
 </p>
<A NAME="toGenerateReport"></A><A NAME="ref631"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toGenerateReport</strong> (<A HREF="toConnection.html">toConnection</A> &conn,std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &desc)
<br></td><td align="right"><h3><strong>toGenerateReport</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="toreport_h.html">toreport.h</A>&gt;</code></small></p><p> Generate an HTML based report on a description of database objects from <A HREF="toExtract.html">toExtract</A>.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection description list was generated from.
</TD></TR>
<TR><TD align="left" valign="top"><i>desc</i></TD><TD align="left" valign="top">Description list to create report on.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: An HTML formatted report on the contents of desc.
 </p>
<A NAME="toStatusMessage"></A><A NAME="ref682"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toStatusMessage</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str,bool save=false,bool log=true)
<br></td><td align="right"><h3><strong>toStatusMessage</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Display a message in the statusbar of the main window.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Message to display
</TD></TR>
<TR><TD align="left" valign="top"><i>save</i></TD><TD align="left" valign="top">If true don't remove the message after a specified interval.
</TD></TR>
<TR><TD align="left" valign="top"><i>log</i></TD><TD align="left" valign="top">Log message. Will never log saved messages.
 </TD></TR>
</TABLE></P>
<A NAME="toSQLToAddress"></A><A NAME="ref683"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toSQLToAddress</strong> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql)
<br></td><td align="right"><h3><strong>toSQLToAddress</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get an address to a SQL statement in the SGA. The address has the form
 'address:hash_value' which are resolved from the v$sqltext_with_newlines
 view in Oracle.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from
</TD></TR>
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Statement to get address for.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: String with address in.
</p>
<p><b>Throws</b>: QString, if, address, not, found.</p>
<A NAME="toSQLString"></A><A NAME="ref684"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toSQLString</strong> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &address)
<br></td><td align="right"><h3><strong>toSQLString</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get the full SQL of an address (See <A HREF="#toSQLToAddress">toSQLToAddress</A>) from the
 SGA.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from
</TD></TR>
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Address of SQL.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: String with SQL of statement.
</p>
<p><b>Throws</b>: QString, if, address, not, found.</p>
<A NAME="toReadableColumn"></A><A NAME="ref685"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toReadableColumn</strong> (<A HREF="http://doc.trolltech.com/qstring.html">QString</A> &col)
<br></td><td align="right"><h3><strong>toReadableColumn</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Make a column name more readable.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Name of column name, will be modified.
 </TD></TR>
</TABLE></P>
<A NAME="toNow"></A><A NAME="ref686"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toNow</strong> (<A HREF="toConnection.html">toConnection</A> &conn)
<br></td><td align="right"><h3><strong>toNow</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get the current database time in the current sessions dateformat.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: String with the current date and time.
 </p>
<A NAME="toSetSessionType"></A><A NAME="ref687"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toSetSessionType</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toSetSessionType</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Set the current session type (Style)
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Session to set, can be any of Motif, Motif Plus, SGI, CDE, Windows and Platinum
</TD></TR>
</TABLE></P>
<p><b>Throws</b>: QString, if, style, not, available.</p>
<A NAME="toGetSessionType"></A><A NAME="ref688"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toGetSessionType</strong> (void)
<br></td><td align="right"><h3><strong>toGetSessionType</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get current session type (Style)
</p>
<p><b>Returns</b>: A string describing the current style.
</p>
<p><b>See also</b>: <A HREF="#toSetSessionType">toSetSessionType</A></p>
<A NAME="toRefreshCreate"></A><A NAME="ref689"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qcombobox.html">QComboBox</A> *&nbsp;<strong>toRefreshCreate</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const char *name=NULL,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &def=QString::null,
			   <A HREF="http://doc.trolltech.com/qcombobox.html">QComboBox</A> *item=NULL)
<br></td><td align="right"><h3><strong>toRefreshCreate</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Create or fill a combobox with refresh intervals.
</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 of created combobox.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of created combobox.
</TD></TR>
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Default value of the combobox.
</TD></TR>
<TR><TD align="left" valign="top"><i>item</i></TD><TD align="left" valign="top">Combo box to fill. If not specified a new combobox is created.
 </TD></TR>
</TABLE></P>
<A NAME="toRefreshParse"></A><A NAME="ref690"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toRefreshParse</strong> (<A HREF="toTimer.html">toTimer</A> *timer,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str=QString::null)
<br></td><td align="right"><h3><strong>toRefreshParse</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Set a timer with the value from a refresh combobox (See <A HREF="#toRefreshCreate">toRefreshCreate</A>).
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>timer</i></TD><TD align="left" valign="top">Timer to set timeout in.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String from currentText of combobox. If empty, set to default.
 </TD></TR>
</TABLE></P>
<A NAME="toMonolithic"></A><A NAME="ref691"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toMonolithic</strong> (void)
<br></td><td align="right"><h3><strong>toMonolithic</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get information about wether this TOra has plugin support or not.
</p>
<p><b>Returns</b>: True if plugin support is enabled.
 </p>
<A NAME="toDeepCopy"></A><A NAME="ref692"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toDeepCopy</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toDeepCopy</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Make a deep copy of a string. Usefull when sharing copying strings between threads.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String to copy
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Copied string.
 </p>
<A NAME="toAllocBar"></A><A NAME="ref693"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> *&nbsp;<strong>toAllocBar</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &db)
<br></td><td align="right"><h3><strong>toAllocBar</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Allocate a toolbar. This is needed since Qt and KDE use different toolbars.
</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 of toolbar.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of toolbar.
</TD></TR>
<TR><TD align="left" valign="top"><i>db</i></TD><TD align="left" valign="top">Database name or empty if N/A.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: A newly created toolbar.
 </p>
<A NAME="toAllocDock"></A><A NAME="ref694"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="TODock.html">TODock</A> *&nbsp;<strong>toAllocDock</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &name,
		    const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &db,
		    const <A HREF="http://doc.trolltech.com/qpixmap.html">QPixmap</A> &icon)
<br></td><td align="right"><h3><strong>toAllocDock</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Allocate a new docked window. This is needed since Qt and KDE docks windows differently
 (Qt 2.x doesn't even have support for docked windows). Observe that you must attach a
 dock using <A HREF="#toAttachDock">toAttachDock</A> after allocating it.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of window.
</TD></TR>
<TR><TD align="left" valign="top"><i>db</i></TD><TD align="left" valign="top">Database name or empty if N/A.
</TD></TR>
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">Icon of new dock.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: A newly allocated fock.
 </p>
<A NAME="toAttachDock"></A><A NAME="ref695"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toAttachDock</strong> (<A HREF="TODock.html">TODock</A> *dock,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *container,QMainWindow::ToolBarDock place)
<br></td><td align="right"><h3><strong>toAttachDock</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Attach a dock to a specified position.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>dock</i></TD><TD align="left" valign="top">Dock to attach
</TD></TR>
<TR><TD align="left" valign="top"><i>container</i></TD><TD align="left" valign="top">Whatever container is supposed to be in the dock window.
</TD></TR>
<TR><TD align="left" valign="top"><i>place</i></TD><TD align="left" valign="top">Where to place the dock.
 </TD></TR>
</TABLE></P>
<A NAME="toSizeDecode"></A><A NAME="ref696"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>toSizeDecode</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toSizeDecode</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Decode a size string this basically converts "KB" to 1024, "MB" to 1024KB and
 everything else to 1.
</p>
<p><b>Returns</b>: Multiplier specified by string.
 </p>
<A NAME="toShift"></A><A NAME="ref697"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T &nbsp;<strong>toShift</strong> (std::list<T> &lst)
<br></td><td align="right"><h3><strong>toShift</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Shift the first value out of a list.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to shift value from (Also modified).
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The first value in the list.
 </p>
<A NAME="toUnShift"></A><A NAME="ref698"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void &nbsp;<strong>toUnShift</strong> (std::list<T> &lst,const T &str)
<br></td><td align="right"><h3><strong>toUnShift</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Push an object to the beginning of a list.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to push value in from of.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
 </TD></TR>
</TABLE></P>
<A NAME="toPop"></A><A NAME="ref699"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T &nbsp;<strong>toPop</strong> (std::list<T> &lst)
<br></td><td align="right"><h3><strong>toPop</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Pop the last value out of a list.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to pop value from (Also modified).
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The value in the list of objects.
 </p>
<A NAME="toPush"></A><A NAME="ref700"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void &nbsp;<strong>toPush</strong> (std::list<T> &lst,const T &str)
<br></td><td align="right"><h3><strong>toPush</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Push an object to the end of a list.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to push value in from of.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
 </TD></TR>
</TABLE></P>
<A NAME="toFind"></A><A NAME="ref701"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> std::list<T>::iterator &nbsp;<strong>toFind</strong> (std::list<T> &lst,const T &str)
<br></td><td align="right"><h3><strong>toFind</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Find if an item exists in a list.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to search for value.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to search for.
 </TD></TR>
</TABLE></P>
<A NAME="toStringToFont"></A><A NAME="ref702"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qfont.html">QFont</A> &nbsp;<strong>toStringToFont</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toStringToFont</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Convert a string representation to a font structure.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String representing the font.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Font structure represented by the string.
</p>
<p><b>See also</b>: <A HREF="#toFontToString">toFontToString</A></p>
<A NAME="toFontToString"></A><A NAME="ref703"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toFontToString</strong> (const <A HREF="http://doc.trolltech.com/qfont.html">QFont</A> &fnt)
<br></td><td align="right"><h3><strong>toFontToString</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Convert a font to a string representation.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>fnt</i></TD><TD align="left" valign="top">Font to convert.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: String representation of font.
 </p>
<A NAME="toHelpPath"></A><A NAME="ref704"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toHelpPath</strong> (void)
<br></td><td align="right"><h3><strong>toHelpPath</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get the path to the help directory.
</p>
<p><b>Returns</b>: Path to the help directory.
 </p>
<A NAME="toReadFile"></A><A NAME="ref705"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &nbsp;<strong>toReadFile</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename)
<br></td><td align="right"><h3><strong>toReadFile</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Read file from filename.
</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 read file from.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Contents of file.
</p>
<p><b>Throws</b>: QString, describing, I/O, problem.</p>
<A NAME="toWriteFile"></A><A NAME="ref706"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toWriteFile</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &data)
<br></td><td align="right"><h3><strong>toWriteFile</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Write file to filename.
</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 write file to.
</TD></TR>
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
 </TD></TR>
</TABLE></P>
<A NAME="toWriteFile"></A><A NAME="ref707"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toWriteFile</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data)
<br></td><td align="right"><h3><strong>toWriteFile</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Write file to filename.
</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 write file to.
</TD></TR>
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
 </TD></TR>
</TABLE></P>
<A NAME="toCompareLists"></A><A NAME="ref708"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toCompareLists</strong> (QStringList &l1,QStringList &l2,unsigned int len)
<br></td><td align="right"><h3><strong>toCompareLists</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Compare two string lists.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>l1</i></TD><TD align="left" valign="top">First list to compare.
</TD></TR>
<TR><TD align="left" valign="top"><i>l2</i></TD><TD align="left" valign="top">Second list to compare.
</TD></TR>
<TR><TD align="left" valign="top"><i>len</i></TD><TD align="left" valign="top">Length of lists to compare.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: True if all first len elements match.
 </p>
<A NAME="toSetEnv"></A><A NAME="ref709"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toSetEnv</strong> (const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &var,const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &val)
<br></td><td align="right"><h3><strong>toSetEnv</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Set environment variable.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>var</i></TD><TD align="left" valign="top">Variable name to set.
</TD></TR>
<TR><TD align="left" valign="top"><i>val</i></TD><TD align="left" valign="top">Value to set variable to.
 </TD></TR>
</TABLE></P>
<A NAME="toUnSetEnv"></A><A NAME="ref710"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toUnSetEnv</strong> (const <A HREF="http://doc.trolltech.com/qcstring.html">QCString</A> &var)
<br></td><td align="right"><h3><strong>toUnSetEnv</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Delete an environment variable.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>var</i></TD><TD align="left" valign="top">Environment variable to delete.
 </TD></TR>
</TABLE></P>
<A NAME="toOpenFilename"></A><A NAME="ref711"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toOpenFilename</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filter,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent)
<br></td><td align="right"><h3><strong>toOpenFilename</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Pop up a dialog and choose a file to open.
</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">Default filename to open.
</TD></TR>
<TR><TD align="left" valign="top"><i>filter</i></TD><TD align="left" valign="top">Filter of filenames (See <A HREF="http://doc.trolltech.com/qfiledialog.html">QFileDialog</A>)
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Selected filename.
 </p>
<A NAME="toSaveFilename"></A><A NAME="ref712"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toSaveFilename</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filename,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &filter,<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent)
<br></td><td align="right"><h3><strong>toSaveFilename</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Pop up a dialog and choose a file to save to.
</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">Default filename to open.
</TD></TR>
<TR><TD align="left" valign="top"><i>filter</i></TD><TD align="left" valign="top">Filter of filenames (See <A HREF="http://doc.trolltech.com/qfiledialog.html">QFileDialog</A>)
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Selected filename.
 </p>
<A NAME="toCheckCommercial"></A><A NAME="ref713"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toCheckCommercial</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &reason)
<br></td><td align="right"><h3><strong>toCheckCommercial</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p>
 Check if this is a registered TOra or freeware, otherwise quit.
 </p>
<A NAME="toToolMenuIndex"></A><A NAME="ref714"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>toToolMenuIndex</strong> (void)
<br></td><td align="right"><h3><strong>toToolMenuIndex</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get index of menu to insert tool specific menu at.
</p>
<p><b>Returns</b>: Index of the tool menu entry.
 </p>
<A NAME="toIsIdent"></A><A NAME="ref715"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool inline &nbsp;<strong>toIsIdent</strong> (<A HREF="http://doc.trolltech.com/qchar.html">QChar</A> c)
<br></td><td align="right"><h3><strong>toIsIdent</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Check if a character is valid for an identifier in Oracle.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>c</i></TD><TD align="left" valign="top">Character to check
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: True if it is a valid Oracle identifier.
 </p>
<A NAME="toPluginPath"></A><A NAME="ref716"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toPluginPath</strong> (void)
<br></td><td align="right"><h3><strong>toPluginPath</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get installation directory of application (Plugin directory on unix, installation
 target on windows).
</p>
<p><b>Returns</b>: String containing directory
 </p>
<A NAME="toStatusMessages"></A><A NAME="ref717"></A><table width="100%"><tr bgcolor="#eeeeee"><td>std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &nbsp;<strong>toStatusMessages</strong> (void)
<br></td><td align="right"><h3><strong>toStatusMessages</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get a list of the latest status messages that have been shown.
 </p>
<A NAME="toChartBrush"></A><A NAME="ref718"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qbrush.html">QBrush</A> &nbsp;<strong>toChartBrush</strong> (int index)
<br></td><td align="right"><h3><strong>toChartBrush</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Get a brush for a chart item.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">Indicating which chart item to get color for.
 </TD></TR>
</TABLE></P>
<A NAME="toCurrentConnection"></A><A NAME="ref719"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toConnection.html">toConnection</A> &&nbsp;<strong>toCurrentConnection</strong> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *widget)
<br></td><td align="right"><h3><strong>toCurrentConnection</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Return the connection most closely associated with a widget. Currently connections are
 only stored in toToolWidgets.
</p>
<p><b>Returns</b>: Reference toConnection object closest to the current.
 </p>
<A NAME="toCurrentTool"></A><A NAME="ref720"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toToolWidget.html">toToolWidget</A> *&nbsp;<strong>toCurrentTool</strong> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *widget)
<br></td><td align="right"><h3><strong>toCurrentTool</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Return the tool widget most closely associated with a widget.
</p>
<p><b>Returns</b>: Pointer to tool widget.
 </p>
<A NAME="toIsOracle"></A><A NAME="ref721"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toIsOracle</strong> (const <A HREF="toConnection.html">toConnection</A> &)
<br></td><td align="right"><h3><strong>toIsOracle</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Check if this connection is an oracle connection.
 </p>
<A NAME="toSQLStripSpecifier"></A><A NAME="ref722"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toSQLStripSpecifier</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql)
<br></td><td align="right"><h3><strong>toSQLStripSpecifier</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Strip extra bind specifier from an SQL statement. (That means the extra <***> part after
 the bind variable.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">The sql to strip.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Return a string containing the same statement without qualifiers, which means the
         sql sent to Oracle and available in the SGA.
 </p>
<A NAME="toSQLStripBind"></A><A NAME="ref723"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toSQLStripBind</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &sql)
<br></td><td align="right"><h3><strong>toSQLStripBind</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Strip extra binds and replace with empty strings.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">The sql to strip.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Return a string containing the same statement without binds.
 </p>
<A NAME="toExpandFile"></A><A NAME="ref724"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toExpandFile</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &file)
<br></td><td align="right"><h3><strong>toExpandFile</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Expand filename with $HOME to be replaced with home directory or my documents.
 </p>
<A NAME="toUnnull"></A><A NAME="ref725"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toUnnull</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toUnnull</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Convert string read by readValue to value read by readValueNull
 </p>
<A NAME="toNull"></A><A NAME="ref726"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> &nbsp;<strong>toNull</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toNull</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Convert string read by readValueNull to value to be read by readValue.
 </p>
<A NAME="toCheckModal"></A><A NAME="ref727"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toCheckModal</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *widget)
<br></td><td align="right"><h3><strong>toCheckModal</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Check if the current widget is within the active modal widget (Or no modal widget exists)
 </p>
<A NAME="toMapExport"></A><A NAME="ref728"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toMapExport</strong> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix,
		 std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &src)
<br></td><td align="right"><h3><strong>toMapExport</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Export the contents of a map into another map.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">The destination map.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to save map using.
</TD></TR>
<TR><TD align="left" valign="top"><i>src</i></TD><TD align="left" valign="top">The map to save.
 </TD></TR>
</TABLE></P>
<A NAME="toMapImport"></A><A NAME="ref729"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toMapImport</strong> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix,
		 std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &dst)
<br></td><td align="right"><h3><strong>toMapImport</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Import the contents of a map from another map.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">The source map.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to use for restoring from map.
</TD></TR>
<TR><TD align="left" valign="top"><i>dst</i></TD><TD align="left" valign="top">The map to save into.
 </TD></TR>
</TABLE></P>
<A NAME="toFindItem"></A><A NAME="ref730"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qlistviewitem.html">QListViewItem</A> *&nbsp;<strong>toFindItem</strong> (<A HREF="http://doc.trolltech.com/qlistview.html">QListView</A> *list,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>toFindItem</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p> Find an item in a listview.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>list</i></TD><TD align="left" valign="top">The list to search for the item.
</TD></TR>
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">The string to search for. You can specify parent/child with : in the string.
 </TD></TR>
</TABLE></P>
<A NAME="toToolCaption"></A><A NAME="ref732"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toToolCaption</strong> (<A HREF="toToolWidget.html">toToolWidget</A> *tool,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &caption)
<br></td><td align="right"><h3><strong>toToolCaption</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p>
 Set or change title of a tool window.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>tool</i></TD><TD align="left" valign="top">Widget of tool.
</TD></TR>
<TR><TD align="left" valign="top"><i>caption</i></TD><TD align="left" valign="top">Caption to set to the tool.
 </TD></TR>
</TABLE></P>
<A NAME="max"></A><A NAME="ref733"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
T &nbsp;<strong>max</strong> (T a, T b)
<br></td><td align="right"><h3><strong>max</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p>
 Get maximum number of a and b.
 </p>
<A NAME="min"></A><A NAME="ref734"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
T &nbsp;<strong>min</strong> (T a, T b)
<br></td><td align="right"><h3><strong>min</strong></h3></td></tr></table><p></p><p><small><code>#include &lt;<A HREF="utils_h.html">utils.h</A>&gt;</code></small></p><p>
 Get minimum number of a and b.
 </p>
<HR>
	<table>
	</table>
</BODY>
</HTML>