summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/parser.cpp')
-rw-r--r--kode/kwsdl/parser.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kode/kwsdl/parser.cpp b/kode/kwsdl/parser.cpp
index 49f77eca4..b8512490b 100644
--- a/kode/kwsdl/parser.cpp
+++ b/kode/kwsdl/parser.cpp
@@ -27,7 +27,7 @@ using namespace KWSDL;
static TQString sns( const TQString &str )
{
- int pos = str.find( ':' );
+ int pos = str.tqfind( ':' );
if ( pos != -1 )
return str.mid( pos + 1 );
else
@@ -94,9 +94,9 @@ void Parser::parse( const TQDomElement &root )
}
}
-void Parser::parseTypes( const TQDomElement &parent )
+void Parser::parseTypes( const TQDomElement &tqparent )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -108,9 +108,9 @@ void Parser::parseTypes( const TQDomElement &parent )
}
}
-void Parser::parseMessage( const TQDomElement &parent, Message &message )
+void Parser::parseMessage( const TQDomElement &tqparent, Message &message )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -130,9 +130,9 @@ void Parser::parseMessage( const TQDomElement &parent, Message &message )
}
}
-void Parser::parsePortType( const TQDomElement &parent, Port &port )
+void Parser::parsePortType( const TQDomElement &tqparent, Port &port )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -161,11 +161,11 @@ void Parser::parsePortType( const TQDomElement &parent, Port &port )
}
}
-void Parser::parseBinding( const TQDomElement &parent )
+void Parser::parseBinding( const TQDomElement &tqparent )
{
- Binding binding( sns( parent.attribute( "name" ) ), sns( parent.attribute( "type" ) ) );
+ Binding binding( sns( tqparent.attribute( "name" ) ), sns( tqparent.attribute( "type" ) ) );
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {
@@ -216,9 +216,9 @@ void Parser::parseBinding( const TQDomElement &parent )
mBindings.append( binding );
}
-void Parser::parseService( const TQDomElement &parent )
+void Parser::parseService( const TQDomElement &tqparent )
{
- TQDomNode node = parent.firstChild();
+ TQDomNode node = tqparent.firstChild();
while ( !node.isNull() ) {
TQDomElement element = node.toElement();
if ( !element.isNull() ) {