summaryrefslogtreecommitdiffstats
path: root/pylupdate3/metatranslator.h
diff options
context:
space:
mode:
Diffstat (limited to 'pylupdate3/metatranslator.h')
-rw-r--r--pylupdate3/metatranslator.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/pylupdate3/metatranslator.h b/pylupdate3/metatranslator.h
index a071207..5bf3961 100644
--- a/pylupdate3/metatranslator.h
+++ b/pylupdate3/metatranslator.h
@@ -3,7 +3,7 @@
**
** metatranslator.h
**
-** This file is part of Qt Linguist.
+** This file is part of TQt Linguist.
**
** See the file LICENSE included in the distribution for the usage
** and distribution terms.
@@ -22,9 +22,9 @@
#include <qtranslator.h>
#include <qvaluelist.h>
-class QTextCodec;
+class TQTextCodec;
-class MetaTranslatorMessage : public QTranslatorMessage
+class MetaTranslatorMessage : public TQTranslatorMessage
{
public:
enum Type { Unfinished, Finished, Obsolete };
@@ -32,7 +32,7 @@ public:
MetaTranslatorMessage();
MetaTranslatorMessage( const char *context, const char *sourceText,
const char *comment,
- const QString& translation = QString::null,
+ const TQString& translation = TQString::null,
bool utf8 = FALSE, Type type = Unfinished );
MetaTranslatorMessage( const MetaTranslatorMessage& m );
@@ -66,9 +66,9 @@ public:
MetaTranslator& operator=( const MetaTranslator& tor );
- bool load( const QString& filename );
- bool save( const QString& filename ) const;
- bool release( const QString& filename, bool verbose = FALSE ) const;
+ bool load( const TQString& filename );
+ bool save( const TQString& filename ) const;
+ bool release( const TQString& filename, bool verbose = FALSE ) const;
bool contains( const char *context, const char *sourceText,
const char *comment ) const;
@@ -78,18 +78,18 @@ public:
void stripEmptyContexts();
void setCodec( const char *name );
- QString toUnicode( const char *str, bool utf8 ) const;
+ TQString toUnicode( const char *str, bool utf8 ) const;
- QValueList<MetaTranslatorMessage> messages() const;
- QValueList<MetaTranslatorMessage> translatedMessages() const;
+ TQValueList<MetaTranslatorMessage> messages() const;
+ TQValueList<MetaTranslatorMessage> translatedMessages() const;
private:
- typedef QMap<MetaTranslatorMessage, int> TMM;
- typedef QMap<int, MetaTranslatorMessage> TMMInv;
+ typedef TQMap<MetaTranslatorMessage, int> TMM;
+ typedef TQMap<int, MetaTranslatorMessage> TMMInv;
TMM mm;
- QCString codecName;
- QTextCodec *codec;
+ TQCString codecName;
+ TQTextCodec *codec;
};
#endif