diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/lib/kbordercolumn.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/lib/kbordercolumn.cpp')
-rw-r--r-- | khexedit/lib/kbordercolumn.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/khexedit/lib/kbordercolumn.cpp b/khexedit/lib/kbordercolumn.cpp index c590246..d23bfea 100644 --- a/khexedit/lib/kbordercolumn.cpp +++ b/khexedit/lib/kbordercolumn.cpp @@ -16,8 +16,8 @@ // qt specific -#include <qpainter.h> -#include <qstyle.h> +#include <tqpainter.h> +#include <tqstyle.h> // lib specific #include "kcolumnsview.h" #include "kbordercolumn.h" @@ -41,7 +41,7 @@ KBorderColumn::~KBorderColumn() } -void KBorderColumn::paintLine( QPainter *P ) +void KBorderColumn::paintLine( TQPainter *P ) { if( LineHeight > 0 ) { @@ -49,7 +49,7 @@ void KBorderColumn::paintLine( QPainter *P ) if( Middle ) { - int GridColor = View->style().styleHint( QStyle::SH_Table_GridLineColor, View ); + int GridColor = View->style().styleHint( TQStyle::SH_Table_GridLineColor, View ); P->setPen( GridColor != -1 ? (QRgb)GridColor : View->colorGroup().mid() ); P->drawLine( LineX, 0, LineX, LineHeight-1 ) ; } @@ -57,25 +57,25 @@ void KBorderColumn::paintLine( QPainter *P ) } -void KBorderColumn::paintFirstLine( QPainter *P, KPixelXs , int ) +void KBorderColumn::paintFirstLine( TQPainter *P, KPixelXs , int ) { paintLine( P ); } -void KBorderColumn::paintNextLine( QPainter *P ) +void KBorderColumn::paintNextLine( TQPainter *P ) { paintLine( P ); } -void KBorderColumn::paintEmptyColumn( QPainter *P, KPixelXs Xs, KPixelYs Ys ) +void KBorderColumn::paintEmptyColumn( TQPainter *P, KPixelXs Xs, KPixelYs Ys ) { KColumn::paintEmptyColumn( P,Xs,Ys ); KPixelX LX = x() + LineX; if( Middle && Xs.includes(LX) ) { - int GridColor = View->style().styleHint( QStyle::SH_Table_GridLineColor, View ); + int GridColor = View->style().styleHint( TQStyle::SH_Table_GridLineColor, View ); P->setPen( GridColor != -1 ? (QRgb)GridColor : View->colorGroup().mid() ); P->drawLine( LX, Ys.start(), LX, Ys.end() ) ; } |