summaryrefslogtreecommitdiffstats
path: root/python/pyqt/pylupdate3/metatranslator.h
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyqt/pylupdate3/metatranslator.h')
-rw-r--r--python/pyqt/pylupdate3/metatranslator.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/python/pyqt/pylupdate3/metatranslator.h b/python/pyqt/pylupdate3/metatranslator.h
index a071207e..eb2a645d 100644
--- a/python/pyqt/pylupdate3/metatranslator.h
+++ b/python/pyqt/pylupdate3/metatranslator.h
@@ -17,10 +17,10 @@
#ifndef METATRANSLATOR_H
#define METATRANSLATOR_H
-#include <qmap.h>
-#include <qstring.h>
-#include <qtranslator.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqtranslator.h>
+#include <tqvaluelist.h>
class QTextCodec;
@@ -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