From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- filters/kspread/opencalc/opencalcexport.cc | 48 ++++++++++++------------- filters/kspread/opencalc/opencalcexport.h | 6 ++-- filters/kspread/opencalc/opencalcimport.cc | 10 +++--- filters/kspread/opencalc/opencalcimport.h | 2 +- filters/kspread/opencalc/opencalcstyleexport.cc | 2 +- 5 files changed, 34 insertions(+), 34 deletions(-) (limited to 'filters/kspread/opencalc') diff --git a/filters/kspread/opencalc/opencalcexport.cc b/filters/kspread/opencalc/opencalcexport.cc index 6a0376f4..9e37597c 100644 --- a/filters/kspread/opencalc/opencalcexport.cc +++ b/filters/kspread/opencalc/opencalcexport.cc @@ -402,7 +402,7 @@ bool OpenCalcExport::exportContent( KoStore * store, const Doc * ksdoc ) return true; } -void exportNamedExpr( TQDomDocument & doc, TQDomElement & tqparent, +void exportNamedExpr( TQDomDocument & doc, TQDomElement & parent, AreaList const & namedAreas ) { AreaList::const_iterator it = namedAreas.begin(); @@ -418,7 +418,7 @@ void exportNamedExpr( TQDomDocument & doc, TQDomElement & tqparent, namedRange.setAttribute( "table:base-cell-address", convertRefToBase( ref.sheet_name, ref.rect ) ); namedRange.setAttribute( "table:cell-range-address", convertRefToRange( ref.sheet_name, ref.rect ) ); - tqparent.appendChild( namedRange ); + parent.appendChild( namedRange ); ++it; } @@ -1026,14 +1026,14 @@ void OpenCalcExport::exportMasterStyles( TQDomDocument & doc, TQDomElement & mas } void OpenCalcExport::addText( TQString const & text, TQDomDocument & doc, - TQDomElement & tqparent ) + TQDomElement & parent ) { if (text.length() > 0 ) - tqparent.appendChild( doc.createTextNode( text ) ); + parent.appendChild( doc.createTextNode( text ) ); } void OpenCalcExport::convertPart( TQString const & part, TQDomDocument & doc, - TQDomElement & tqparent, const Doc * ksdoc ) + TQDomElement & parent, const Doc * ksdoc ) { TQString text; TQString var; @@ -1052,54 +1052,54 @@ void OpenCalcExport::convertPart( TQString const & part, TQDomDocument & doc, inVar = false; if ( var == "" ) { - addText( text, doc, tqparent ); + addText( text, doc, parent ); TQDomElement page = doc.createElement( "text:page-number" ); page.appendChild( doc.createTextNode( "1" ) ); - tqparent.appendChild( page ); + parent.appendChild( page ); } else if ( var == "" ) { - addText( text, doc, tqparent ); + addText( text, doc, parent ); TQDomElement page = doc.createElement( "text:page-count" ); page.appendChild( doc.createTextNode( "99" ) ); - tqparent.appendChild( page ); + parent.appendChild( page ); } else if ( var == "" ) { - addText( text, doc, tqparent ); + addText( text, doc, parent ); TQDomElement t = doc.createElement( "text:date" ); t.setAttribute( "text:date-value", "0-00-00" ); // todo: "style:data-style-name", "N2" t.appendChild( doc.createTextNode( TQDate::tqcurrentDate().toString() ) ); - tqparent.appendChild( t ); + parent.appendChild( t ); } else if ( var == "