diff options
Diffstat (limited to 'kig/filters/native-filter.cc')
-rw-r--r-- | kig/filters/native-filter.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/filters/native-filter.cc b/kig/filters/native-filter.cc index 3afaf0e1..d3323778 100644 --- a/kig/filters/native-filter.cc +++ b/kig/filters/native-filter.cc @@ -316,13 +316,13 @@ KigDocument* KigFilterNative::load04( const TQString& file, const TQDomElement& }; if ( i->parents.size() != 1 ) KIG_FILTER_PARSE_ERROR; - ObjectCalcer* tqparent = retcalcers[i->parents[0] -1]; - QCStringList propnames = tqparent->imp()->propertiesInternalNames(); + ObjectCalcer* parent = retcalcers[i->parents[0] -1]; + QCStringList propnames = parent->imp()->propertiesInternalNames(); int propid = propnames.findIndex( propname ); if ( propid == -1 ) KIG_FILTER_PARSE_ERROR; - o = new ObjectPropertyCalcer( tqparent, propid ); + o = new ObjectPropertyCalcer( parent, propid ); } else if ( e.tagName() == "Object" ) { @@ -443,9 +443,9 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement& uint parentid = tmp.toInt( &ok ); if ( ! ok ) KIG_FILTER_PARSE_ERROR; if ( parentid == 0 || parentid > calcers.size() ) KIG_FILTER_PARSE_ERROR; - ObjectCalcer* tqparent = calcers[parentid - 1].get(); - if ( ! tqparent ) KIG_FILTER_PARSE_ERROR; - parents.push_back( tqparent ); + ObjectCalcer* parent = calcers[parentid - 1].get(); + if ( ! parent ) KIG_FILTER_PARSE_ERROR; + parents.push_back( parent ); } ObjectCalcer* o = 0; @@ -468,11 +468,11 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement& if ( parents.size() != 1 ) KIG_FILTER_PARSE_ERROR; TQCString propname = e.attribute( "which" ).latin1(); - ObjectCalcer* tqparent = parents[0]; - int propid = tqparent->imp()->propertiesInternalNames().findIndex( propname ); + ObjectCalcer* parent = parents[0]; + int propid = parent->imp()->propertiesInternalNames().findIndex( propname ); if ( propid == -1 ) KIG_FILTER_PARSE_ERROR; - o = new ObjectPropertyCalcer( tqparent, propid ); + o = new ObjectPropertyCalcer( parent, propid ); } else if ( e.tagName() == "Object" ) { @@ -604,7 +604,7 @@ bool KigFilterNative::save07( const KigDocument& kdoc, TQTextStream& stream ) const ObjectPropertyCalcer* o = static_cast<const ObjectPropertyCalcer*>( *i ); objectelem = doc.createElement( "Property" ); - TQCString propname = o->tqparent()->imp()->propertiesInternalNames()[o->propId()]; + TQCString propname = o->parent()->imp()->propertiesInternalNames()[o->propId()]; objectelem.setAttribute( TQString("which"), TQString(propname) ); } else if ( dynamic_cast<const ObjectTypeCalcer*>( *i ) ) |