diff options
Diffstat (limited to 'kspread/manipulator.cc')
-rw-r--r-- | kspread/manipulator.cc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kspread/manipulator.cc b/kspread/manipulator.cc index 31a33a0f..5d501798 100644 --- a/kspread/manipulator.cc +++ b/kspread/manipulator.cc @@ -250,7 +250,7 @@ FormatManipulator::FormatManipulator() FormatManipulator::~FormatManipulator() { - TQValueList<tqlayoutCell>::Iterator it2; + TQValueList<layoutCell>::Iterator it2; for ( it2 = m_lstFormats.begin(); it2 != m_lstFormats.end(); ++it2 ) { delete (*it2).l; @@ -263,7 +263,7 @@ FormatManipulator::~FormatManipulator() } m_lstRedoFormats.clear(); - TQValueList<tqlayoutColumn>::Iterator it3; + TQValueList<layoutColumn>::Iterator it3; for ( it3 = m_lstColFormats.begin(); it3 != m_lstColFormats.end(); ++it3 ) { delete (*it3).l; @@ -276,7 +276,7 @@ FormatManipulator::~FormatManipulator() } m_lstRedoColFormats.clear(); - TQValueList<tqlayoutRow>::Iterator it4; + TQValueList<layoutRow>::Iterator it4; for ( it4 = m_lstRowFormats.begin(); it4 != m_lstRowFormats.end(); ++it4 ) { delete (*it4).l; @@ -391,7 +391,7 @@ bool FormatManipulator::process (Element *element) { // undoing if( element->isColumn() ) { - TQValueList<tqlayoutColumn>::Iterator it2; + TQValueList<layoutColumn>::Iterator it2; for ( it2 = m_lstColFormats.begin(); it2 != m_lstColFormats.end(); ++it2 ) { ColumnFormat * col = m_sheet->nonDefaultColumnFormat( (*it2).col ); @@ -400,7 +400,7 @@ bool FormatManipulator::process (Element *element) } else if( element->isRow() ) { - TQValueList<tqlayoutRow>::Iterator it2; + TQValueList<layoutRow>::Iterator it2; for ( it2 = m_lstRowFormats.begin(); it2 != m_lstRowFormats.end(); ++it2 ) { RowFormat * row = m_sheet->nonDefaultRowFormat( (*it2).row ); @@ -408,7 +408,7 @@ bool FormatManipulator::process (Element *element) } } - TQValueList<tqlayoutCell>::Iterator it2; + TQValueList<layoutCell>::Iterator it2; for ( it2 = m_lstFormats.begin(); it2 != m_lstFormats.end(); ++it2 ) { Cell *cell = m_sheet->nonDefaultCell( (*it2).col,(*it2).row ); @@ -421,12 +421,12 @@ bool FormatManipulator::process (Element *element) return true; } -void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, - TQValueList<tqlayoutColumn> & listCol, - TQValueList<tqlayoutRow> & listRow) +void FormatManipulator::copyFormat(TQValueList<layoutCell> & list, + TQValueList<layoutColumn> & listCol, + TQValueList<layoutRow> & listRow) { - TQValueList<tqlayoutCell>::Iterator end = list.end(); - for (TQValueList<tqlayoutCell>::Iterator it2 = list.begin(); it2 != end; ++it2) + TQValueList<layoutCell>::Iterator end = list.end(); + for (TQValueList<layoutCell>::Iterator it2 = list.begin(); it2 != end; ++it2) { delete (*it2).l; } @@ -445,7 +445,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, /* Don't need to go through the loop twice... for (int i = range.left(); i <= right; ++i) { - tqlayoutColumn tmptqlayout; + layoutColumn tmptqlayout; tmptqlayout.col = i; tmptqlayout.l = new ColumnFormat( m_sheet, i ); tmptqlayout.l->copy( *(m_sheet->columnFormat( i )) ); @@ -454,7 +454,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, */ for ( int col = range.left(); col <= right; ++col ) { - tqlayoutColumn tmptqlayout; + layoutColumn tmptqlayout; tmptqlayout.col = col; tmptqlayout.l = new ColumnFormat( m_sheet, col ); tmptqlayout.l->copy( *(m_sheet->columnFormat( col )) ); @@ -469,7 +469,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, continue; } - tqlayoutCell tmptqlayout; + layoutCell tmptqlayout; tmptqlayout.col = col; tmptqlayout.row = cell->row(); tmptqlayout.l = new Format( m_sheet, 0 ); @@ -487,7 +487,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, if ( range.left() <= col && right >= col && !cell->isPartOfMerged()) { - tqlayoutCell tmptqlayout; + layoutCell tmptqlayout; tmptqlayout.col = cell->column(); tmptqlayout.row = cell->row(); tmptqlayout.l = new Format( m_sheet, 0 ); @@ -501,7 +501,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, { for ( int row = range.top(); row <= bottom; ++row ) { - tqlayoutRow tmptqlayout; + layoutRow tmptqlayout; tmptqlayout.row = row; tmptqlayout.l = new RowFormat( m_sheet, row ); tmptqlayout.l->copy( *(m_sheet->rowFormat( row )) ); @@ -515,7 +515,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, cell = m_sheet->getNextCellRight( cell->column(), row ); continue; } - tqlayoutCell tmptqlayout; + layoutCell tmptqlayout; tmptqlayout.col = cell->column(); tmptqlayout.row = row; tmptqlayout.l = new Format( m_sheet, 0 ); @@ -533,7 +533,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, if ( range.top() <= row && bottom >= row && !cell->isPartOfMerged()) { - tqlayoutCell tmptqlayout; + layoutCell tmptqlayout; tmptqlayout.col = cell->column(); tmptqlayout.row = cell->row(); tmptqlayout.l = new Format( m_sheet, 0 ); @@ -551,7 +551,7 @@ void FormatManipulator::copyFormat(TQValueList<tqlayoutCell> & list, Cell * cell = m_sheet->nonDefaultCell( col, row ); if ( !cell->isPartOfMerged() ) { - tqlayoutCell tmptqlayout; + layoutCell tmptqlayout; tmptqlayout.col = col; tmptqlayout.row = row; tmptqlayout.l = new Format( m_sheet, 0 ); |