[Qt-interest] Convert functions
Andre Somers
andre at familiesomers.nl
Thu Oct 29 16:27:54 CET 2009
skowroniasty at onet.pl wrote:
> Hi,
> Im new in QT, so please be indulgent.
> Can anyone tell me how convert QStrig to double , float and long ?
>
> where in QT i can find functions for convert type or some similar to
> dynamic cast?
> TIA
Try one of the many QString::to<your type here> functions.
For dynamic casting, you can use the standard C++ casting or the
qobject_cast<>(), the latter of course only for QObject decendant classes.
André
More information about the Qt-interest-old
mailing list