1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
|
<HTML>
<HEAD>
<TITLE>class toMain</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class toMain</h1>
</TD>
<TD valign="top" align="right" colspan="1"> This class defines the main window. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Definition</TH><TD><code>#include <<A HREF="tomain_h.html">tomain.h</A>></code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="toMainWindow.html">toMainWindow</A> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-toMain.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref46">toMain</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qworkspace.html">QWorkspace</A> * <b><A HREF="#ref47">workspace</A></b> ()
</LI>
<LI><A HREF="toConnection.html">toConnection</A> & <b><A HREF="#ref48">currentConnection</A></b> (void)
</LI>
<LI>virtual bool <b><A HREF="#ref52">close</A></b> (bool del)
</LI>
<LI>void <b><A HREF="#ref53">createDefault</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref54">setCoordinates</A></b> (int,int)
</LI>
<LI><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <b><A HREF="#ref55">fileMenu</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <b><A HREF="#ref56">editMenu</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <b><A HREF="#ref57">toolsMenu</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <b><A HREF="#ref58">helpMenu</A></b> ()
</LI>
<LI>std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> <b><A HREF="#ref59">connections</A></b> (void)
</LI>
<LI><A HREF="toConnection.html">toConnection</A> & <b><A HREF="#ref60">connection</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &)
</LI>
<LI>void <b><A HREF="#ref61">setNeedCommit</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,bool needCommit=true)
</LI>
<LI>void <b><A HREF="#ref62">editSQL</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
</LI>
<LI>void <b><A HREF="#ref63">registerSQLEditor</A></b> (int toolid)
</LI>
<LI>virtual void <b><A HREF="#ref64">exportData</A></b> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix)
</LI>
<LI>virtual void <b><A HREF="#ref65">importData</A></b> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix)
</LI>
<LI><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <b><A HREF="#ref66">editToolbar</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <b><A HREF="#ref67">connectionToolbar</A></b> ()
</LI>
<LI>void <b><A HREF="#ref68">addChart</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref69">removeChart</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref70">setupChart</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref71">displayMessage</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
</LI>
</ul><h4>Public Slots</h4><ul><LI>void <b><A HREF="#ref79">windowsMenu</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref80">statusMenu</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref81">contextHelp</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref82">windowActivated</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *)
</LI>
<LI>void <b><A HREF="#ref83">editFileMenu</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref84">checkCaching</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref85">saveSession</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref86">loadSession</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref87">closeSession</A></b> (void)
</LI>
<LI>void <b><A HREF="#ref88">changeConnection</A></b> (void)
</LI>
</ul><h4>Signals</h4><ul><LI>void <b><A HREF="#ref72">sqlEditor</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
</LI>
<LI>void <b><A HREF="#ref73">chartAdded</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref74">chartSetup</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref75">chartRemoved</A></b> (<A HREF="toLineChart.html">toLineChart</A> *chart)
</LI>
<LI>void <b><A HREF="#ref76">addedConnection</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
</LI>
<LI>void <b><A HREF="#ref77">removedConnection</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
</LI>
<LI>void <b><A HREF="#ref78">willCommit</A></b> (<A HREF="toConnection.html">toConnection</A> &conn,bool cmt)
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static void <b><A HREF="#ref49">setEditWidget</A></b> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
</LI>
<LI>static void <b><A HREF="#ref50">editEnable</A></b> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
</LI>
<LI>static void <b><A HREF="#ref51">editDisable</A></b> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
</LI>
</ul><h4>Public Members</h4><ul><LI>static const int <b><A HREF="#ref37">TO_FILE_MENU</A></b></LI>
<LI>static const int <b><A HREF="#ref38">TO_EDIT_MENU</A></b></LI>
<LI>static const int <b><A HREF="#ref39">TO_TOOLS_MENU</A></b></LI>
<LI>static const int <b><A HREF="#ref40">TO_WINDOWS_MENU</A></b></LI>
<LI>static const int <b><A HREF="#ref41">TO_HELP_MENU</A></b></LI>
<LI>static const int <b><A HREF="#ref42">TO_TOOL_MENU_ID</A></b></LI>
<LI>static const int <b><A HREF="#ref43">TO_TOOL_MENU_ID_END</A></b></LI>
<LI>static const int <b><A HREF="#ref44">TO_TOOL_ABOUT_ID</A></b></LI>
<LI>static const int <b><A HREF="#ref45">TO_TOOL_ABOUT_ID_END</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This class defines the main window. Observe that this class will have different baseclass
depending on if TOra is a Qt or KDE application. In the case of Qt this will be a
QMainWindow descendant.
</p>
<A NAME="TO_FILE_MENU"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_FILE_MENU</strong>
</td><td align="right"><h3><strong>TO_FILE_MENU</strong></h3></td></tr></table><p></p><A NAME="TO_EDIT_MENU"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_EDIT_MENU</strong>
</td><td align="right"><h3><strong>TO_EDIT_MENU</strong></h3></td></tr></table><p></p><A NAME="TO_TOOLS_MENU"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_TOOLS_MENU</strong>
</td><td align="right"><h3><strong>TO_TOOLS_MENU</strong></h3></td></tr></table><p></p><A NAME="TO_WINDOWS_MENU"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_WINDOWS_MENU</strong>
</td><td align="right"><h3><strong>TO_WINDOWS_MENU</strong></h3></td></tr></table><p></p><A NAME="TO_HELP_MENU"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_HELP_MENU</strong>
</td><td align="right"><h3><strong>TO_HELP_MENU</strong></h3></td></tr></table><p></p><A NAME="TO_TOOL_MENU_ID"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_TOOL_MENU_ID</strong>
</td><td align="right"><h3><strong>TO_TOOL_MENU_ID</strong></h3></td></tr></table><p></p><A NAME="TO_TOOL_MENU_ID_END"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_TOOL_MENU_ID_END</strong>
</td><td align="right"><h3><strong>TO_TOOL_MENU_ID_END</strong></h3></td></tr></table><p></p><A NAME="TO_TOOL_ABOUT_ID"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_TOOL_ABOUT_ID</strong>
</td><td align="right"><h3><strong>TO_TOOL_ABOUT_ID</strong></h3></td></tr></table><p></p><A NAME="TO_TOOL_ABOUT_ID_END"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static const int <strong>TO_TOOL_ABOUT_ID_END</strong>
</td><td align="right"><h3><strong>TO_TOOL_ABOUT_ID_END</strong></h3></td></tr></table><p></p><A NAME="toMain"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toMain</strong> ()
<br></td><td align="right"><h3><strong>toMain</strong></h3></td></tr></table><p></p><p>
Create main window. Always NULL as parent.
</p>
<A NAME="workspace"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qworkspace.html">QWorkspace</A> * <strong>workspace</strong> ()
<br></td><td align="right"><h3><strong>workspace</strong></h3></td></tr></table><p></p><p>
Get the workspace widget of the main window.
</p>
<p><b>Returns</b>: Workspace widget.
</p>
<A NAME="currentConnection"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toConnection.html">toConnection</A> & <strong>currentConnection</strong> (void)
<br></td><td align="right"><h3><strong>currentConnection</strong></h3></td></tr></table><p></p><p>
Get the current database connection
</p>
<p><b>Returns</b>: Reference to current connection.
</p>
<A NAME="setEditWidget"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setEditWidget</strong> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
<br></td><td align="right"><h3><strong>setEditWidget</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
Set the widget to edit through menues and toolbar.
</p>
<A NAME="editEnable"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>editEnable</strong> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
<br></td><td align="right"><h3><strong>editEnable</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
Set available menu items in user interface. It is not enough to just call
this function to make open for instance to actually work. It is a lot of
more especially in <A HREF="toMain.html#commandCallback">commandCallback</A> and <A HREF="toMain.html#editFileMenu">editFileMenu</A>. Will only
update if this is the current editing widget.
</p>
<A NAME="editDisable"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>editDisable</strong> (<A HREF="toEditWidget.html">toEditWidget</A> *edit)
<br></td><td align="right"><h3><strong>editDisable</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
Disable all the current available items in the user interface (That <A HREF="toMain.html#editEnable">editEnable</A> can enable). If specified widget has the focus the edit widget
is cleared.
</p>
<A NAME="close"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>close</strong> (bool del)
<br></td><td align="right"><h3><strong>close</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
Close window
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>del</i></TD><TD align="left" valign="top">If user interaction is allowed.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: True if close was allowed, otherwise false.
</p>
<A NAME="createDefault"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>createDefault</strong> (void)
<br></td><td align="right"><h3><strong>createDefault</strong></h3></td></tr></table><p></p><p>
Create the default tool for the current connection.
</p>
<p> This is the tool with the highest priority, usually the SQL worksheet.
</p>
<A NAME="setCoordinates"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setCoordinates</strong> (int,int)
<br></td><td align="right"><h3><strong>setCoordinates</strong></h3></td></tr></table><p></p><p>
Set coordinates in the statusbar.
</p>
<p> Used to indicate current cursor position by child widgets.
</p>
<A NAME="fileMenu"></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <strong>fileMenu</strong> ()
<br></td><td align="right"><h3><strong>fileMenu</strong></h3></td></tr></table><p></p><p>
Get the file menu.
</p>
<p><b>Returns</b>: File menu
</p>
<A NAME="editMenu"></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <strong>editMenu</strong> ()
<br></td><td align="right"><h3><strong>editMenu</strong></h3></td></tr></table><p></p><p>
Get the edit menu.
</p>
<p><b>Returns</b>: Edit menu
</p>
<A NAME="toolsMenu"></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <strong>toolsMenu</strong> ()
<br></td><td align="right"><h3><strong>toolsMenu</strong></h3></td></tr></table><p></p><p>
Get the tools menu.
</p>
<p><b>Returns</b>: Tools menu
</p>
<A NAME="helpMenu"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qpopupmenu.html">QPopupMenu</A> * <strong>helpMenu</strong> ()
<br></td><td align="right"><h3><strong>helpMenu</strong></h3></td></tr></table><p></p><p>
Get the help menu.
</p>
<p><b>Returns</b>: Help menu
</p>
<A NAME="connections"></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td>std::list<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> <strong>connections</strong> (void)
<br></td><td align="right"><h3><strong>connections</strong></h3></td></tr></table><p></p><p>
Get a list of currently open connections.
</p>
<p><b>Returns</b>: List of connection names. The returned list can then be used by
<A HREF="toMain.html#connection">connection</A> to get the actual connection.
</p>
<A NAME="connection"></A><A NAME="ref60"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toConnection.html">toConnection</A> & <strong>connection</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &)
<br></td><td align="right"><h3><strong>connection</strong></h3></td></tr></table><p></p><p> Get a connection identified by a string.
</p>
<p><b>Returns</b>: A reference to a connection.
</p>
<p><b>Throws</b>: QString, If, connection, wasn't, found.</p>
<A NAME="setNeedCommit"></A><A NAME="ref61"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setNeedCommit</strong> (<A HREF="toConnection.html">toConnection</A> &conn,bool needCommit=true)
<br></td><td align="right"><h3><strong>setNeedCommit</strong></h3></td></tr></table><p></p><p> Set if a connection needs to be commited. Also updates visual feedback in interface.
</p>
<A NAME="editSQL"></A><A NAME="ref62"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>editSQL</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>editSQL</strong></h3></td></tr></table><p></p><p> Edit an SQL statement in the SQL editor if any connected.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Identifier of the SQL to edit.
</TD></TR>
</TABLE></P>
<A NAME="registerSQLEditor"></A><A NAME="ref63"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>registerSQLEditor</strong> (int toolid)
<br></td><td align="right"><h3><strong>registerSQLEditor</strong></h3></td></tr></table><p></p><p>
Register a tool which to use as an SQL editor. When something is to be edited
first a toolwindow will be created and the <A HREF="toMain.html#sqlEditor">sqlEditor</A> will be emited, so
the SQL editor must connect to this signal as well.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>toolid</i></TD><TD align="left" valign="top">Which tool identifier to register as the SQL editor. This
is the value which is passed to the <A HREF="toTool.html#customSetup">toTool::customSetup</A>
member.
</TD></TR>
</TABLE></P>
<A NAME="exportData"></A><A NAME="ref64"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>exportData</strong> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix)
<br></td><td align="right"><h3><strong>exportData</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Export data to a map.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">A map that can be used to recreate the session.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to add to the map.
</TD></TR>
</TABLE></P>
<A NAME="importData"></A><A NAME="ref65"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>importData</strong> (std::map<<A HREF="http://doc.trolltech.com/qstring.html">QString</A>,<A HREF="http://doc.trolltech.com/qstring.html">QString</A>> &data,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &prefix)
<br></td><td align="right"><h3><strong>importData</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Import data
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data to read from a map.
</TD></TR>
<TR><TD align="left" valign="top"><i>prefix</i></TD><TD align="left" valign="top">Prefix to read data from.
</TD></TR>
</TABLE></P>
<A NAME="editToolbar"></A><A NAME="ref66"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <strong>editToolbar</strong> ()
<br></td><td align="right"><h3><strong>editToolbar</strong></h3></td></tr></table><p></p><p> Get edit toolbar pointer.
</p>
<A NAME="connectionToolbar"></A><A NAME="ref67"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <strong>connectionToolbar</strong> ()
<br></td><td align="right"><h3><strong>connectionToolbar</strong></h3></td></tr></table><p></p><p> Get connection toolbar pointer.
</p>
<A NAME="addChart"></A><A NAME="ref68"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>addChart</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>addChart</strong></h3></td></tr></table><p></p><p> Added chart.
</p>
<A NAME="removeChart"></A><A NAME="ref69"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>removeChart</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>removeChart</strong></h3></td></tr></table><p></p><p> Removed chart.
</p>
<A NAME="setupChart"></A><A NAME="ref70"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setupChart</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>setupChart</strong></h3></td></tr></table><p></p><p> Setup chart.
</p>
<A NAME="displayMessage"></A><A NAME="ref71"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>displayMessage</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>displayMessage</strong></h3></td></tr></table><p></p><p> Display status message in dialog.
</p>
<A NAME="sqlEditor"></A><A NAME="ref72"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>sqlEditor</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>sqlEditor</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked to start editing an SQL identifier.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Identifier to start editing.
</TD></TR>
</TABLE></P>
<A NAME="chartAdded"></A><A NAME="ref73"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>chartAdded</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>chartAdded</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked when a new chart is created.
</p>
<A NAME="chartSetup"></A><A NAME="ref74"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>chartSetup</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>chartSetup</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked before a chart is destroyed.
</p>
<A NAME="chartRemoved"></A><A NAME="ref75"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>chartRemoved</strong> (<A HREF="toLineChart.html">toLineChart</A> *chart)
<br></td><td align="right"><h3><strong>chartRemoved</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked before a chart is destroyed.
</p>
<A NAME="addedConnection"></A><A NAME="ref76"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>addedConnection</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>addedConnection</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked when a connection is added.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Connection identifier.
</TD></TR>
</TABLE></P>
<A NAME="removedConnection"></A><A NAME="ref77"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>removedConnection</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>removedConnection</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Invoked when a connection is removed.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">Connection identifier.
</TD></TR>
</TABLE></P>
<A NAME="willCommit"></A><A NAME="ref78"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>willCommit</strong> (<A HREF="toConnection.html">toConnection</A> &conn,bool cmt)
<br></td><td align="right"><h3><strong>willCommit</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Emitted before a commit or rollback is made to the current connection.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>conn</i></TD><TD align="left" valign="top">Connection that is commited
</TD></TR>
<TR><TD align="left" valign="top"><i>cmt</i></TD><TD align="left" valign="top">True if commit, false if rollback.
</TD></TR>
</TABLE></P>
<A NAME="windowsMenu"></A><A NAME="ref79"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>windowsMenu</strong> (void)
<br></td><td align="right"><h3><strong>windowsMenu</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Used to enable/disable entries in the windows menu
</p>
<A NAME="statusMenu"></A><A NAME="ref80"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>statusMenu</strong> (void)
<br></td><td align="right"><h3><strong>statusMenu</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Used to fill the status menu with the latest status entries
</p>
<A NAME="contextHelp"></A><A NAME="ref81"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>contextHelp</strong> (void)
<br></td><td align="right"><h3><strong>contextHelp</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Display context help.
</p>
<A NAME="windowActivated"></A><A NAME="ref82"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>windowActivated</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *)
<br></td><td align="right"><h3><strong>windowActivated</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Called when active window is changed.
</p>
<A NAME="editFileMenu"></A><A NAME="ref83"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>editFileMenu</strong> (void)
<br></td><td align="right"><h3><strong>editFileMenu</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Used to enable/disable entries in the edit & file menu
</p>
<A NAME="checkCaching"></A><A NAME="ref84"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>checkCaching</strong> (void)
<br></td><td align="right"><h3><strong>checkCaching</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Check if object caching is done.
</p>
<A NAME="saveSession"></A><A NAME="ref85"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>saveSession</strong> (void)
<br></td><td align="right"><h3><strong>saveSession</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Save the current TOra session
</p>
<A NAME="loadSession"></A><A NAME="ref86"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>loadSession</strong> (void)
<br></td><td align="right"><h3><strong>loadSession</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Load a session (Merge with current)
</p>
<A NAME="closeSession"></A><A NAME="ref87"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>closeSession</strong> (void)
<br></td><td align="right"><h3><strong>closeSession</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Close all windows and connections.
</p>
<A NAME="changeConnection"></A><A NAME="ref88"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>changeConnection</strong> (void)
<br></td><td align="right"><h3><strong>changeConnection</strong></h3></td></tr></table><p> <small>[slot]</small></p><p> Change current connection
</p>
<HR>
<table>
</table>
</BODY>
</HTML>
|