diff options
Diffstat (limited to 'karbon/core/vdashpattern.cc')
-rw-r--r-- | karbon/core/vdashpattern.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/karbon/core/vdashpattern.cc b/karbon/core/vdashpattern.cc index e758e824..cc167584 100644 --- a/karbon/core/vdashpattern.cc +++ b/karbon/core/vdashpattern.cc @@ -17,7 +17,7 @@ * Boston, MA 02110-1301, USA. */ -#include <qdom.h> +#include <tqdom.h> #include "vdashpattern.h" @@ -27,19 +27,19 @@ VDashPattern::VDashPattern( double offset ) } void -VDashPattern::save( QDomElement& element ) const +VDashPattern::save( TQDomElement& element ) const { if( m_array.size() != 0 ) { - QDomElement me = element.ownerDocument().createElement( "DASHPATTERN" ); + TQDomElement me = element.ownerDocument().createElement( "DASHPATTERN" ); element.appendChild( me ); if( m_offset != 0.0 ) me.setAttribute( "offset", m_offset ); - QDomElement dash; + TQDomElement dash; - QValueListConstIterator<float> itr; + TQValueListConstIterator<float> itr; for( itr = m_array.begin(); itr != m_array.end(); ++itr ) { dash = element.ownerDocument().createElement( "DASH" ); @@ -50,18 +50,18 @@ VDashPattern::save( QDomElement& element ) const } void -VDashPattern::load( const QDomElement& element ) +VDashPattern::load( const TQDomElement& element ) { m_offset = element.attribute( "offset", "0.0" ).toDouble(); float value; - QDomNodeList list = element.childNodes(); + TQDomNodeList list = element.childNodes(); for( uint i = 0; i < list.count(); ++i ) { if( list.item( i ).isElement() ) { - QDomElement e = list.item( i ).toElement(); + TQDomElement e = list.item( i ).toElement(); if( e.tagName() == "DASH" ) { value = e.attribute( "l", "0.0" ).toFloat(); |