summaryrefslogtreecommitdiffstats
path: root/src/encoderlatex.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-06-29 12:56:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-04 03:11:35 +0200
commit5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch)
treec8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/encoderlatex.h
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/encoderlatex.h')
-rw-r--r--src/encoderlatex.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/encoderlatex.h b/src/encoderlatex.h
index d301652..a9e4b12 100644
--- a/src/encoderlatex.h
+++ b/src/encoderlatex.h
@@ -20,13 +20,13 @@
#ifndef ENCODERLATEX_H
#define ENCODERLATEX_H
-#include <qvaluelist.h>
-#include <qregexp.h>
+#include <ntqvaluelist.h>
+#include <ntqregexp.h>
#include <encoder.h>
#include <entry.h>
-class QString;
+class TQString;
namespace BibTeX
{
@@ -37,11 +37,11 @@ namespace BibTeX
EncoderLaTeX();
~EncoderLaTeX();
- QString decode( const QString &text );
- QString encode( const QString &text );
- QString encode( const QString &text, const QChar &replace );
- QString encodeSpecialized( const QString &text, const EntryField::FieldType fieldType = EntryField::ftUnknown );
- QString& decomposedUTF8toLaTeX( QString &text );
+ TQString decode( const TQString &text );
+ TQString encode( const TQString &text );
+ TQString encode( const TQString &text, const TQChar &replace );
+ TQString encodeSpecialized( const TQString &text, const EntryField::FieldType fieldType = EntryField::ftUnknown );
+ TQString& decomposedUTF8toLaTeX( TQString &text );
static EncoderLaTeX *currentEncoderLaTeX();
static void deleteCurrentEncoderLaTeX();
@@ -53,22 +53,22 @@ namespace BibTeX
struct CombinedMappingItem
{
- QRegExp regExp;
- QString latex;
+ TQRegExp regExp;
+ TQString latex;
};
- QValueList<CombinedMappingItem> m_combinedMapping;
+ TQValueList<CombinedMappingItem> m_combinedMapping;
void buildCombinedMapping();
struct CharMappingItem
{
- QRegExp regExp;
- QString unicode;
- QString latex;
+ TQRegExp regExp;
+ TQString unicode;
+ TQString latex;
};
- QValueList<CharMappingItem> m_charMapping;
+ TQValueList<CharMappingItem> m_charMapping;
void buildCharMapping();
};