diff options
Diffstat (limited to 'kspread/kspread_format.cpp')
-rw-r--r-- | kspread/kspread_format.cpp | 30 |
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(); } |