summaryrefslogtreecommitdiffstats
path: root/src/encoderxml.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-06-29 12:56:53 +0200
committerSlávek Banko <[email protected]>2013-07-04 03:11:35 +0200
commit5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch)
treec8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/encoderxml.h
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/encoderxml.h')
-rw-r--r--src/encoderxml.h22
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();
};