diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | eb570158698cf61dad4f77d950ef908160f6c3cc (patch) | |
tree | 649bf182bcf0a20bed5035d25ffd77de5aee138a /kig/filters/kgeo-filter.cc | |
parent | d8762de95349dc6edaa34db9bf699b367c1af6b1 (diff) | |
download | tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.tar.gz tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/filters/kgeo-filter.cc')
-rw-r--r-- | kig/filters/kgeo-filter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/filters/kgeo-filter.cc b/kig/filters/kgeo-filter.cc index 2405e46b..8d37a871 100644 --- a/kig/filters/kgeo-filter.cc +++ b/kig/filters/kgeo-filter.cc @@ -111,10 +111,10 @@ KigDocument* KigFilterKGeo::loadObjects( const TQString& file, KSimpleConfig* c c->setGroup("Main"); int number = c->readNumEntry ("Number"); - // first we determine the tqparent relationships, and sort the + // first we determine the parent relationships, and sort the // elements in an order that we can be sure all of an object's // parents will have been handled before it is handled itself.. - // ( aka topological sort of the tqparent relations graph.. + // ( aka topological sort of the parent relations graph.. std::vector<KGeoHierarchyElement> elems; elems.reserve( number ); @@ -128,9 +128,9 @@ KigDocument* KigFilterKGeo::loadObjects( const TQString& file, KSimpleConfig* c TQStrList parents; c->readListEntry( "Parents", parents ); elems.push_back( elem ); - for ( const char* tqparent = parents.first(); tqparent; tqparent = parents.next() ) + for ( const char* parent = parents.first(); parent; parent = parents.next() ) { - int parentIndex = TQString::tqfromLatin1( tqparent ).toInt( &ok ); + int parentIndex = TQString::tqfromLatin1( parent ).toInt( &ok ); if ( ! ok ) KIG_FILTER_PARSE_ERROR; if ( parentIndex != 0 ) elems[i].parents.push_back( parentIndex - 1 ); |