diff options
author | Slávek Banko <[email protected]> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/fileimporter.cpp | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/fileimporter.cpp')
-rw-r--r-- | src/fileimporter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fileimporter.cpp b/src/fileimporter.cpp index 65ee792..2633d35 100644 --- a/src/fileimporter.cpp +++ b/src/fileimporter.cpp @@ -17,14 +17,14 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include <qbuffer.h> +#include <ntqbuffer.h> #include "fileimporter.h" namespace BibTeX { - FileImporter::FileImporter() : QObject() + FileImporter::FileImporter() : TQObject() { // nothing } @@ -34,15 +34,15 @@ namespace BibTeX // nothing } - File* FileImporter::load( const QString& text ) + File* FileImporter::load( const TQString& text ) { if ( text.isNull() || text.isEmpty() ) return NULL; - QBuffer buffer; + TQBuffer buffer; buffer.open( IO_WriteOnly ); - QTextStream stream( &buffer ); - stream.setEncoding( QTextStream::UnicodeUTF8 ); + TQTextStream stream( &buffer ); + stream.setEncoding( TQTextStream::UnicodeUTF8 ); stream << text; buffer.close(); |