summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/kvaluecolumn.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/lib/kvaluecolumn.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/kvaluecolumn.cpp')
-rw-r--r--khexedit/lib/kvaluecolumn.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/khexedit/lib/kvaluecolumn.cpp b/khexedit/lib/kvaluecolumn.cpp
index 82da795..62d36c0 100644
--- a/khexedit/lib/kvaluecolumn.cpp
+++ b/khexedit/lib/kvaluecolumn.cpp
@@ -16,7 +16,7 @@
// qt specific
-#include <qpainter.h>
+#include <tqpainter.h>
// lib specific
#include "kcolumnsview.h"
#include "kbuffercursor.h"
@@ -101,26 +101,26 @@ void KValueColumn::recalcByteWidth()
// perhaps sometimes there will be a grammar
-void KValueColumn::paintEditedByte( QPainter *P, char Byte, const QString &EditBuffer )
+void KValueColumn::paintEditedByte( TQPainter *P, char Byte, const TQString &EditBuffer )
{
KHEChar B = Codec->decode( Byte );
- const QColorGroup &CG = View->colorGroup();
+ const TQColorGroup &CG = View->colorGroup();
- P->fillRect( 0,0,ByteWidth,LineHeight, QBrush(colorForChar(B),Qt::SolidPattern) );
+ P->fillRect( 0,0,ByteWidth,LineHeight, TQBrush(colorForChar(B),Qt::SolidPattern) );
drawCode( P, EditBuffer, CG.base() );
}
-void KValueColumn::drawByte( QPainter *P, char Byte, KHEChar /*B*/, const QColor &Color ) const
+void KValueColumn::drawByte( TQPainter *P, char Byte, KHEChar /*B*/, const TQColor &Color ) const
{
ByteCodec->encode( CodedByte, 0, Byte );
drawCode( P, CodedByte, Color );
}
-void KValueColumn::drawCode( QPainter *P, const QString &Code, const QColor &Color ) const
+void KValueColumn::drawCode( TQPainter *P, const TQString &Code, const TQColor &Color ) const
{
P->setPen( Color );
if( Coding == BinaryCoding )