diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kugar/lib | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kugar/lib')
-rw-r--r-- | kugar/lib/mreportengine.cpp | 20 | ||||
-rw-r--r-- | kugar/lib/mreportengine.h | 18 |
2 files changed, 19 insertions, 19 deletions
diff --git a/kugar/lib/mreportengine.cpp b/kugar/lib/mreportengine.cpp index 2263ba61..ca747b3e 100644 --- a/kugar/lib/mreportengine.cpp +++ b/kugar/lib/mreportengine.cpp @@ -689,7 +689,7 @@ void MReportEngine::recalcAttribute( const TQString& name, TQDomNamedNodeMap att } } -/** Walks the document tree, setting the report tqlayout */ +/** Walks the document tree, setting the report layout */ void MReportEngine::initTemplate() { heightOfDetails = 0; @@ -748,7 +748,7 @@ void MReportEngine::initTemplate() } } -/** Sets the main tqlayout attributes for the report */ +/** Sets the main layout attributes for the report */ void MReportEngine::setReportAttributes( TQDomNode* report ) { // Get the attributes for the report @@ -792,7 +792,7 @@ int MReportEngine::scaleDeltaHeight( int height ) const return f > 1 ? int( f + 0.5 ) : ceil( f ); } -/** Sets the tqlayout attributes for the given report section */ +/** Sets the layout attributes for the given report section */ void MReportEngine::setSectionAttributes( MReportSection* section, TQDomNode* report ) { // Get the attributes for the section @@ -852,7 +852,7 @@ void MReportEngine::setSectionAttributes( MReportSection* section, TQDomNode* re } } -/** Sets the tqlayout attributes for the detail headers and footers */ +/** Sets the layout attributes for the detail headers and footers */ void MReportEngine::setDetMiscAttributes( MReportSection* section, TQDomNode* report ) { // Get the attributes for the section @@ -866,7 +866,7 @@ void MReportEngine::setDetMiscAttributes( MReportSection* section, TQDomNode* re } -/** Sets the tqlayout attributes for the detail section */ +/** Sets the layout attributes for the detail section */ void MReportEngine::setDetailAttributes( TQDomNode* report ) { // Get the attributes for the detail section @@ -923,7 +923,7 @@ void MReportEngine::setDetailAttributes( TQDomNode* report ) details.append( detail ); } -/** Sets a line's tqlayout attributes */ +/** Sets a line's layout attributes */ void MReportEngine::setLineAttributes( MLineObject* line, TQDomNamedNodeMap* attr ) { line->setLine( scaleDeltaWidth( attr->namedItem( "X1" ).nodeValue().toInt() ), @@ -941,7 +941,7 @@ void MReportEngine::setLineAttributes( MLineObject* line, TQDomNamedNodeMap* att line->setStyle( attr->namedItem( "Style" ).nodeValue().toInt() ); } -/** Sets a label's tqlayout attributes */ +/** Sets a label's layout attributes */ void MReportEngine::setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap* attr ) { TQString tmp; @@ -986,7 +986,7 @@ void MReportEngine::setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap* label->setWordWrap( attr->namedItem( "WordWrap" ).nodeValue().toInt() == 0 ? false : true ); } -/** Sets a special field's tqlayout attributes */ +/** Sets a special field's layout attributes */ void MReportEngine::setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeMap* attr ) { field->setType( attr->namedItem( "Type" ).nodeValue().toInt() ); @@ -995,7 +995,7 @@ void MReportEngine::setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeM setLabelAttributes( ( MLabelObject * ) field, attr ); } -/** Sets a field's tqlayout attributes */ +/** Sets a field's layout attributes */ void MReportEngine::setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap* attr ) { field->setFieldName( attr->namedItem( "Field" ).nodeValue() ); @@ -1015,7 +1015,7 @@ void MReportEngine::setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap* setLabelAttributes( ( MLabelObject * ) field, attr ); } -/** Sets a calculated field's tqlayout attributes */ +/** Sets a calculated field's layout attributes */ void MReportEngine::setCalculatedFieldAttributes( MCalcObject* field, TQDomNamedNodeMap* attr ) { field->setCalculationType( attr->namedItem( "CalculationType" ).nodeValue().toInt() ); diff --git a/kugar/lib/mreportengine.h b/kugar/lib/mreportengine.h index aaf36107..846d0a3a 100644 --- a/kugar/lib/mreportengine.h +++ b/kugar/lib/mreportengine.h @@ -170,27 +170,27 @@ private: void initData(); void initTemplate(); - /** Sets the main tqlayout attributes for the report */ + /** Sets the main layout attributes for the report */ void setReportAttributes( TQDomNode* report ); int scaleDeltaWidth( int width ) const; int scaleDeltaHeight( int width ) const; - /** Sets the tqlayout attributes for the given report section */ + /** Sets the layout attributes for the given report section */ void setSectionAttributes( MReportSection* section, TQDomNode* report ); - /** Sets the tqlayout attributes for the detail headers and footers */ + /** Sets the layout attributes for the detail headers and footers */ void setDetMiscAttributes( MReportSection* section, TQDomNode* report ); - /** Sets the tqlayout attributes for the detail section */ + /** Sets the layout attributes for the detail section */ void setDetailAttributes( TQDomNode* report ); - /** Sets a line's tqlayout attributes */ + /** Sets a line's layout attributes */ void setLineAttributes( MLineObject* line, TQDomNamedNodeMap* attr ); - /** Sets a label's tqlayout attributes */ + /** Sets a label's layout attributes */ void setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap* attr ); - /** Sets a special field's tqlayout attributes */ + /** Sets a special field's layout attributes */ void setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeMap* attr ); - /** Sets a field's tqlayout attributes */ + /** Sets a field's layout attributes */ void setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap* attr ); - /** Sets a calculated field's tqlayout attributes */ + /** Sets a calculated field's layout attributes */ void setCalculatedFieldAttributes( MCalcObject* field, TQDomNamedNodeMap* attr ); /** Copies member data from one object to another. |