summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler
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/kxml_compiler
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/kxml_compiler')
-rw-r--r--kode/kxml_compiler/creator.cpp4
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp4
-rw-r--r--kode/kxml_compiler/parser.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/kode/kxml_compiler/creator.cpp b/kode/kxml_compiler/creator.cpp
index 66dccccb..3d4983f9 100644
--- a/kode/kxml_compiler/creator.cpp
+++ b/kode/kxml_compiler/creator.cpp
@@ -137,7 +137,7 @@ void Creator::createClass( Element *element )
{
TQString className = upperFirst( element->name );
- if ( mProcessedClasses.tqfind( className ) != mProcessedClasses.end() ) {
+ if ( mProcessedClasses.find( className ) != mProcessedClasses.end() ) {
return;
}
@@ -621,7 +621,7 @@ void Creator::createElementParserDom( KODE::Class &c, Element *e )
void Creator::registerListTypedef( const TQString &type )
{
- if ( !mListTypedefs.tqcontains( type ) ) mListTypedefs.append( type );
+ if ( !mListTypedefs.contains( type ) ) mListTypedefs.append( type );
}
void Creator::createListTypedefs()
diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp
index a4f8178b..71720d6b 100644
--- a/kode/kxml_compiler/kxml_compiler.cpp
+++ b/kode/kxml_compiler/kxml_compiler.cpp
@@ -83,7 +83,7 @@ int main( int argc, char **argv )
TQString dtdFilename = args->url( 0 ).path();
TQString baseName = args->url( 0 ).fileName();
- int pos = baseName.tqfindRev( '.' );
+ int pos = baseName.findRev( '.' );
if ( pos > 0 ) baseName = baseName.left( pos );
@@ -143,7 +143,7 @@ int main( int argc, char **argv )
for( it = start->elements.begin(); it != start->elements.end(); ++it ) {
c.setExternalClassPrefix( c.upperFirst( (*it)->name ) );
c.createFileParser( *it );
- c.createFileWriter( *it, dtdFilename.tqreplace( "rng", "dtd" ) );
+ c.createFileWriter( *it, dtdFilename.replace( "rng", "dtd" ) );
}
c.createListTypedefs();
diff --git a/kode/kxml_compiler/parser.cpp b/kode/kxml_compiler/parser.cpp
index 3a0c7c3f..9a123581 100644
--- a/kode/kxml_compiler/parser.cpp
+++ b/kode/kxml_compiler/parser.cpp
@@ -97,10 +97,10 @@ Element *Parser::parse( const TQDomElement &docElement )
parseElement( e1, d, Pattern() );
Element::List definitions;
TQMap<TQString,Element::List >::ConstIterator it;
- it = mDefinitionMap.tqfind( d->name );
+ it = mDefinitionMap.find( d->name );
if ( it != mDefinitionMap.end() ) definitions = *it;
definitions.append( d );
- mDefinitionMap.tqreplace( d->name, definitions );
+ mDefinitionMap.replace( d->name, definitions );
} else if ( e1.tagName() == "start" ) {
start = new Element;
parseElement( e1, start, Pattern() );
@@ -192,7 +192,7 @@ void Parser::substituteReferences( Element *s )
r->substituted = true;
}
TQMap<TQString,Element::List >::ConstIterator it1;
- it1 = mDefinitionMap.tqfind( r->name );
+ it1 = mDefinitionMap.find( r->name );
if ( it1 != mDefinitionMap.end() ) {
Element::List elements = *it1;
Element::List::ConstIterator it4;