diff options
Diffstat (limited to 'kspread/KSpreadCellIface.cpp')
-rw-r--r-- | kspread/KSpreadCellIface.cpp | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/kspread/KSpreadCellIface.cpp b/kspread/KSpreadCellIface.cpp index 4188a1e4..7d413b84 100644 --- a/kspread/KSpreadCellIface.cpp +++ b/kspread/KSpreadCellIface.cpp @@ -600,17 +600,17 @@ void CellIface::setLeftBorderStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setLeftBorderStyle(Qt::DotLine); + cell->format()->setLeftBorderStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setLeftBorderStyle(Qt::DashLine); + cell->format()->setLeftBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setLeftBorderStyle(Qt::DashDotLine); + cell->format()->setLeftBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setLeftBorderStyle(Qt::DashDotDotLine); + cell->format()->setLeftBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setLeftBorderStyle(Qt::SolidLine); + cell->format()->setLeftBorderStyle(TQt::SolidLine); else - cell->format()->setLeftBorderStyle(Qt::SolidLine); + cell->format()->setLeftBorderStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -661,7 +661,7 @@ TQString CellIface::leftBorderStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->leftBorderStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->leftBorderStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; @@ -684,17 +684,17 @@ void CellIface::setRightBorderStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setRightBorderStyle(Qt::DotLine); + cell->format()->setRightBorderStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setRightBorderStyle(Qt::DashLine); + cell->format()->setRightBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setRightBorderStyle(Qt::DashDotLine); + cell->format()->setRightBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setRightBorderStyle(Qt::DashDotDotLine); + cell->format()->setRightBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setRightBorderStyle(Qt::SolidLine); + cell->format()->setRightBorderStyle(TQt::SolidLine); else - cell->format()->setRightBorderStyle(Qt::SolidLine); + cell->format()->setRightBorderStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -744,7 +744,7 @@ TQString CellIface::rightBorderStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->rightBorderStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->rightBorderStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; @@ -767,17 +767,17 @@ void CellIface::setTopBorderStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setTopBorderStyle(Qt::DotLine); + cell->format()->setTopBorderStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setTopBorderStyle(Qt::DashLine); + cell->format()->setTopBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setTopBorderStyle(Qt::DashDotLine); + cell->format()->setTopBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setTopBorderStyle(Qt::DashDotDotLine); + cell->format()->setTopBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setTopBorderStyle(Qt::SolidLine); + cell->format()->setTopBorderStyle(TQt::SolidLine); else - cell->format()->setTopBorderStyle(Qt::SolidLine); + cell->format()->setTopBorderStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -826,7 +826,7 @@ TQString CellIface::topBorderStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->topBorderStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->topBorderStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; @@ -849,17 +849,17 @@ void CellIface::setBottomBorderStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setBottomBorderStyle(Qt::DotLine); + cell->format()->setBottomBorderStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setBottomBorderStyle(Qt::DashLine); + cell->format()->setBottomBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setBottomBorderStyle(Qt::DashDotLine); + cell->format()->setBottomBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setBottomBorderStyle(Qt::DashDotDotLine); + cell->format()->setBottomBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setBottomBorderStyle(Qt::SolidLine); + cell->format()->setBottomBorderStyle(TQt::SolidLine); else - cell->format()->setBottomBorderStyle(Qt::SolidLine); + cell->format()->setBottomBorderStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -908,7 +908,7 @@ TQString CellIface::bottomBorderStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->bottomBorderStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->bottomBorderStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; @@ -931,17 +931,17 @@ void CellIface::setFallDiagonalStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setFallDiagonalStyle(Qt::DotLine); + cell->format()->setFallDiagonalStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setFallDiagonalStyle(Qt::DashLine); + cell->format()->setFallDiagonalStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setFallDiagonalStyle(Qt::DashDotLine); + cell->format()->setFallDiagonalStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setFallDiagonalStyle(Qt::DashDotDotLine); + cell->format()->setFallDiagonalStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setFallDiagonalStyle(Qt::SolidLine); + cell->format()->setFallDiagonalStyle(TQt::SolidLine); else - cell->format()->setFallDiagonalStyle(Qt::SolidLine); + cell->format()->setFallDiagonalStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -990,7 +990,7 @@ TQString CellIface::fallDiagonalStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->fallDiagonalStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->fallDiagonalStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; @@ -1014,17 +1014,17 @@ void CellIface::setGoUpDiagonalStyle( const TQString& _style ) if( !m_sheet ) return; Cell* cell = m_sheet->nonDefaultCell( m_point.x(), m_point.y() ); if(_style=="DotLine") - cell->format()->setGoUpDiagonalStyle(Qt::DotLine); + cell->format()->setGoUpDiagonalStyle(TQt::DotLine); else if(_style=="DashLine") - cell->format()->setGoUpDiagonalStyle(Qt::DashLine); + cell->format()->setGoUpDiagonalStyle(TQt::DashLine); else if(_style=="DashDotLine") - cell->format()->setGoUpDiagonalStyle(Qt::DashDotLine); + cell->format()->setGoUpDiagonalStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - cell->format()->setGoUpDiagonalStyle(Qt::DashDotDotLine); + cell->format()->setGoUpDiagonalStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - cell->format()->setGoUpDiagonalStyle(Qt::SolidLine); + cell->format()->setGoUpDiagonalStyle(TQt::SolidLine); else - cell->format()->setGoUpDiagonalStyle(Qt::SolidLine); + cell->format()->setGoUpDiagonalStyle(TQt::SolidLine); m_sheet->setRegionPaintDirty(cell->cellRect()); } @@ -1073,7 +1073,7 @@ TQString CellIface::goUpDiagonalStyle() const { if( !m_sheet ) return TQString(); Cell* cell = m_sheet->cellAt( m_point ); - Qt::PenStyle penStyle=cell->format()->goUpDiagonalStyle( m_point.x(), m_point.y() ); + TQt::PenStyle penStyle=cell->format()->goUpDiagonalStyle( m_point.x(), m_point.y() ); TQString tmp; if( penStyle==TQt::DotLine) tmp="DotLine"; |