diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /kspread/KSpreadLayoutIface.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kspread/KSpreadLayoutIface.cpp')
-rw-r--r-- | kspread/KSpreadLayoutIface.cpp | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/kspread/KSpreadLayoutIface.cpp b/kspread/KSpreadLayoutIface.cpp index d3c5e1b7..efc28fca 100644 --- a/kspread/KSpreadLayoutIface.cpp +++ b/kspread/KSpreadLayoutIface.cpp @@ -195,17 +195,17 @@ void LayoutIface::setTextFontFamily( const TQString& _font ) void LayoutIface::setLeftBorderStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setLeftBorderStyle(Qt::DotLine); + layout->setLeftBorderStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setLeftBorderStyle(Qt::DashLine); + layout->setLeftBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setLeftBorderStyle(Qt::DashDotLine); + layout->setLeftBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setLeftBorderStyle(Qt::DashDotDotLine); + layout->setLeftBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setLeftBorderStyle(Qt::SolidLine); + layout->setLeftBorderStyle(TQt::SolidLine); else - layout->setLeftBorderStyle(Qt::SolidLine); + layout->setLeftBorderStyle(TQt::SolidLine); } void LayoutIface::setLeftBorderColor(const TQString& _c) @@ -230,17 +230,17 @@ void LayoutIface::setLeftBorderWidth( int _size ) void LayoutIface::setRightBorderStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setRightBorderStyle(Qt::DotLine); + layout->setRightBorderStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setRightBorderStyle(Qt::DashLine); + layout->setRightBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setRightBorderStyle(Qt::DashDotLine); + layout->setRightBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setRightBorderStyle(Qt::DashDotDotLine); + layout->setRightBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setRightBorderStyle(Qt::SolidLine); + layout->setRightBorderStyle(TQt::SolidLine); else - layout->setRightBorderStyle(Qt::SolidLine); + layout->setRightBorderStyle(TQt::SolidLine); } void LayoutIface::setRightBorderColor(const TQString& _c) @@ -265,17 +265,17 @@ void LayoutIface::setRightBorderWidth( int _size ) void LayoutIface::setTopBorderStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setTopBorderStyle(Qt::DotLine); + layout->setTopBorderStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setTopBorderStyle(Qt::DashLine); + layout->setTopBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setTopBorderStyle(Qt::DashDotLine); + layout->setTopBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setTopBorderStyle(Qt::DashDotDotLine); + layout->setTopBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setTopBorderStyle(Qt::SolidLine); + layout->setTopBorderStyle(TQt::SolidLine); else - layout->setTopBorderStyle(Qt::SolidLine); + layout->setTopBorderStyle(TQt::SolidLine); } void LayoutIface::setTopBorderColor(const TQString& _c) @@ -300,17 +300,17 @@ void LayoutIface::setTopBorderWidth( int _size ) void LayoutIface::setBottomBorderStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setBottomBorderStyle(Qt::DotLine); + layout->setBottomBorderStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setBottomBorderStyle(Qt::DashLine); + layout->setBottomBorderStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setBottomBorderStyle(Qt::DashDotLine); + layout->setBottomBorderStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setBottomBorderStyle(Qt::DashDotDotLine); + layout->setBottomBorderStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setBottomBorderStyle(Qt::SolidLine); + layout->setBottomBorderStyle(TQt::SolidLine); else - layout->setBottomBorderStyle(Qt::SolidLine); + layout->setBottomBorderStyle(TQt::SolidLine); } void LayoutIface::setBottomBorderColor(const TQString& _c) @@ -334,17 +334,17 @@ void LayoutIface::setBottomBorderWidth( int _size ) void LayoutIface::setFallDiagonalStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setFallDiagonalStyle(Qt::DotLine); + layout->setFallDiagonalStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setFallDiagonalStyle(Qt::DashLine); + layout->setFallDiagonalStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setFallDiagonalStyle(Qt::DashDotLine); + layout->setFallDiagonalStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setFallDiagonalStyle(Qt::DashDotDotLine); + layout->setFallDiagonalStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setFallDiagonalStyle(Qt::SolidLine); + layout->setFallDiagonalStyle(TQt::SolidLine); else - layout->setFallDiagonalStyle(Qt::SolidLine); + layout->setFallDiagonalStyle(TQt::SolidLine); } void LayoutIface::setFallDiagonalColor(const TQString& _c) @@ -369,17 +369,17 @@ void LayoutIface::setFallDiagonalWidth( int _size ) void LayoutIface::setGoUpDiagonalStyle( const TQString& _style ) { if(_style=="DotLine") - layout->setGoUpDiagonalStyle(Qt::DotLine); + layout->setGoUpDiagonalStyle(TQt::DotLine); else if(_style=="DashLine") - layout->setGoUpDiagonalStyle(Qt::DashLine); + layout->setGoUpDiagonalStyle(TQt::DashLine); else if(_style=="DashDotLine") - layout->setGoUpDiagonalStyle(Qt::DashDotLine); + layout->setGoUpDiagonalStyle(TQt::DashDotLine); else if(_style=="DashDotDotLine") - layout->setGoUpDiagonalStyle(Qt::DashDotDotLine); + layout->setGoUpDiagonalStyle(TQt::DashDotDotLine); else if(_style=="SolidLine") - layout->setGoUpDiagonalStyle(Qt::SolidLine); + layout->setGoUpDiagonalStyle(TQt::SolidLine); else - layout->setGoUpDiagonalStyle(Qt::SolidLine); + layout->setGoUpDiagonalStyle(TQt::SolidLine); } void LayoutIface::setGoUpDiagonalColor(const TQString& _c) |