summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_format.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /kspread/kspread_format.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kspread/kspread_format.cpp')
-rw-r--r--kspread/kspread_format.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kspread/kspread_format.cpp b/kspread/kspread_format.cpp
index 430e2386..c354f849 100644
--- a/kspread/kspread_format.cpp
+++ b/kspread/kspread_format.cpp
@@ -636,7 +636,7 @@ bool Format::loadFormat( const TQDomElement & f, Paste::Mode pm, bool paste )
if ( f.hasAttribute( "brushstyle" ) )
{
- setBackGroundBrushStyle( (Qt::BrushStyle) f.attribute( "brushstyle" ).toInt( &ok ) );
+ setBackGroundBrushStyle( (TQt::BrushStyle) f.attribute( "brushstyle" ).toInt( &ok ) );
if ( !ok )
return false;
}
@@ -1221,7 +1221,7 @@ void Format::setLeftBorderPen( const TQPen & _p )
formatChanged();
}
-void Format::setLeftBorderStyle( Qt::PenStyle s )
+void Format::setLeftBorderStyle( TQt::PenStyle s )
{
TQPen p( m_pStyle->leftBorderPen() );
p.setStyle( s );
@@ -1259,7 +1259,7 @@ void Format::setTopBorderPen( const TQPen & _p )
formatChanged();
}
-void Format::setTopBorderStyle( Qt::PenStyle s )
+void Format::setTopBorderStyle( TQt::PenStyle s )
{
TQPen p( m_pStyle->topBorderPen() );
p.setStyle( s );
@@ -1297,7 +1297,7 @@ void Format::setRightBorderPen( const TQPen& p )
formatChanged();
}
-void Format::setRightBorderStyle( Qt::PenStyle _s )
+void Format::setRightBorderStyle( TQt::PenStyle _s )
{
TQPen p( m_pStyle->rightBorderPen() );
p.setStyle( _s );
@@ -1335,7 +1335,7 @@ void Format::setBottomBorderPen( const TQPen& p )
formatChanged();
}
-void Format::setBottomBorderStyle( Qt::PenStyle _s )
+void Format::setBottomBorderStyle( TQt::PenStyle _s )
{
TQPen p( m_pStyle->bottomBorderPen() );
p.setStyle( _s );
@@ -1373,7 +1373,7 @@ void Format::setFallDiagonalPen( const TQPen & _p )
formatChanged();
}
-void Format::setFallDiagonalStyle( Qt::PenStyle s )
+void Format::setFallDiagonalStyle( TQt::PenStyle s )
{
TQPen p( m_pStyle->fallDiagonalPen() );
p.setStyle( s );
@@ -1411,7 +1411,7 @@ void Format::setGoUpDiagonalPen( const TQPen & _p )
formatChanged();
}
-void Format::setGoUpDiagonalStyle( Qt::PenStyle s )
+void Format::setGoUpDiagonalStyle( TQt::PenStyle s )
{
TQPen p( m_pStyle->goUpDiagonalPen() );
p.setStyle( s );
@@ -1449,7 +1449,7 @@ void Format::setBackGroundBrush( const TQBrush & _p)
formatChanged();
}
-void Format::setBackGroundBrushStyle( Qt::BrushStyle s )
+void Format::setBackGroundBrushStyle( TQt::BrushStyle s )
{
TQBrush b( m_pStyle->backGroundBrush() );
b.setStyle( s );
@@ -1841,7 +1841,7 @@ int Format::fallDiagonalWidth( int col, int row ) const
return fallDiagonalPen( col, row ).width();
}
-Qt::PenStyle Format::fallDiagonalStyle( int col, int row ) const
+TQt::PenStyle Format::fallDiagonalStyle( int col, int row ) const
{
return fallDiagonalPen( col, row ).style();
}
@@ -1867,7 +1867,7 @@ int Format::goUpDiagonalWidth( int col, int row ) const
return goUpDiagonalPen( col, row ).width();
}
-Qt::PenStyle Format::goUpDiagonalStyle( int col, int row ) const
+TQt::PenStyle Format::goUpDiagonalStyle( int col, int row ) const
{
return goUpDiagonalPen( col, row ).style();
}
@@ -1946,7 +1946,7 @@ const TQPen& Format::leftBorderPen( int col, int row ) const
return m_pStyle->leftBorderPen();
}
-Qt::PenStyle Format::leftBorderStyle( int col, int row ) const
+TQt::PenStyle Format::leftBorderStyle( int col, int row ) const
{
return leftBorderPen( col, row ).style();
}
@@ -1979,7 +1979,7 @@ const TQColor& Format::topBorderColor( int col, int row ) const
return topBorderPen( col, row ).color();
}
-Qt::PenStyle Format::topBorderStyle( int col, int row ) const
+TQt::PenStyle Format::topBorderStyle( int col, int row ) const
{
return topBorderPen( col, row ).style();
}
@@ -2007,7 +2007,7 @@ int Format::rightBorderWidth( int col, int row ) const
return rightBorderPen( col, row ).width();
}
-Qt::PenStyle Format::rightBorderStyle( int col, int row ) const
+TQt::PenStyle Format::rightBorderStyle( int col, int row ) const
{
return rightBorderPen( col, row ).style();
}
@@ -2035,7 +2035,7 @@ int Format::bottomBorderWidth( int col, int row ) const
return bottomBorderPen( col, row ).width();
}
-Qt::PenStyle Format::bottomBorderStyle( int col, int row ) const
+TQt::PenStyle Format::bottomBorderStyle( int col, int row ) const
{
return bottomBorderPen( col, row ).style();
}
@@ -2056,7 +2056,7 @@ const TQBrush& Format::backGroundBrush( int col, int row ) const
return m_pStyle->backGroundBrush();
}
-Qt::BrushStyle Format::backGroundBrushStyle( int col, int row ) const
+TQt::BrushStyle Format::backGroundBrushStyle( int col, int row ) const
{
return backGroundBrush( col, row ).style();
}