summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoXmlReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoXmlReader.cpp')
-rw-r--r--lib/kofficecore/KoXmlReader.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/KoXmlReader.cpp b/lib/kofficecore/KoXmlReader.cpp
index 371b4d29..52e6d8ae 100644
--- a/lib/kofficecore/KoXmlReader.cpp
+++ b/lib/kofficecore/KoXmlReader.cpp
@@ -421,7 +421,7 @@ TQString KoXmlNodeData::attribute( const TQString& name )
bool KoXmlNodeData::hasAttribute( const TQString& name )
{
- return attr.tqcontains( name );
+ return attr.contains( name );
}
void KoXmlNodeData::setAttributeNS( const TQString& nsURI,
@@ -429,7 +429,7 @@ const TQString& name, const TQString& value )
{
TQString prefix;
TQString localName = name;
- int i = name.tqfind( ':' );
+ int i = name.find( ':' );
if( i != -1 )
{
localName = name.mid( i + 1 );
@@ -451,7 +451,7 @@ TQString KoXmlNodeData::attributeNS( const TQString& nsURI, const TQString& name
bool KoXmlNodeData::hasAttributeNS( const TQString& nsURI, const TQString& name )
{
DTQString key( nsURI, name );
- return attrNS.tqcontains( key );
+ return attrNS.contains( key );
}
TQString KoXmlNodeData::data() const
@@ -665,7 +665,7 @@ const TQString& name, const TQXmlAttributes& atts )
nodeTagName = name;
nodeLocalName = name;
nodePrefix = nsURI.isNull() ? TQString() : TQString("");
- int i = name.tqfind( ':' );
+ int i = name.find( ':' );
if( i != -1 )
{
nodeTagName = name.mid( i + 1 );
@@ -695,7 +695,7 @@ const TQString& name, const TQXmlAttributes& atts )
TQString name; // without prefix, i.e. local name
name = qName = atts.qName(c);
- int i = qName.tqfind( ':' );
+ int i = qName.find( ':' );
if( i != -1 ) prefix = qName.left( i );
if( i != -1 ) name = qName.mid( i + 1 );
element->setAttributeNS( atts.uri(c), qName, atts.value(c) );
@@ -720,7 +720,7 @@ const TQString& name, const TQXmlAttributes& atts )
{
TQString prefix;
TQString name = atts.qName(c); // qName contains the prefix
- int i = name.tqfind( ':' );
+ int i = name.find( ':' );
if( i != -1 ) prefix = name.left( i );
if( i != -1 ) name = atts.qName(c).mid( i + 1 );
if( !atts.uri(c).isEmpty() )