summaryrefslogtreecommitdiffstats
path: root/kbabel/filters/linguist/linguistexport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/filters/linguist/linguistexport.cpp')
-rw-r--r--kbabel/filters/linguist/linguistexport.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/filters/linguist/linguistexport.cpp b/kbabel/filters/linguist/linguistexport.cpp
index af0a3298..3b5bc5fc 100644
--- a/kbabel/filters/linguist/linguistexport.cpp
+++ b/kbabel/filters/linguist/linguistexport.cpp
@@ -24,11 +24,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -53,15 +53,15 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_linguistexport, KGenericFactory<LinguistExpor
using namespace KBabel;
-LinguistExportPlugin::LinguistExportPlugin( TQObject * parent, const char * name, const TQStringList& )
- : CatalogExportPlugin( parent, name )
+LinguistExportPlugin::LinguistExportPlugin( TQObject * tqparent, const char * name, const TQStringList& )
+ : CatalogExportPlugin( tqparent, name )
{
}
-ConversionStatus LinguistExportPlugin::save( const TQString& filename, const TQString&, const Catalog * catalog )
+ConversiontqStatus LinguistExportPlugin::save( const TQString& filename, const TQString&, const Catalog * catalog )
{
// Check whether we know how to handle the extra data.
- if ( catalog->importPluginID( ) != "Qt translation source" )
+ if ( catalog->importPluginID( ) != "TQt translation source" )
return UNSUPPORTED_TYPE;
TQFile file( filename );
@@ -76,7 +76,7 @@ ConversionStatus LinguistExportPlugin::save( const TQString& filename, const TQS
doc.appendChild( doc.createElement( "TS" ) );
// Create a default context just in case none is given in the messages.
- context = "Default"; // ### FIXME: Qt's default seems named "@default"
+ context = "Default"; // ### FIXME: TQt's default seems named "@default"
bool fuzzy;
@@ -123,17 +123,17 @@ const TQString LinguistExportPlugin::extractComment( TQDomDocument& doc, const T
* writing the comment for Linguist
*/
- int pos = comment.find("#, fuzzy");
+ int pos = comment.tqfind("#, fuzzy");
if ( pos >= 0) {
fuzzy = true;
comment.remove("#, fuzzy");
}
TQString newContext;
- pos = comment.find( '\n' );
+ pos = comment.tqfind( '\n' );
if ( pos >= 0 ) {
newContext = comment.left( pos );
- comment.replace( 0, pos + 1, "" ); // ### TODO: use TQString::remove
+ comment.tqreplace( 0, pos + 1, "" ); // ### TODO: use TQString::remove
} else {
newContext = comment;
comment = ""; // ### TODO: use TQString() instead of ""