On Wednesday 22 October 2003 17:27, C�sar Gonz�lez wrote:
> Hi all,
>
>       I am wondering how can i obtain the qsqldatabase used by a
> QDataTable instance (or QSqlCursor, QDataBrowser, etc).  I have a
> class with a QDataTable and i would like to extract the
> Qsqldatabase from the QDatatable to make special transaction and
> commit operations.
>
> Is it possible?

Isn't QSqlDatabase.database(), what you look for?

You may want to look into examples3/SQL/runsqlex.py:76f for an usage 
example.

> Thanks everybody ;)

Cheers,
Pete

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to