3
<TITLE>tora Globals</TITLE>
5
<META NAME="Generator" CONTENT="KDOC ">
7
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
<TABLE WIDTH="100%" BORDER="0">
12
<TR><TD valign="top" align="left" cellspacing="10">
15
<TD valign="top" align="right" colspan="1"></TD></TR>
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>
31
<LI>typedef std::list<toQDescribe> <A HREF="#ref438">toQDescList</A>
35
<LI><A HREF="toMain.html">toMain</A> * <b><A HREF="#ref461">toMainWidget</A></b> (void)
38
<h3>toqvalue.h</h3><ul>
39
<LI>typedef std::list<toQValue> <A HREF="#ref475">toQList</A>
42
<h3>toreport.h</h3><ul>
43
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
47
<LI>void <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)
49
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
51
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
53
<LI>void <b><A HREF="#ref536">toReadableColumn</A></b> (<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &col)
55
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref537">toNow</A></b> (<A HREF="toConnection.html">toConnection</A> &conn)
57
<LI>void <b><A HREF="#ref538">toSetSessionType</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
59
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref539">toGetSessionType</A></b> (void)
61
<LI><A HREF="/usr/lib/qt3/doc/html/qstringlist.html">QStringList</A> <b><A HREF="#ref540">toGetSessionTypes</A></b> (void)
63
<LI><A HREF="/usr/lib/qt3/doc/html/qcombobox.html">QComboBox</A> * <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)
66
<LI>void <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)
68
<LI>bool <b><A HREF="#ref543">toMonolithic</A></b> (void)
70
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref544">toDeepCopy</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
72
<LI><A HREF="/usr/lib/qt3/doc/html/qtoolbar.html">QToolBar</A> * <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)
74
<LI><A HREF="TODock.html">TODock</A> * <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)
78
<LI>void <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)
80
<LI>int <b><A HREF="#ref548">toSizeDecode</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
82
<LI><A HREF="/usr/lib/qt3/doc/html/qkeysequence.html">QKeySequence</A> <b><A HREF="#ref549">toKeySequence</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &keysequence)
84
<LI>bool <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)
86
<LI>template <class T> T <b><A HREF="#ref551">toShift</A></b> (std::list<T> &lst)
88
<LI>template <class T> void <b><A HREF="#ref552">toUnShift</A></b> (std::list<T> &lst,const T &str)
90
<LI>template <class T> T <b><A HREF="#ref553">toPop</A></b> (std::list<T> &lst)
92
<LI>template <class T> void <b><A HREF="#ref554">toPush</A></b> (std::list<T> &lst,const T &str)
94
<LI><A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> <b><A HREF="#ref555">toStringToFont</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
96
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref556">toFontToString</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qfont.html">QFont</A> &fnt)
98
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref557">toHelpPath</A></b> (void)
100
<LI><A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> <b><A HREF="#ref558">toReadFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &filename)
102
<LI>bool <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)
104
<LI>bool <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)
106
<LI>bool <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)
108
<LI>void <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)
110
<LI>void <b><A HREF="#ref563">toUnSetEnv</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qcstring.html">QCString</A> &var)
112
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
114
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
116
<LI>int <b><A HREF="#ref566">toToolMenuIndex</A></b> (void)
118
<LI>inline bool <b><A HREF="#ref567">toIsIdent</A></b> (<A HREF="/usr/lib/qt3/doc/html/qchar.html">QChar</A> c)
120
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref568">toPluginPath</A></b> (void)
122
<LI>std::list<<A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A>> <b><A HREF="#ref569">toStatusMessages</A></b> (void)
124
<LI><A HREF="/usr/lib/qt3/doc/html/qbrush.html">QBrush</A> <b><A HREF="#ref570">toChartBrush</A></b> (int index)
126
<LI><A HREF="toConnection.html">toConnection</A> & <b><A HREF="#ref571">toCurrentConnection</A></b> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget)
128
<LI><A HREF="toToolWidget.html">toToolWidget</A> * <b><A HREF="#ref572">toCurrentTool</A></b> (<A HREF="/usr/lib/qt3/doc/html/qobject.html">QObject</A> *widget)
130
<LI>bool <b><A HREF="#ref573">toIsOracle</A></b> (const <A HREF="toConnection.html">toConnection</A> &)
132
<LI>bool <b><A HREF="#ref574">toIsSapDB</A></b> (const <A HREF="toConnection.html">toConnection</A> &)
134
<LI>bool <b><A HREF="#ref575">toIsMySQL</A></b> (const <A HREF="toConnection.html">toConnection</A> &)
136
<LI>bool <b><A HREF="#ref576">toIsPostgreSQL</A></b> (const <A HREF="toConnection.html">toConnection</A> &)
138
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref577">toSQLStripSpecifier</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
140
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref578">toSQLStripBind</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
142
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref579">toExpandFile</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &file)
144
<LI><A HREF="toQValue.html">toQValue</A> <b><A HREF="#ref580">toUnnull</A></b> (const <A HREF="toQValue.html">toQValue</A> &str)
146
<LI><A HREF="toQValue.html">toQValue</A> <b><A HREF="#ref581">toNull</A></b> (const <A HREF="toQValue.html">toQValue</A> &str)
148
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref582">toObfuscate</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
150
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref583">toUnobfuscate</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str)
152
<LI>bool <b><A HREF="#ref584">toCheckModal</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *widget)
154
<LI>void <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)
157
<LI>void <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)
160
<LI><A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> * <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)
162
<LI>void <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)
164
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <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)
166
<LI>template <class T>
167
T <b><A HREF="#ref591">max</A></b> (T a, T b)
169
<LI>template <class T>
170
T <b><A HREF="#ref592">min</A></b> (T a, T b)
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 <<A HREF="toconnection_h.html">toconnection.h</A>></code></small></p><p> A short representation of a <A HREF="toQuery__queryDescribe.html">toQuery::queryDescribe</A>
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 <<A HREF="toconnection_h.html">toconnection.h</A>></code></small></p><p> A short representation of list<toQuery::queryDescribe>
178
<A NAME="toMainWidget"></A><A NAME="ref461"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toMain.html">toMain</A> * <strong>toMainWidget</strong> (void)
179
<br></td><td align="right"><h3><strong>toMainWidget</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="tomain_h.html">tomain.h</A>></code></small></p><p> Get a pointer to the main window
181
<p><b>Returns</b>: Pointer to main window.
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 <<A HREF="toqvalue_h.html">toqvalue.h</A>></code></small></p><p> A short representation of list<toQuery::queryValue>
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> <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 <<A HREF="toreport_h.html">toreport.h</A>></code></small></p><p> Generate an HTML based report on a description of database objects from <A HREF="toExtract.html">toExtract</A>.
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.
191
<TR><TD align="left" valign="top"><i>desc</i></TD><TD align="left" valign="top">Description list to create report on.
194
<p><b>Returns</b>: An HTML formatted report on the contents of desc.
196
<A NAME="toStatusMessage"></A><A NAME="ref533"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Display a message in the statusbar of the main window.
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
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.
204
<TR><TD align="left" valign="top"><i>log</i></TD><TD align="left" valign="top">Log message. Will never log saved messages.
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> <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 <<A HREF="utils_h.html">utils.h</A>></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
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
215
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Statement to get address for.
218
<p><b>Returns</b>: String with address in.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get the full SQL of an address (See <A HREF="#toSQLToAddress">toSQLToAddress</A>) from the
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
228
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Address of SQL.
231
<p><b>Returns</b>: String with SQL of statement.
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 <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Make a column name more readable.
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.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get the current database time in the current sessions dateformat.
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.
248
<p><b>Returns</b>: String with the current date and time.
250
<A NAME="toSetSessionType"></A><A NAME="ref538"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Set the current session type (Style)
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
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> <strong>toGetSessionType</strong> (void)
259
<br></td><td align="right"><h3><strong>toGetSessionType</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get current session type (Style)
261
<p><b>Returns</b>: A string describing the current style.
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> <strong>toGetSessionTypes</strong> (void)
265
<br></td><td align="right"><h3><strong>toGetSessionTypes</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get the available styles.
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> * <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Create or fill a combobox with refresh intervals.
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.
274
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of created combobox.
276
<TR><TD align="left" valign="top"><i>def</i></TD><TD align="left" valign="top">Default value of the combobox.
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.
281
<A NAME="toRefreshParse"></A><A NAME="ref542"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Set a timer with the value from a refresh combobox (See <A HREF="#toRefreshCreate">toRefreshCreate</A>).
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.
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.
290
<A NAME="toMonolithic"></A><A NAME="ref543"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>toMonolithic</strong> (void)
291
<br></td><td align="right"><h3><strong>toMonolithic</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get information about wether this TOra has plugin support or not.
293
<p><b>Returns</b>: True if plugin support is enabled.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Make a deep copy of a string. Usefull when sharing copying strings between threads.
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
302
<p><b>Returns</b>: Copied string.
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> * <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Allocate a toolbar. This is needed since Qt and KDE use different toolbars.
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.
310
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of toolbar.
313
<p><b>Returns</b>: A newly created toolbar.
315
<A NAME="toAllocDock"></A><A NAME="ref546"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="TODock.html">TODock</A> * <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 <<A HREF="utils_h.html">utils.h</A>></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.
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.
325
<TR><TD align="left" valign="top"><i>db</i></TD><TD align="left" valign="top">Database name or empty if N/A.
327
<TR><TD align="left" valign="top"><i>icon</i></TD><TD align="left" valign="top">Icon of new dock.
330
<p><b>Returns</b>: A newly allocated fock.
332
<A NAME="toAttachDock"></A><A NAME="ref547"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Attach a dock to a specified position.
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
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.
340
<TR><TD align="left" valign="top"><i>place</i></TD><TD align="left" valign="top">Where to place the dock.
343
<A NAME="toSizeDecode"></A><A NAME="ref548"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Decode a size string this basically converts "KB" to 1024, "MB" to 1024KB and
345
everything else to 1.
347
<p><b>Returns</b>: Multiplier specified by string.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p>
351
Check that a key sequence is valid and return same sequence
353
<A NAME="toCheckKeyEvent"></A><A NAME="ref550"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></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.
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.
361
<TR><TD align="left" valign="top"><i>key</i></TD><TD align="left" valign="top">Key sequence.
364
<A NAME="toShift"></A><A NAME="ref551"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Shift the first value out of a list.
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).
371
<p><b>Returns</b>: The first value in the list.
373
<A NAME="toUnShift"></A><A NAME="ref552"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Push an object to the beginning of a list.
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.
379
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
382
<A NAME="toPop"></A><A NAME="ref553"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> T <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Pop the last value out of a list.
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).
389
<p><b>Returns</b>: The value in the list of objects.
391
<A NAME="toPush"></A><A NAME="ref554"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T> void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Push an object to the end of a list.
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.
397
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Object to push.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Convert a string representation to a font structure.
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.
407
<p><b>Returns</b>: Font structure represented by the string.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Convert a font to a string representation.
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.
417
<p><b>Returns</b>: String representation of font.
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> <strong>toHelpPath</strong> (void)
420
<br></td><td align="right"><h3><strong>toHelpPath</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get the path to the help directory.
422
<p><b>Returns</b>: Path to the help directory.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Read file from filename.
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.
431
<p><b>Returns</b>: Contents of file.
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 <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Write file to filename.
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.
440
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
443
<A NAME="toWriteFile"></A><A NAME="ref560"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Write file to filename.
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.
449
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to write to file.
452
<A NAME="toCompareLists"></A><A NAME="ref561"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Compare two string lists.
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.
458
<TR><TD align="left" valign="top"><i>l2</i></TD><TD align="left" valign="top">Second list to compare.
460
<TR><TD align="left" valign="top"><i>len</i></TD><TD align="left" valign="top">Length of lists to compare.
463
<p><b>Returns</b>: True if all first len elements match.
465
<A NAME="toSetEnv"></A><A NAME="ref562"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Set environment variable.
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.
471
<TR><TD align="left" valign="top"><i>val</i></TD><TD align="left" valign="top">Value to set variable to.
474
<A NAME="toUnSetEnv"></A><A NAME="ref563"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Delete an environment variable.
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.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Pop up a dialog and choose a file to open.
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.
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>)
489
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
492
<p><b>Returns</b>: Selected filename.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Pop up a dialog and choose a file to save to.
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.
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>)
502
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of dialog.
505
<p><b>Returns</b>: Selected filename.
507
<A NAME="toToolMenuIndex"></A><A NAME="ref566"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>toToolMenuIndex</strong> (void)
508
<br></td><td align="right"><h3><strong>toToolMenuIndex</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get index of menu to insert tool specific menu at.
510
<p><b>Returns</b>: Index of the tool menu entry.
512
<A NAME="toIsIdent"></A><A NAME="ref567"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if a character is valid for an identifier in Oracle.
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
519
<p><b>Returns</b>: True if it is a valid Oracle identifier.
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> <strong>toPluginPath</strong> (void)
522
<br></td><td align="right"><h3><strong>toPluginPath</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get installation directory of application (Plugin directory on unix, installation
525
<p><b>Returns</b>: String containing directory
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>> <strong>toStatusMessages</strong> (void)
528
<br></td><td align="right"><h3><strong>toStatusMessages</strong></h3></td></tr></table><p></p><p><small><code>#include <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get a list of the latest status messages that have been shown.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Get a brush for a chart item.
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.
537
<A NAME="toCurrentConnection"></A><A NAME="ref571"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toConnection.html">toConnection</A> & <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Return the connection most closely associated with a widget. Currently connections are
539
only stored in toToolWidgets.
541
<p><b>Returns</b>: Reference toConnection object closest to the current.
543
<A NAME="toCurrentTool"></A><A NAME="ref572"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toToolWidget.html">toToolWidget</A> * <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Return the tool widget most closely associated with a widget.
546
<p><b>Returns</b>: Pointer to tool widget.
548
<A NAME="toIsOracle"></A><A NAME="ref573"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if this connection is an oracle connection.
551
<A NAME="toIsSapDB"></A><A NAME="ref574"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if this connection is an sapdb connection.
554
<A NAME="toIsMySQL"></A><A NAME="ref575"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if this connection is an MySQL connection.
557
<A NAME="toIsPostgreSQL"></A><A NAME="ref576"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if this connection is an PostgreSQL connection.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Strip extra bind specifier from an SQL statement. (That means the extra <***> part after
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.
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.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Strip extra binds and replace with empty strings.
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.
578
<p><b>Returns</b>: Return a string containing the same statement without binds.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Expand filename with $HOME to be replaced with home directory or my documents.
583
<A NAME="toUnnull"></A><A NAME="ref580"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toQValue.html">toQValue</A> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Convert string read by readValue to value read by readValueNull
586
<A NAME="toNull"></A><A NAME="ref581"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toQValue.html">toQValue</A> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Convert string read by readValueNull to value to be read by readValue.
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> <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 <<A HREF="utils_h.html">utils.h</A>></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.
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.
597
<p><b>Returns</b>: Obfuscated string.
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> <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Unmake the actions of <A HREF="#toObfuscate">toObfuscate</A>.
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.
606
<p><b>Returns</b>: Original string.
608
<A NAME="toCheckModal"></A><A NAME="ref584"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Check if the current widget is within the active modal widget (Or no modal widget exists)
611
<A NAME="toMapExport"></A><A NAME="ref585"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Export the contents of a map into another map.
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.
618
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to save map using.
620
<TR><TD align="left" valign="top"><i>src</i></TD><TD align="left" valign="top">The map to save.
623
<A NAME="toMapImport"></A><A NAME="ref586"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Import the contents of a map from another map.
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.
630
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to use for restoring from map.
632
<TR><TD align="left" valign="top"><i>dst</i></TD><TD align="left" valign="top">The map to save into.
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> * <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p> Find an item in a listview.
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.
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.
644
<A NAME="toToolCaption"></A><A NAME="ref589"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p>
646
Set or change title of a tool window.
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.
651
<TR><TD align="left" valign="top"><i>caption</i></TD><TD align="left" valign="top">Caption to set to the tool.
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> <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 <<A HREF="utils_h.html">utils.h</A>></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.
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.
662
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text to translate.
665
<p><b>Returns</b>: Translated text if appropriate, or original text otherwise.
667
<A NAME="max"></A><A NAME="ref591"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
668
T <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p>
670
Get maximum number of a and b.
672
<A NAME="min"></A><A NAME="ref592"></A><table width="100%"><tr bgcolor="#eeeeee"><td>template <class T>
673
T <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 <<A HREF="utils_h.html">utils.h</A>></code></small></p><p>
675
Get minimum number of a and b.
679
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>