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/kcharcolumn.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/kcharcolumn.cpp')
-rw-r--r-- | khexedit/lib/kcharcolumn.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/lib/kcharcolumn.cpp b/khexedit/lib/kcharcolumn.cpp index 9ecbd5a..10105a0 100644 --- a/khexedit/lib/kcharcolumn.cpp +++ b/khexedit/lib/kcharcolumn.cpp @@ -18,7 +18,7 @@ // c specific #include <ctype.h> // qt specific -#include <qpainter.h> +#include <tqpainter.h> // kde specific #include <kcharsets.h> #include <klocale.h> @@ -33,8 +33,8 @@ using namespace KHE; static const bool DefaultShowUnprintable = false; -static const QChar DefaultSubstituteChar = (char)'.'; -static const QChar DefaultUndefinedChar = (char)'?'; +static const TQChar DefaultSubstituteChar = (char)'.'; +static const TQChar DefaultUndefinedChar = (char)'?'; KCharColumn::KCharColumn( KColumnsView *CV, KDataBuffer *B, KBufferLayout *L, KBufferRanges *R ) @@ -51,10 +51,10 @@ KCharColumn::~KCharColumn() { } -void KCharColumn::drawByte( QPainter *P, char /*Byte*/, KHEChar B, const QColor &Color ) const +void KCharColumn::drawByte( TQPainter *P, char /*Byte*/, KHEChar B, const TQColor &Color ) const { // make a drawable String out of it - QString BS( B.isUndefined() ? KHEChar(UndefinedChar) : ( !(ShowUnprintable || B.isPrint()) ? KHEChar(SubstituteChar) : B )); + TQString BS( B.isUndefined() ? KHEChar(UndefinedChar) : ( !(ShowUnprintable || B.isPrint()) ? KHEChar(SubstituteChar) : B )); P->setPen( Color ); P->drawText( 0, DigitBaseLine, BS ); |