#include <list>
#include <map>
#include <qmainwindow.h>
#include <qtimer.h>
#include <qtoolbutton.h>
#include "tobackground.h"
#include <qtoolbar.h>
#include "tomainwindow.h"
Dependencia gráfica adjunta para tomain.h:
Este gráfico muestra que archivos directa o indirectamente incluyen a este archivo:
Ir al código fuente de este archivo.
Definiciones | |
#define | TOPrinter QPrinter |
#define | TODock QWidget |
#define | TOFileDialog QFileDialog |
#define | TOMessageBox QMessageBox |
#define | TOCATCH |
Funciones | |
void | toStatusMessage (const QString &str, bool save=false, bool log=true) |
toMain * | toMainWidget (void) |
QString | toSQLToAddress (toConnection &conn, const QString &sql) |
QString | toSQLString (toConnection &conn, const QString &address) |
void | toReadableColumn (QString &col) |
QString | toNow (toConnection &conn) |
void | toSetSessionType (const QString &str) |
QString | toGetSessionType (void) |
QComboBox * | toRefreshCreate (QWidget *parent, const char *name=NULL, const QString &def=QString::null, QComboBox *item=NULL) |
void | toRefreshParse (toTimer *timer, const QString &str=QString::null) |
bool | toMonolithic (void) |
QString | toDeepCopy (const QString &str) |
QToolBar * | toAllocBar (QWidget *parent, const QString &name, const QString &db) |
TODock * | toAllocDock (const QString &name, const QString &db, const QPixmap &icon) |
void | toAttachDock (TODock *dock, QWidget *container, QMainWindow::ToolBarDock place) |
int | toSizeDecode (const QString &str) |
template<class T> | |
T | toShift (std::list< T > &lst) |
template<class T> | |
void | toUnShift (std::list< T > &lst, const T &str) |
template<class T> | |
T | toPop (std::list< T > &lst) |
template<class T> | |
void | toPush (std::list< T > &lst, const T &str) |
template<class T> | |
std::list< T, std::allocator< T > >::iterator | toFind (typename std::list< T, std::allocator< T > > &lst, const T &str) |
QString | toGetToken (toMarkedText *text, int &curLine, int &pos, bool forward=true, bool comments=false) |
QFont | toStringToFont (const QString &str) |
QString | toFontToString (const QFont &fnt) |
QString | toHelpPath (void) |
QCString | toReadFile (const QString &filename) |
bool | toWriteFile (const QString &filename, const QCString &data) |
bool | toWriteFile (const QString &filename, const QString &data) |
bool | toCompareLists (QStringList &l1, QStringList &l2, unsigned int len) |
void | toSetEnv (const QCString &var, const QCString &val) |
void | toUnSetEnv (const QCString &var) |
QString | toOpenFilename (const QString &filename, const QString &filter, QWidget *parent) |
QString | toSaveFilename (const QString &filename, const QString &filter, QWidget *parent) |
int | toToolMenuIndex (void) |
bool | toIsIdent (QChar c) |
QString | toPluginPath (void) |
std::list< QString > | toStatusMessages (void) |
QColor | toChartColor (int index) |
toConnection & | toCurrentConnection (QObject *widget) |
toToolWidget * | toCurrentTool (QObject *widget) |
bool | toIsOracle (const toConnection &) |
QString | toSQLStripSpecifier (const QString &sql) |
QString | toSQLStripBind (const QString &sql) |
QListViewItem * | toFindItem (QListView *list, const QString &str) |
void | toToolCaption (toToolWidget *tool, const QString &caption) |
template<class T> | |
T | max (T a, T b) |
template<class T> | |
T | min (T a, T b) |
|
Valor: catch (const QString &str) {\ toStatusMessage(str);\ } |
|
|
|
|
|
|
|
|
|
Get maximum number of a and b. |
|
Get minimum number of a and b. |
|
Allocate a toolbar. This is needed since Qt and KDE use different toolbars.
|
|
Allocate a new docked window. This is needed since Qt and KDE docks windows differently (Qt 2.x doesn't even have support for docked windows). Observe that you must attach a dock using toAttachDock after allocating it.
|
|
Attach a dock to a specified position.
|
|
Get a color for a chart item.
|
|
Compare two string lists.
|
|
Return the connection most closely associated with a widget. Currently connections are only stored in toToolWidgets.
|
|
Return the tool widget most closely associated with a widget.
|
|
Make a deep copy of a string. Usefull when sharing copying strings between threads.
|
|
Find if an item exists in a list.
|
|
Find an item in a listview.
|
|
Convert a font to a string representation.
|
|
Get current session type (Style)
|
|
Get next SQL token from an editor.
|
|
Get the path to the help directory.
|
|
Check if a character is valid for an identifier in Oracle.
|
|
Check if this connection is an oracle connection. |
|
Get a pointer to the main window
|
|
Get information about wether this TOra has plugin support or not.
|
|
Get the current database time in the current sessions dateformat.
|
|
Pop up a dialog and choose a file to open.
|
|
Get installation directory of application (Plugin directory on unix, installation target on windows).
|
|
Pop the last value out of a list.
|
|
Push an object to the end of a list.
|
|
Make a column name more readable.
|
|
Read file from filename.
|
|
Create or fill a combobox with refresh intervals.
|
|
Set a timer with the value from a refresh combobox (See toRefreshCreate).
|
|
Pop up a dialog and choose a file to save to.
|
|
Set environment variable.
|
|
Set the current session type (Style)
|
|
Shift the first value out of a list.
|
|
Decode a size string this basically converts "KB" to 1024, "MB" to 1024KB and everything else to 1.
|
|
Get the full SQL of an address (See toSQLToAddress) from the SGA.
|
|
Strip extra binds and replace with empty strings.
|
|
Strip extra bind specifier from an SQL statement. (That means the extra <***> part after the bind variable.
|
|
Get an address to a SQL statement in the SGA. The address has the form 'address:hash_value' which are resolved from the v$sqltext_with_newlines view in Oracle.
|
|
Display a message in the statusbar of the main window.
|
|
Get a list of the latest status messages that have been shown. |
|
Convert a string representation to a font structure.
|
|
Set or change title of a tool window.
|
|
Get index of menu to insert tool specific menu at.
|
|
Delete an environment variable.
|
|
Push an object to the beginning of a list.
|
|
Write file to filename.
|
|
Write file to filename.
|