class toResultLong

A widget which contains the result of a query run in the background. More...

Definition#include <toresultlong.h>
InheritstoResultView [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals


Detailed Description

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:
readableIndicate if columns are to be made more readable. This means that the descriptions are capitalised and '_' are converted to ' '.
numColIf number column is to be displayed.
modeQuery mode to use when executing query
parentParent of list.
nameName of widget.

 toResultLong (QWidget *parent,const char *name=NULL)

toResultLong

Create widget. The columns are not readable and the number column is displayed.

Parameters:
parentParent of list.
nameName of widget.

 ~toResultLong ()

~toResultLong

void  setStatistics (toResultStats *stats)

setStatistics

Set statistics widget.

Parameters:
statsStatistics 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 &param)

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:
sqlSQL that was run.
resString describing result.
errorError has occurred.

void  stop (void)

stop

[slot]

Stop running query.

void  addItem (void)

addItem

[virtual slot]

Reimplemented for internal reasons.

Reimplemented from toResultView.