diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/conversion.cc | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/conversion.cc')
-rw-r--r-- | khexedit/conversion.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/khexedit/conversion.cc b/khexedit/conversion.cc index 7a5c25c..7eeea5d 100644 --- a/khexedit/conversion.cc +++ b/khexedit/conversion.cc @@ -41,9 +41,9 @@ const SEncodeState &CConversion::state( void ) return( mState ); } -QString CConversion::names( unsigned int index ) +TQString CConversion::names( unsigned int index ) { - static const QString strings[4] = + static const TQString strings[4] = { i18n("Default encoding", "Default"), i18n("EBCDIC"), @@ -298,7 +298,7 @@ void CConversion::setMode( EMode cnvMode ) -int CConversion::convert( QByteArray &buf, EMode newMode, CProgress &p ) +int CConversion::convert( TQByteArray &buf, EMode newMode, CProgress &p ) { if( newMode == mode() ) { @@ -316,7 +316,7 @@ int CConversion::convert( QByteArray &buf, EMode newMode, CProgress &p ) // // Make backup // - const QByteArray tmp( buf.copy() ); + const TQByteArray tmp( buf.copy() ); if( tmp.isEmpty() ) { p.finish(); |