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/encoderxml.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/encoderxml.h')
-rw-r--r-- | src/encoderxml.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/encoderxml.h b/src/encoderxml.h index 89e1be1..142c6f0 100644 --- a/src/encoderxml.h +++ b/src/encoderxml.h @@ -20,13 +20,13 @@ #ifndef BIBTEXENCODERXML_H #define BIBTEXENCODERXML_H -#include <qptrlist.h> -#include <qregexp.h> +#include <ntqptrlist.h> +#include <ntqregexp.h> #include <encoder.h> -class QString; -class QRegExp; +class TQString; +class TQRegExp; namespace BibTeX { @@ -40,21 +40,21 @@ namespace BibTeX EncoderXML(); ~EncoderXML(); - QString decode( const QString &text ); - QString encode( const QString &text ); - QString encodeSpecialized( const QString &text, const EntryField::FieldType fieldType = EntryField::ftUnknown ); + TQString decode( const TQString &text ); + TQString encode( const TQString &text ); + TQString encodeSpecialized( const TQString &text, const EntryField::FieldType fieldType = EntryField::ftUnknown ); static EncoderXML *currentEncoderXML(); private: struct CharMappingItem { - QRegExp regExp; - QChar unicode; - QString latex; + TQRegExp regExp; + TQChar unicode; + TQString latex; }; - QValueList<CharMappingItem> m_charMapping; + TQValueList<CharMappingItem> m_charMapping; void buildCharMapping(); }; |