From 5f5e7c5455d52826b0bd50f64fcffb7695ce970d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Jun 2013 12:56:53 +0200 Subject: Initial TQt conversion --- src/encoderxml.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/encoderxml.h') 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 -#include +#include +#include #include -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 m_charMapping; + TQValueList m_charMapping; void buildCharMapping(); }; -- cgit v1.2.1