summaryrefslogtreecommitdiffstats
path: root/pylupdate3/sametexth.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /pylupdate3/sametexth.cpp
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'pylupdate3/sametexth.cpp')
-rw-r--r--pylupdate3/sametexth.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pylupdate3/sametexth.cpp b/pylupdate3/sametexth.cpp
index 1ee869f..53e1fa7 100644
--- a/pylupdate3/sametexth.cpp
+++ b/pylupdate3/sametexth.cpp
@@ -3,7 +3,7 @@
**
** sametexth.cpp
**
-** 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.
@@ -19,8 +19,8 @@
#include <metatranslator.h>
-typedef QMap<QCString, MetaTranslatorMessage> TMM;
-typedef QValueList<MetaTranslatorMessage> TML;
+typedef TQMap<TQCString, MetaTranslatorMessage> TMM;
+typedef TQValueList<MetaTranslatorMessage> TML;
/*
Augments a MetaTranslator with trivially derived translations.
@@ -45,7 +45,7 @@ void applySameTextHeuristic( MetaTranslator *tor, bool verbose )
if ( (*it).translation().isEmpty() )
untranslated.append( *it );
} else {
- QCString key = (*it).sourceText();
+ TQCString key = (*it).sourceText();
t = translated.find( key );
if ( t != translated.end() ) {
/*
@@ -63,7 +63,7 @@ void applySameTextHeuristic( MetaTranslator *tor, bool verbose )
}
for ( u = untranslated.begin(); u != untranslated.end(); ++u ) {
- QCString key = (*u).sourceText();
+ TQCString key = (*u).sourceText();
t = translated.find( key );
if ( t != translated.end() ) {
MetaTranslatorMessage m( *u );