~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to doc/help/api/all-globals.html

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2007-05-29 13:13:36 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529131336-85ygaddivvmkd3xc
Tags: 1.3.21pre22-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules: call dh_iconcache
  - Remove g++ build dependency
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
<HEAD>
 
3
<TITLE>tora Globals</TITLE>
 
4
 
 
5
<META NAME="Generator" CONTENT="KDOC ">
 
6
</HEAD>
 
7
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
 
8
<TABLE WIDTH="100%" BORDER="0">
 
9
<TR>
 
10
<TD>
 
11
        <TABLE BORDER="0">
 
12
                <TR><TD valign="top" align="left" cellspacing="10">
 
13
                <h1>tora Globals</h1>
 
14
                </TD>
 
15
                <TD valign="top" align="right" colspan="1"></TD></TR>
 
16
        </TABLE>
 
17
        <HR>
 
18
        <TABLE BORDER="0">
 
19
                
 
20
        </TABLE>
 
21
        </TD>
 
22
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
 
23
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
 
24
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
 
25
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
 
26
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
 
27
</TABLE></TD></TR></TABLE>
 
28
<h3>toconnection.h</h3><ul>
 
29
<LI>typedef toQuery::queryDescribe  <A HREF="#ref437">toQDescribe</A>
 
30
</LI>
 
31
<LI>typedef std::list<toQDescribe>  <A HREF="#ref438">toQDescList</A>
 
32
</LI>
 
33
</ul>
 
34
<h3>tomain.h</h3><ul>
 
35
<LI><A HREF="toMain.html">toMain</A> *&nbsp;<b><A HREF="#ref461">toMainWidget</A></b> (void) 
 
36
</LI>
 
37
</ul>
 
38
<h3>toqvalue.h</h3><ul>
 
39
<LI>typedef std::list<toQValue>  <A HREF="#ref475">toQList</A>
 
40
</LI>
 
41
</ul>
 
42
<h3>toreport.h</h3><ul>
 
43
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref476">toGenerateReport</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,std::list<<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &desc) 
 
44
</LI>
 
45
</ul>
 
46
<h3>utils.h</h3><ul>
 
47
<LI>void &nbsp;<b><A HREF="#ref533">toStatusMessage</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str,bool save=false,bool log=true) 
 
48
</LI>
 
49
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref534">toSQLToAddress</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql) 
 
50
</LI>
 
51
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref535">toSQLString</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &address) 
 
52
</LI>
 
53
<LI>void &nbsp;<b><A HREF="#ref536">toReadableColumn</A></b> (<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &col) 
 
54
</LI>
 
55
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref537">toNow</A></b> (<A HREF="toConnection.html">toConnection</A> &conn) 
 
56
</LI>
 
57
<LI>void &nbsp;<b><A HREF="#ref538">toSetSessionType</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
58
</LI>
 
59
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref539">toGetSessionType</A></b> (void) 
 
60
</LI>
 
61
<LI><A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &nbsp;<b><A HREF="#ref540">toGetSessionTypes</A></b> (void) 
 
62
</LI>
 
63
<LI><A HREF="/usr/lib/qt3/doc/html/qcombobox.html">QComboBox</A> *&nbsp;<b><A HREF="#ref541">toRefreshCreate</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const char *name=NULL,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &def=QString::null,
 
64
                           <A HREF="/usr/lib/qt3/doc/html/qcombobox.html">QComboBox</A> *item=NULL) 
 
65
</LI>
 
66
<LI>void &nbsp;<b><A HREF="#ref542">toRefreshParse</A></b> (<A HREF="toTimer.html">toTimer</A> *timer,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str=QString::null) 
 
67
</LI>
 
68
<LI>bool &nbsp;<b><A HREF="#ref543">toMonolithic</A></b> (void) 
 
69
</LI>
 
70
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref544">toDeepCopy</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
71
</LI>
 
72
<LI><A HREF="/usr/lib/qt3/doc/html/qtoolbar.html">QToolBar</A> *&nbsp;<b><A HREF="#ref545">toAllocBar</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name) 
 
73
</LI>
 
74
<LI><A HREF="TODock.html">TODock</A> *&nbsp;<b><A HREF="#ref546">toAllocDock</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,
 
75
                    const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &db,
 
76
                    const <A HREF="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</A> &icon) 
 
77
</LI>
 
78
<LI>void &nbsp;<b><A HREF="#ref547">toAttachDock</A></b> (<A HREF="TODock.html">TODock</A> *dock,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *container,QMainWindow::ToolBarDock place) 
 
79
</LI>
 
80
<LI>int &nbsp;<b><A HREF="#ref548">toSizeDecode</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
81
</LI>
 
82
<LI><A HREF="/usr/lib/qt3/doc/html/qkeysequence.html">QKeySequence</A> &nbsp;<b><A HREF="#ref549">toKeySequence</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &keysequence) 
 
83
</LI>
 
84
<LI>bool &nbsp;<b><A HREF="#ref550">toCheckKeyEvent</A></b> (<A HREF="/usr/lib/qt3/doc/html/qkeyevent.html">QKeyEvent</A> *event,const <A HREF="/usr/lib/qt3/doc/html/qkeysequence.html">QKeySequence</A> &key) 
 
85
</LI>
 
86
<LI>template <class T> T &nbsp;<b><A HREF="#ref551">toShift</A></b> (std::list<T> &lst) 
 
87
</LI>
 
88
<LI>template <class T> void &nbsp;<b><A HREF="#ref552">toUnShift</A></b> (std::list<T> &lst,const T &str) 
 
89
</LI>
 
90
<LI>template <class T> T &nbsp;<b><A HREF="#ref553">toPop</A></b> (std::list<T> &lst) 
 
91
</LI>
 
92
<LI>template <class T> void &nbsp;<b><A HREF="#ref554">toPush</A></b> (std::list<T> &lst,const T &str) 
 
93
</LI>
 
94
<LI><A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> &nbsp;<b><A HREF="#ref555">toStringToFont</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
95
</LI>
 
96
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref556">toFontToString</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> &fnt) 
 
97
</LI>
 
98
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref557">toHelpPath</A></b> (void) 
 
99
</LI>
 
100
<LI><A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &nbsp;<b><A HREF="#ref558">toReadFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename) 
 
101
</LI>
 
102
<LI>bool &nbsp;<b><A HREF="#ref559">toWriteFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &data) 
 
103
</LI>
 
104
<LI>bool &nbsp;<b><A HREF="#ref560">toWriteFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &data) 
 
105
</LI>
 
106
<LI>bool &nbsp;<b><A HREF="#ref561">toCompareLists</A></b> (<A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &l1,<A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &l2,unsigned int len) 
 
107
</LI>
 
108
<LI>void &nbsp;<b><A HREF="#ref562">toSetEnv</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &var,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &val) 
 
109
</LI>
 
110
<LI>void &nbsp;<b><A HREF="#ref563">toUnSetEnv</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &var) 
 
111
</LI>
 
112
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref564">toOpenFilename</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filter,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent) 
 
113
</LI>
 
114
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref565">toSaveFilename</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filter,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent) 
 
115
</LI>
 
116
<LI>int &nbsp;<b><A HREF="#ref566">toToolMenuIndex</A></b> (void) 
 
117
</LI>
 
118
<LI>inline bool &nbsp;<b><A HREF="#ref567">toIsIdent</A></b> (<A HREF="/usr/lib/qt3/doc/html/qchar.html">QChar</A> c) 
 
119
</LI>
 
120
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref568">toPluginPath</A></b> (void) 
 
121
</LI>
 
122
<LI>std::list<<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &nbsp;<b><A HREF="#ref569">toStatusMessages</A></b> (void) 
 
123
</LI>
 
124
<LI><A HREF="/usr/lib/qt3/doc/html/qbrush.html">QBrush</A> &nbsp;<b><A HREF="#ref570">toChartBrush</A></b> (int index) 
 
125
</LI>
 
126
<LI><A HREF="toConnection.html">toConnection</A> &&nbsp;<b><A HREF="#ref571">toCurrentConnection</A></b> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget) 
 
127
</LI>
 
128
<LI><A HREF="toToolWidget.html">toToolWidget</A> *&nbsp;<b><A HREF="#ref572">toCurrentTool</A></b> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget) 
 
129
</LI>
 
130
<LI>bool &nbsp;<b><A HREF="#ref573">toIsOracle</A></b> (const <A HREF="toConnection.html">toConnection</A> &) 
 
131
</LI>
 
132
<LI>bool &nbsp;<b><A HREF="#ref574">toIsSapDB</A></b> (const <A HREF="toConnection.html">toConnection</A> &) 
 
133
</LI>
 
134
<LI>bool &nbsp;<b><A HREF="#ref575">toIsMySQL</A></b> (const <A HREF="toConnection.html">toConnection</A> &) 
 
135
</LI>
 
136
<LI>bool &nbsp;<b><A HREF="#ref576">toIsPostgreSQL</A></b> (const <A HREF="toConnection.html">toConnection</A> &) 
 
137
</LI>
 
138
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref577">toSQLStripSpecifier</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql) 
 
139
</LI>
 
140
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref578">toSQLStripBind</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql) 
 
141
</LI>
 
142
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref579">toExpandFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &file) 
 
143
</LI>
 
144
<LI><A HREF="toQValue.html">toQValue</A> &nbsp;<b><A HREF="#ref580">toUnnull</A></b> (const <A HREF="toQValue.html">toQValue</A> &str) 
 
145
</LI>
 
146
<LI><A HREF="toQValue.html">toQValue</A> &nbsp;<b><A HREF="#ref581">toNull</A></b> (const <A HREF="toQValue.html">toQValue</A> &str) 
 
147
</LI>
 
148
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref582">toObfuscate</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
149
</LI>
 
150
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref583">toUnobfuscate</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
151
</LI>
 
152
<LI>bool &nbsp;<b><A HREF="#ref584">toCheckModal</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *widget) 
 
153
</LI>
 
154
<LI>void &nbsp;<b><A HREF="#ref585">toMapExport</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix,
 
155
                 std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &src) 
 
156
</LI>
 
157
<LI>void &nbsp;<b><A HREF="#ref586">toMapImport</A></b> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix,
 
158
                 std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &dst) 
 
159
</LI>
 
160
<LI><A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *&nbsp;<b><A HREF="#ref587">toFindItem</A></b> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *list,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str) 
 
161
</LI>
 
162
<LI>void &nbsp;<b><A HREF="#ref589">toToolCaption</A></b> (<A HREF="toToolWidget.html">toToolWidget</A> *tool,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &caption) 
 
163
</LI>
 
164
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref590">toTranslateMayby</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &context,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text) 
 
165
</LI>
 
166
<LI>template <class T>
 
167
T &nbsp;<b><A HREF="#ref591">max</A></b> (T a, T b) 
 
168
</LI>
 
169
<LI>template <class T>
 
170
T &nbsp;<b><A HREF="#ref592">min</A></b> (T a, T b) 
 
171
</LI>
 
172
</ul>
 
173
<h2>Global member Documentation</h2>
 
174
<A NAME="toQDescribe"></A><A NAME="ref437"></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>
 
175
 </p>
 
176
<A NAME="toQDescList"></A><A NAME="ref438"></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>
 
177
 </p>
 
178
<A NAME="toMainWidget"></A><A NAME="ref461"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toMain.html">toMain</A> *&nbsp;<strong>toMainWidget</strong> (void)
 
179
<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
 
180
</p>
 
181
<p><b>Returns</b>: Pointer to main window.
 
182
 </p>
 
183
<A NAME="toQList"></A><A NAME="ref475"></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>
 
184
 </p>
 
185
<A NAME="toGenerateReport"></A><A NAME="ref476"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toGenerateReport</strong> (<A HREF="toConnection.html">toConnection</A> &conn,std::list<<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &desc)
 
186
<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>.
 
187
</p>
 
188
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
189
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection description list was generated from.
 
190
</TD></TR>
 
191
<TR><TD align="left" valign="top"><i>desc</i></TD><TD align="left" valign="top">Description list to create report on.
 
192
</TD></TR>
 
193
</TABLE></P>
 
194
<p><b>Returns</b>: An HTML formatted report on the contents of desc.
 
195
 </p>
 
196
<A NAME="toStatusMessage"></A><A NAME="ref533"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toStatusMessage</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str,bool save=false,bool log=true)
 
197
<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.
 
198
</p>
 
199
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
200
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Message to display
 
201
</TD></TR>
 
202
<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.
 
203
</TD></TR>
 
204
<TR><TD align="left" valign="top"><i>log</i></TD><TD align="left" valign="top">Log message. Will never log saved messages.
 
205
 </TD></TR>
 
206
</TABLE></P>
 
207
<A NAME="toSQLToAddress"></A><A NAME="ref534"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toSQLToAddress</strong> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
 
208
<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
 
209
 'address:hash_value' which are resolved from the v$sqltext_with_newlines
 
210
 view in Oracle.
 
211
</p>
 
212
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
213
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from
 
214
</TD></TR>
 
215
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Statement to get address for.
 
216
</TD></TR>
 
217
</TABLE></P>
 
218
<p><b>Returns</b>: String with address in.
 
219
</p>
 
220
<p><b>Throws</b>: QString, if, address, not, found.</p>
 
221
<A NAME="toSQLString"></A><A NAME="ref535"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toSQLString</strong> (<A HREF="toConnection.html">toConnection</A> &conn,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &address)
 
222
<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
 
223
 SGA.
 
224
</p>
 
225
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
226
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from
 
227
</TD></TR>
 
228
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Address of SQL.
 
229
</TD></TR>
 
230
</TABLE></P>
 
231
<p><b>Returns</b>: String with SQL of statement.
 
232
</p>
 
233
<p><b>Throws</b>: QString, if, address, not, found.</p>
 
234
<A NAME="toReadableColumn"></A><A NAME="ref536"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toReadableColumn</strong> (<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &col)
 
235
<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.
 
236
</p>
 
237
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
238
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Name of column name, will be modified.
 
239
 </TD></TR>
 
240
</TABLE></P>
 
241
<A NAME="toNow"></A><A NAME="ref537"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toNow</strong> (<A HREF="toConnection.html">toConnection</A> &conn)
 
242
<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.
 
243
</p>
 
244
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
245
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection to get address from.
 
246
</TD></TR>
 
247
</TABLE></P>
 
248
<p><b>Returns</b>: String with the current date and time.
 
249
 </p>
 
250
<A NAME="toSetSessionType"></A><A NAME="ref538"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toSetSessionType</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
251
<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)
 
252
</p>
 
253
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
254
<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
 
255
</TD></TR>
 
256
</TABLE></P>
 
257
<p><b>Throws</b>: QString, if, style, not, available.</p>
 
258
<A NAME="toGetSessionType"></A><A NAME="ref539"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toGetSessionType</strong> (void)
 
259
<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)
 
260
</p>
 
261
<p><b>Returns</b>: A string describing the current style.
 
262
</p>
 
263
<p><b>See also</b>: <A HREF="#toSetSessionType">toSetSessionType</A></p>
 
264
<A NAME="toGetSessionTypes"></A><A NAME="ref540"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &nbsp;<strong>toGetSessionTypes</strong> (void)
 
265
<br></td><td align="right"><h3><strong>toGetSessionTypes</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 available styles.
 
266
 </p>
 
267
<A NAME="toRefreshCreate"></A><A NAME="ref541"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qcombobox.html">QComboBox</A> *&nbsp;<strong>toRefreshCreate</strong> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const char *name=NULL,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &def=QString::null,
 
268
                           <A HREF="/usr/lib/qt3/doc/html/qcombobox.html">QComboBox</A> *item=NULL)
 
269
<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.
 
270
</p>
 
271
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
272
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of created combobox.
 
273
</TD></TR>
 
274
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of created combobox.
 
275
</TD></TR>
 
276
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Default value of the combobox.
 
277
</TD></TR>
 
278
<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.
 
279
 </TD></TR>
 
280
</TABLE></P>
 
281
<A NAME="toRefreshParse"></A><A NAME="ref542"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toRefreshParse</strong> (<A HREF="toTimer.html">toTimer</A> *timer,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str=QString::null)
 
282
<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>).
 
283
</p>
 
284
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
285
<TR><TD align="left" valign="top"><i>timer</i></TD><TD align="left" valign="top">Timer to set timeout in.
 
286
</TD></TR>
 
287
<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.
 
288
 </TD></TR>
 
289
</TABLE></P>
 
290
<A NAME="toMonolithic"></A><A NAME="ref543"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toMonolithic</strong> (void)
 
291
<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.
 
292
</p>
 
293
<p><b>Returns</b>: True if plugin support is enabled.
 
294
 </p>
 
295
<A NAME="toDeepCopy"></A><A NAME="ref544"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toDeepCopy</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
296
<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.
 
297
</p>
 
298
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
299
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String to copy
 
300
</TD></TR>
 
301
</TABLE></P>
 
302
<p><b>Returns</b>: Copied string.
 
303
 </p>
 
304
<A NAME="toAllocBar"></A><A NAME="ref545"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qtoolbar.html">QToolBar</A> *&nbsp;<strong>toAllocBar</strong> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name)
 
305
<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.
 
306
</p>
 
307
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
308
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of toolbar.
 
309
</TD></TR>
 
310
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of toolbar.
 
311
</TD></TR>
 
312
</TABLE></P>
 
313
<p><b>Returns</b>: A newly created toolbar.
 
314
 </p>
 
315
<A NAME="toAllocDock"></A><A NAME="ref546"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="TODock.html">TODock</A> *&nbsp;<strong>toAllocDock</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &name,
 
316
                    const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &db,
 
317
                    const <A HREF="/usr/lib/qt3/doc/html/qpixmap.html">QPixmap</A> &icon)
 
318
<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
 
319
 (Qt 2.x doesn't even have support for docked windows). Observe that you must attach a
 
320
 dock using <A HREF="#toAttachDock">toAttachDock</A> after allocating it.
 
321
</p>
 
322
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
323
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of window.
 
324
</TD></TR>
 
325
<TR><TD align="left" valign="top"><i>db</i></TD><TD align="left" valign="top">Database name or empty if N/A.
 
326
</TD></TR>
 
327
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">Icon of new dock.
 
328
</TD></TR>
 
329
</TABLE></P>
 
330
<p><b>Returns</b>: A newly allocated fock.
 
331
 </p>
 
332
<A NAME="toAttachDock"></A><A NAME="ref547"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toAttachDock</strong> (<A HREF="TODock.html">TODock</A> *dock,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *container,QMainWindow::ToolBarDock place)
 
333
<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.
 
334
</p>
 
335
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
336
<TR><TD align="left" valign="top"><i>dock</i></TD><TD align="left" valign="top">Dock to attach
 
337
</TD></TR>
 
338
<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.
 
339
</TD></TR>
 
340
<TR><TD align="left" valign="top"><i>place</i></TD><TD align="left" valign="top">Where to place the dock.
 
341
 </TD></TR>
 
342
</TABLE></P>
 
343
<A NAME="toSizeDecode"></A><A NAME="ref548"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>toSizeDecode</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
344
<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
 
345
 everything else to 1.
 
346
</p>
 
347
<p><b>Returns</b>: Multiplier specified by string.
 
348
 </p>
 
349
<A NAME="toKeySequence"></A><A NAME="ref549"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qkeysequence.html">QKeySequence</A> &nbsp;<strong>toKeySequence</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &keysequence)
 
350
<br></td><td align="right"><h3><strong>toKeySequence</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>
 
351
 Check that a key sequence is valid and return same sequence
 
352
 </p>
 
353
<A NAME="toCheckKeyEvent"></A><A NAME="ref550"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toCheckKeyEvent</strong> (<A HREF="/usr/lib/qt3/doc/html/qkeyevent.html">QKeyEvent</A> *event,const <A HREF="/usr/lib/qt3/doc/html/qkeysequence.html">QKeySequence</A> &key)
 
354
<br></td><td align="right"><h3><strong>toCheckKeyEvent</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>
 
355
 Check if a key sequence and a key event represent the same key and return if that is the case.
 
356
 Only support single key keysequences.
 
357
</p>
 
358
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
359
<TR><TD align="left" valign="top"><i>event</i></TD><TD align="left" valign="top">Key event.
 
360
</TD></TR>
 
361
<TR><TD align="left" valign="top"><i>key</i></TD><TD align="left" valign="top">Key sequence.
 
362
 </TD></TR>
 
363
</TABLE></P>
 
364
<A NAME="toShift"></A><A NAME="ref551"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T &nbsp;<strong>toShift</strong> (std::list<T> &lst)
 
365
<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.
 
366
</p>
 
367
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
368
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to shift value from (Also modified).
 
369
</TD></TR>
 
370
</TABLE></P>
 
371
<p><b>Returns</b>: The first value in the list.
 
372
 </p>
 
373
<A NAME="toUnShift"></A><A NAME="ref552"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void &nbsp;<strong>toUnShift</strong> (std::list<T> &lst,const T &str)
 
374
<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.
 
375
</p>
 
376
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
377
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to push value in from of.
 
378
</TD></TR>
 
379
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
 
380
 </TD></TR>
 
381
</TABLE></P>
 
382
<A NAME="toPop"></A><A NAME="ref553"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T &nbsp;<strong>toPop</strong> (std::list<T> &lst)
 
383
<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.
 
384
</p>
 
385
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
386
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to pop value from (Also modified).
 
387
</TD></TR>
 
388
</TABLE></P>
 
389
<p><b>Returns</b>: The value in the list of objects.
 
390
 </p>
 
391
<A NAME="toPush"></A><A NAME="ref554"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void &nbsp;<strong>toPush</strong> (std::list<T> &lst,const T &str)
 
392
<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.
 
393
</p>
 
394
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
395
<TR><TD align="left" valign="top"><i>lst</i></TD><TD align="left" valign="top">List to push value in from of.
 
396
</TD></TR>
 
397
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
 
398
 </TD></TR>
 
399
</TABLE></P>
 
400
<A NAME="toStringToFont"></A><A NAME="ref555"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> &nbsp;<strong>toStringToFont</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
401
<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.
 
402
</p>
 
403
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
404
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String representing the font.
 
405
</TD></TR>
 
406
</TABLE></P>
 
407
<p><b>Returns</b>: Font structure represented by the string.
 
408
</p>
 
409
<p><b>See also</b>: <A HREF="#toFontToString">toFontToString</A></p>
 
410
<A NAME="toFontToString"></A><A NAME="ref556"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toFontToString</strong> (const <A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> &fnt)
 
411
<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.
 
412
</p>
 
413
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
414
<TR><TD align="left" valign="top"><i>fnt</i></TD><TD align="left" valign="top">Font to convert.
 
415
</TD></TR>
 
416
</TABLE></P>
 
417
<p><b>Returns</b>: String representation of font.
 
418
 </p>
 
419
<A NAME="toHelpPath"></A><A NAME="ref557"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toHelpPath</strong> (void)
 
420
<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.
 
421
</p>
 
422
<p><b>Returns</b>: Path to the help directory.
 
423
 </p>
 
424
<A NAME="toReadFile"></A><A NAME="ref558"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &nbsp;<strong>toReadFile</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename)
 
425
<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.
 
426
</p>
 
427
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
428
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Filename to read file from.
 
429
</TD></TR>
 
430
</TABLE></P>
 
431
<p><b>Returns</b>: Contents of file.
 
432
</p>
 
433
<p><b>Throws</b>: QString, describing, I/O, problem.</p>
 
434
<A NAME="toWriteFile"></A><A NAME="ref559"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toWriteFile</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &data)
 
435
<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.
 
436
</p>
 
437
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
438
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Filename to write file to.
 
439
</TD></TR>
 
440
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
 
441
 </TD></TR>
 
442
</TABLE></P>
 
443
<A NAME="toWriteFile"></A><A NAME="ref560"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toWriteFile</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &data)
 
444
<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.
 
445
</p>
 
446
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
447
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Filename to write file to.
 
448
</TD></TR>
 
449
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
 
450
 </TD></TR>
 
451
</TABLE></P>
 
452
<A NAME="toCompareLists"></A><A NAME="ref561"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toCompareLists</strong> (<A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &l1,<A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> &l2,unsigned int len)
 
453
<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.
 
454
</p>
 
455
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
456
<TR><TD align="left" valign="top"><i>l1</i></TD><TD align="left" valign="top">First list to compare.
 
457
</TD></TR>
 
458
<TR><TD align="left" valign="top"><i>l2</i></TD><TD align="left" valign="top">Second list to compare.
 
459
</TD></TR>
 
460
<TR><TD align="left" valign="top"><i>len</i></TD><TD align="left" valign="top">Length of lists to compare.
 
461
</TD></TR>
 
462
</TABLE></P>
 
463
<p><b>Returns</b>: True if all first len elements match.
 
464
 </p>
 
465
<A NAME="toSetEnv"></A><A NAME="ref562"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toSetEnv</strong> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &var,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &val)
 
466
<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.
 
467
</p>
 
468
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
469
<TR><TD align="left" valign="top"><i>var</i></TD><TD align="left" valign="top">Variable name to set.
 
470
</TD></TR>
 
471
<TR><TD align="left" valign="top"><i>val</i></TD><TD align="left" valign="top">Value to set variable to.
 
472
 </TD></TR>
 
473
</TABLE></P>
 
474
<A NAME="toUnSetEnv"></A><A NAME="ref563"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toUnSetEnv</strong> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &var)
 
475
<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.
 
476
</p>
 
477
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
478
<TR><TD align="left" valign="top"><i>var</i></TD><TD align="left" valign="top">Environment variable to delete.
 
479
 </TD></TR>
 
480
</TABLE></P>
 
481
<A NAME="toOpenFilename"></A><A NAME="ref564"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toOpenFilename</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filter,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent)
 
482
<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.
 
483
</p>
 
484
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
485
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Default filename to open.
 
486
</TD></TR>
 
487
<TR><TD align="left" valign="top"><i>filter</i></TD><TD align="left" valign="top">Filter of filenames (See <A HREF="/usr/lib/qt3/doc/html/qfiledialog.html">QFileDialog</A>)
 
488
</TD></TR>
 
489
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
 
490
</TD></TR>
 
491
</TABLE></P>
 
492
<p><b>Returns</b>: Selected filename.
 
493
 </p>
 
494
<A NAME="toSaveFilename"></A><A NAME="ref565"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toSaveFilename</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filter,<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent)
 
495
<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.
 
496
</p>
 
497
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
498
<TR><TD align="left" valign="top"><i>filename</i></TD><TD align="left" valign="top">Default filename to open.
 
499
</TD></TR>
 
500
<TR><TD align="left" valign="top"><i>filter</i></TD><TD align="left" valign="top">Filter of filenames (See <A HREF="/usr/lib/qt3/doc/html/qfiledialog.html">QFileDialog</A>)
 
501
</TD></TR>
 
502
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
 
503
</TD></TR>
 
504
</TABLE></P>
 
505
<p><b>Returns</b>: Selected filename.
 
506
 </p>
 
507
<A NAME="toToolMenuIndex"></A><A NAME="ref566"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>toToolMenuIndex</strong> (void)
 
508
<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.
 
509
</p>
 
510
<p><b>Returns</b>: Index of the tool menu entry.
 
511
 </p>
 
512
<A NAME="toIsIdent"></A><A NAME="ref567"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool &nbsp;<strong>toIsIdent</strong> (<A HREF="/usr/lib/qt3/doc/html/qchar.html">QChar</A> c)
 
513
<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.
 
514
</p>
 
515
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
516
<TR><TD align="left" valign="top"><i>c</i></TD><TD align="left" valign="top">Character to check
 
517
</TD></TR>
 
518
</TABLE></P>
 
519
<p><b>Returns</b>: True if it is a valid Oracle identifier.
 
520
 </p>
 
521
<A NAME="toPluginPath"></A><A NAME="ref568"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toPluginPath</strong> (void)
 
522
<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
 
523
 target on windows).
 
524
</p>
 
525
<p><b>Returns</b>: String containing directory
 
526
 </p>
 
527
<A NAME="toStatusMessages"></A><A NAME="ref569"></A><table width="100%"><tr bgcolor="#eeeeee"><td>std::list<<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &nbsp;<strong>toStatusMessages</strong> (void)
 
528
<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.
 
529
 </p>
 
530
<A NAME="toChartBrush"></A><A NAME="ref570"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qbrush.html">QBrush</A> &nbsp;<strong>toChartBrush</strong> (int index)
 
531
<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.
 
532
</p>
 
533
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
534
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">Indicating which chart item to get color for.
 
535
 </TD></TR>
 
536
</TABLE></P>
 
537
<A NAME="toCurrentConnection"></A><A NAME="ref571"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toConnection.html">toConnection</A> &&nbsp;<strong>toCurrentConnection</strong> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget)
 
538
<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
 
539
 only stored in toToolWidgets.
 
540
</p>
 
541
<p><b>Returns</b>: Reference toConnection object closest to the current.
 
542
 </p>
 
543
<A NAME="toCurrentTool"></A><A NAME="ref572"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toToolWidget.html">toToolWidget</A> *&nbsp;<strong>toCurrentTool</strong> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget)
 
544
<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.
 
545
</p>
 
546
<p><b>Returns</b>: Pointer to tool widget.
 
547
 </p>
 
548
<A NAME="toIsOracle"></A><A NAME="ref573"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toIsOracle</strong> (const <A HREF="toConnection.html">toConnection</A> &)
 
549
<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.
 
550
 </p>
 
551
<A NAME="toIsSapDB"></A><A NAME="ref574"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toIsSapDB</strong> (const <A HREF="toConnection.html">toConnection</A> &)
 
552
<br></td><td align="right"><h3><strong>toIsSapDB</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 sapdb connection.
 
553
 </p>
 
554
<A NAME="toIsMySQL"></A><A NAME="ref575"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toIsMySQL</strong> (const <A HREF="toConnection.html">toConnection</A> &)
 
555
<br></td><td align="right"><h3><strong>toIsMySQL</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 MySQL connection.
 
556
 </p>
 
557
<A NAME="toIsPostgreSQL"></A><A NAME="ref576"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toIsPostgreSQL</strong> (const <A HREF="toConnection.html">toConnection</A> &)
 
558
<br></td><td align="right"><h3><strong>toIsPostgreSQL</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 PostgreSQL connection.
 
559
 </p>
 
560
<A NAME="toSQLStripSpecifier"></A><A NAME="ref577"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toSQLStripSpecifier</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
 
561
<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
 
562
 the bind variable.
 
563
</p>
 
564
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
565
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">The sql to strip.
 
566
</TD></TR>
 
567
</TABLE></P>
 
568
<p><b>Returns</b>: Return a string containing the same statement without qualifiers, which means the
 
569
         sql sent to Oracle and available in the SGA.
 
570
 </p>
 
571
<A NAME="toSQLStripBind"></A><A NAME="ref578"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toSQLStripBind</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
 
572
<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.
 
573
</p>
 
574
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
575
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">The sql to strip.
 
576
</TD></TR>
 
577
</TABLE></P>
 
578
<p><b>Returns</b>: Return a string containing the same statement without binds.
 
579
 </p>
 
580
<A NAME="toExpandFile"></A><A NAME="ref579"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toExpandFile</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &file)
 
581
<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.
 
582
 </p>
 
583
<A NAME="toUnnull"></A><A NAME="ref580"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toQValue.html">toQValue</A> &nbsp;<strong>toUnnull</strong> (const <A HREF="toQValue.html">toQValue</A> &str)
 
584
<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
 
585
 </p>
 
586
<A NAME="toNull"></A><A NAME="ref581"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toQValue.html">toQValue</A> &nbsp;<strong>toNull</strong> (const <A HREF="toQValue.html">toQValue</A> &str)
 
587
<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.
 
588
 </p>
 
589
<A NAME="toObfuscate"></A><A NAME="ref582"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toObfuscate</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
590
<br></td><td align="right"><h3><strong>toObfuscate</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> Take a string and make it illegible. Some security through obscurity here so you will
 
591
 need to check the source to see what is actually done.
 
592
</p>
 
593
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
594
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">String to be made unreadable.
 
595
</TD></TR>
 
596
</TABLE></P>
 
597
<p><b>Returns</b>: Obfuscated string.
 
598
 </p>
 
599
<A NAME="toUnobfuscate"></A><A NAME="ref583"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toUnobfuscate</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
600
<br></td><td align="right"><h3><strong>toUnobfuscate</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> Unmake the actions of <A HREF="#toObfuscate">toObfuscate</A>.
 
601
</p>
 
602
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
603
<TR><TD align="left" valign="top"><i>Obfuscated</i></TD><TD align="left" valign="top">string.
 
604
</TD></TR>
 
605
</TABLE></P>
 
606
<p><b>Returns</b>: Original string.
 
607
 </p>
 
608
<A NAME="toCheckModal"></A><A NAME="ref584"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>toCheckModal</strong> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *widget)
 
609
<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)
 
610
 </p>
 
611
<A NAME="toMapExport"></A><A NAME="ref585"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toMapExport</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix,
 
612
                 std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &src)
 
613
<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.
 
614
</p>
 
615
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
616
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">The destination map.
 
617
</TD></TR>
 
618
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to save map using.
 
619
</TD></TR>
 
620
<TR><TD align="left" valign="top"><i>src</i></TD><TD align="left" valign="top">The map to save.
 
621
 </TD></TR>
 
622
</TABLE></P>
 
623
<A NAME="toMapImport"></A><A NAME="ref586"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toMapImport</strong> (std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &data,const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &prefix,
 
624
                 std::map<<A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A>,<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> &dst)
 
625
<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.
 
626
</p>
 
627
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
628
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">The source map.
 
629
</TD></TR>
 
630
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to use for restoring from map.
 
631
</TD></TR>
 
632
<TR><TD align="left" valign="top"><i>dst</i></TD><TD align="left" valign="top">The map to save into.
 
633
 </TD></TR>
 
634
</TABLE></P>
 
635
<A NAME="toFindItem"></A><A NAME="ref587"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *&nbsp;<strong>toFindItem</strong> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *list,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
 
636
<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.
 
637
</p>
 
638
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
639
<TR><TD align="left" valign="top"><i>list</i></TD><TD align="left" valign="top">The list to search for the item.
 
640
</TD></TR>
 
641
<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.
 
642
 </TD></TR>
 
643
</TABLE></P>
 
644
<A NAME="toToolCaption"></A><A NAME="ref589"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toToolCaption</strong> (<A HREF="toToolWidget.html">toToolWidget</A> *tool,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &caption)
 
645
<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>
 
646
 Set or change title of a tool window.
 
647
</p>
 
648
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
649
<TR><TD align="left" valign="top"><i>tool</i></TD><TD align="left" valign="top">Widget of tool.
 
650
</TD></TR>
 
651
<TR><TD align="left" valign="top"><i>caption</i></TD><TD align="left" valign="top">Caption to set to the tool.
 
652
 </TD></TR>
 
653
</TABLE></P>
 
654
<A NAME="toTranslateMayby"></A><A NAME="ref590"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<strong>toTranslateMayby</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &context,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text)
 
655
<br></td><td align="right"><h3><strong>toTranslateMayby</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>
 
656
 Translate string if the context and text is strictly ASCII7 and the context doesn't
 
657
 contain any spaces. Otherwise just return the text.
 
658
</p>
 
659
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
 
660
<TR><TD align="left" valign="top"><i>context</i></TD><TD align="left" valign="top">The context of the text.
 
661
</TD></TR>
 
662
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text to translate.
 
663
</TD></TR>
 
664
</TABLE></P>
 
665
<p><b>Returns</b>: Translated text if appropriate, or original text otherwise.
 
666
 </p>
 
667
<A NAME="max"></A><A NAME="ref591"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
 
668
T &nbsp;<strong>max</strong> (T a, T b)
 
669
<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>
 
670
 Get maximum number of a and b.
 
671
 </p>
 
672
<A NAME="min"></A><A NAME="ref592"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
 
673
T &nbsp;<strong>min</strong> (T a, T b)
 
674
<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>
 
675
 Get minimum number of a and b.
 
676
 </p>
 
677
<HR>
 
678
        <table>
 
679
        <tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
 
680
        </table>
 
681
</BODY>
 
682
</HTML>