diff options
Diffstat (limited to 'tqtinterface/qt4/src/tools/tqstring.h')
-rw-r--r-- | tqtinterface/qt4/src/tools/tqstring.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tqtinterface/qt4/src/tools/tqstring.h b/tqtinterface/qt4/src/tools/tqstring.h index 71bc563..91ceb9d 100644 --- a/tqtinterface/qt4/src/tools/tqstring.h +++ b/tqtinterface/qt4/src/tools/tqstring.h @@ -305,6 +305,9 @@ public: inline static TQString number( uint n, int base=10) { return TQString(QString::number(n, base)); } inline static TQString number( double n, char f='g', int prec=6 ) { return TQString(QString::number(n, f, prec)); } + float toFloat( bool *ok=0 ) const; + double toDouble( bool *ok=0 ) const; + TQString &setAscii( const char*, int len=-1 ); TQString &setLatin1( const char *ch, int len=-1 ); |