|
|
A widget which contains the result of a query run in the background.
toResultLong (bool readable,bool numCol,toQuery::queryMode mode,QWidget *parent,const char *name=NULL)
| toResultLong |
Create widget.
Parameters:
readable | Indicate if columns are to be made more readable. This means that the descriptions are capitalised and '_' are converted to ' '. |
numCol | If number column is to be displayed. |
mode | Query mode to use when executing query |
parent | Parent of list. |
name | Name of widget. |
toResultLong (QWidget *parent,const char *name=NULL)
| toResultLong |
Create widget. The columns are not readable and the number column is displayed.
Parameters:
parent | Parent of list. |
name | Name of widget. |
~toResultLong ()
| ~toResultLong |
void setStatistics (toResultStats *stats)
| setStatistics |
Set statistics widget.
Parameters:
stats | Statistics widget. |
bool running (void)
| running |
Check if query is still running.
Returns: True if query is still running.
void query (const QString &sql,const toQList ¶m)
| query |
[virtual]
Reimplemented for internal reasons.
Reimplemented from toResultView.
void query (const QString &sql)
| query |
Reimplemented for internal reasons.
Reimplemented from toResultView.
void editReadAll (void)
| editReadAll |
[virtual]
Reimplemented for internal reasons.
Reimplemented from toResultView.
void done (void)
| done |
[signal]
Emitted when query is finnished.
void firstResult (const QString &sql,const toConnection::exception &res,bool error)
| firstResult |
[signal]
Emitted when the first result is available.
Parameters:
sql | SQL that was run. |
res | String describing result. |
error | Error has occurred. |
void stop (void)
| stop |
[slot]
Stop running query.
void addItem (void)
| addItem |
[virtual slot]
Reimplemented for internal reasons.
Reimplemented from toResultView.