It's probably a bad idea at all to try and subclass QSqlDatabase. It is much better and easier to create your own class that accepts QSqlDatabase as a parameter, stores it as a private member and uses it to operate on the database where required.
It's probably a bad idea at all to try and subclass QSqlDatabase. It is much better and easier to create your own class that accepts QSqlDatabase as a parameter, stores it as a private member and uses it to operate on the database where required.
RogerWilco77 (27th January 2013)
Thanks for the advice.
I will follow it. Still it seems like I have something not understood regarding static functions.
Have a nice weekend.
Bookmarks