diff options
Diffstat (limited to 'kspread/kspread_cell.cc')
-rw-r--r-- | kspread/kspread_cell.cc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kspread/kspread_cell.cc b/kspread/kspread_cell.cc index 0cbda2b4..0c5de5e6 100644 --- a/kspread/kspread_cell.cc +++ b/kspread/kspread_cell.cc @@ -486,7 +486,7 @@ void Cell::setValue( const Value& v ) clearAllErrors(); //If the value has not changed then we don't need to do anything - //(ie. no need to retqlayout, update dependant cells etc.), + //(ie. no need to relayout, update dependant cells etc.), //unless this cell contains a formula, in which case its dependancies might have changed //even though the value has not. For example, if this cell was previously empty (and its value is //therefore empty) and a new dependency upon an empty cell has been added. The new value would still @@ -697,7 +697,7 @@ void Cell::mergeCells( int _col, int _row, int _x, int _y ) d->extra()->mergedYCells = 0; } - // Refresh the tqlayout + // Refresh the layout setFlag( Flag_LayoutDirty ); return; } @@ -717,7 +717,7 @@ void Cell::mergeCells( int _col, int _row, int _x, int _y ) } } - // Refresh the tqlayout + // Refresh the layout setFlag( Flag_LayoutDirty ); } @@ -1204,7 +1204,7 @@ void Cell::freeAllObscuredCells() // Layout -// Recalculate the entire tqlayout. This includes the following members: +// Recalculate the entire layout. This includes the following members: // // d->textX, d->textY // d->textWidth, d->textHeight @@ -1222,11 +1222,11 @@ void Cell::makeLayout( TQPainter &_painter, int _col, int _row ) { // Are _col and _row really needed ? // - // Yes they are: they are useful if this is the default tqlayout, in + // Yes they are: they are useful if this is the default layout, in // which case d->row and d->column are 0 and 0, but _col and _row // are the real coordinates of the cell. - // There is no need to remake the tqlayout if it hasn't changed. + // There is no need to remake the layout if it hasn't changed. if ( !testFlag( Flag_LayoutDirty ) ) return; @@ -1244,7 +1244,7 @@ void Cell::makeLayout( TQPainter &_painter, int _col, int _row ) d->extra()->mergedXCells, d->extra()->mergedYCells ); // If the column for this cell is hidden or the row is too low, - // there is no use in remaking the tqlayout. + // there is no use in remaking the layout. ColumnFormat *cl1 = format()->sheet()->columnFormat( _col ); RowFormat *rl1 = format()->sheet()->rowFormat( _row ); if ( cl1->isHide() @@ -1597,11 +1597,11 @@ void Cell::setOutputText() return; } - // If nothing has changed, we don't need to remake the text tqlayout. + // If nothing has changed, we don't need to remake the text layout. if ( !testFlag(Flag_TextFormatDirty) ) return; - // We don't want to remake the tqlayout unnecessarily. + // We don't want to remake the layout unnecessarily. clearFlag( Flag_TextFormatDirty ); // Display a formula if warranted. If not, display the value instead; @@ -2193,7 +2193,7 @@ void Cell::paintCell( const KoRect &rect, TQPainter & painter, double width = width0; double height = height0; - // Handle right-to-left tqlayout. + // Handle right-to-left layout. // In an RTL sheet the cells have to be painted at their opposite horizontal // location on the canvas, meaning that column A will be the rightmost column // on screen, column B will be to the left of it and so on. Here we change @@ -2257,10 +2257,10 @@ void Cell::paintCell( const KoRect &rect, TQPainter & painter, selected = false; } - // Need to make a new tqlayout ? + // Need to make a new layout ? // // FIXME: We have already used (at least) extraWidth/Height above, - // and now we are recalculating the tqlayout. This has to be + // and now we are recalculating the layout. This has to be // moved up above all uses. // // FIXME: This needs to be taken out eventually - it is done in @@ -2686,7 +2686,7 @@ void Cell::paintBackground( TQPainter& painter, const KoRect &cellRect, const TQPoint &cellRef, bool selected, TQColor &backgroundColor ) { - TQColorGroup defaultColorGroup = TQApplication::tqpalette().active(); + TQColorGroup defaultColorGroup = TQApplication::palette().active(); TQRect zoomedCellRect = sheet()->doc()->zoomRect( cellRect ); // If this is not the KS_rowMax and/or KS_colMax, then we reduce @@ -3175,7 +3175,7 @@ void Cell::paintText( TQPainter& painter, ColumnFormat *colFormat = format()->sheet()->columnFormat( cellRef.x() ); - TQColorGroup defaultColorGroup = TQApplication::tqpalette().active(); + TQColorGroup defaultColorGroup = TQApplication::palette().active(); TQColor textColorPrint = effTextColor( cellRef.x(), cellRef.y() ); // Resolve the text color if invalid (=default). @@ -3183,7 +3183,7 @@ void Cell::paintText( TQPainter& painter, if ( painter.device()->isExtDev() ) textColorPrint = TQt::black; else - textColorPrint = TQApplication::tqpalette().active().text(); + textColorPrint = TQApplication::palette().active().text(); } TQPen tmpPen( textColorPrint ); @@ -3209,7 +3209,7 @@ void Cell::paintText( TQPainter& painter, // Check for blue color, for hyperlink. if ( !link().isEmpty() ) { - tmpPen.setColor( TQApplication::tqpalette().active().link() ); + tmpPen.setColor( TQApplication::palette().active().link() ); TQFont f = painter.font(); f.setUnderline( true ); painter.setFont( f ); @@ -4704,7 +4704,7 @@ TQString Cell::link() const void Cell::update() { - /* those obscuring us need to redo their tqlayout cause they can't obscure us + /* those obscuring us need to redo their layout cause they can't obscure us now that we've got text. This includes cells obscuring cells that we are obscuring */ |