summaryrefslogtreecommitdiffstats
path: root/kode/printer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kode/printer.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/printer.cpp')
-rw-r--r--kode/printer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kode/printer.cpp b/kode/printer.cpp
index 761823dd3..6f36d30eb 100644
--- a/kode/printer.cpp
+++ b/kode/printer.cpp
@@ -328,7 +328,7 @@ void Printer::printHeader( const File &f )
// Create include guard
TQString className = f.filename();
- className.tqreplace( "-", "_" );
+ className.replace( "-", "_" );
TQString includeGuard;
if ( !f.nameSpace().isEmpty() ) includeGuard += f.nameSpace().upper() + "_";
@@ -348,7 +348,7 @@ void Printer::printHeader( const File &f )
TQStringList includes = (*it).headerIncludes();
TQStringList::ConstIterator it2;
for( it2 = includes.begin(); it2 != includes.end(); ++it2 ) {
- if ( processed.tqfind( *it2 ) == processed.end() ) {
+ if ( processed.find( *it2 ) == processed.end() ) {
out += "#include <" + *it2 + ">";
processed.append( *it2 );
}
@@ -363,7 +363,7 @@ void Printer::printHeader( const File &f )
TQStringList decls = (*it).forwardDeclarations();
TQStringList::ConstIterator it2;
for( it2 = decls.begin(); it2 != decls.end(); ++it2 ) {
- if ( processed.tqfind( *it2 ) == processed.end() ) {
+ if ( processed.find( *it2 ) == processed.end() ) {
out += "class " + *it2 + ";";
processed.append( *it2 );
}
@@ -443,7 +443,7 @@ void Printer::printImplementation( const File &f, bool createHeaderInclude )
TQStringList includes = (*it).includes();
TQStringList::ConstIterator it2;
for( it2 = includes.begin(); it2 != includes.end(); ++it2 ) {
- if ( processed.tqfind( *it2 ) == processed.end() ) {
+ if ( processed.find( *it2 ) == processed.end() ) {
out += "#include <" + *it2 + ">";
processed.append( *it2 );
}