summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kode/kxml_compiler
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/kxml_compiler')
-rw-r--r--kode/kxml_compiler/creator.cpp2
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp2
-rw-r--r--kode/kxml_compiler/parser.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kode/kxml_compiler/creator.cpp b/kode/kxml_compiler/creator.cpp
index 591265887..25e91edce 100644
--- a/kode/kxml_compiler/creator.cpp
+++ b/kode/kxml_compiler/creator.cpp
@@ -621,7 +621,7 @@ void Creator::createElementParserDom( KODE::Class &c, Element *e )
void Creator::registerListTypedef( const TQString &type )
{
- if ( !mListTypedefs.contains( type ) ) mListTypedefs.append( type );
+ if ( !mListTypedefs.tqcontains( type ) ) mListTypedefs.append( type );
}
void Creator::createListTypedefs()
diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp
index 71720d6b9..e2e529e22 100644
--- a/kode/kxml_compiler/kxml_compiler.cpp
+++ b/kode/kxml_compiler/kxml_compiler.cpp
@@ -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.replace( "rng", "dtd" ) );
+ c.createFileWriter( *it, dtdFilename.tqreplace( "rng", "dtd" ) );
}
c.createListTypedefs();
diff --git a/kode/kxml_compiler/parser.cpp b/kode/kxml_compiler/parser.cpp
index 9b3f33b99..59392ca84 100644
--- a/kode/kxml_compiler/parser.cpp
+++ b/kode/kxml_compiler/parser.cpp
@@ -100,7 +100,7 @@ Element *Parser::parse( const TQDomElement &docElement )
it = mDefinitionMap.find( d->name );
if ( it != mDefinitionMap.end() ) definitions = *it;
definitions.append( d );
- mDefinitionMap.replace( d->name, definitions );
+ mDefinitionMap.tqreplace( d->name, definitions );
} else if ( e1.tagName() == "start" ) {
start = new Element;
parseElement( e1, start, Pattern() );