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.h | |
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.h')
-rw-r--r-- | khexedit/lib/kcharcolumn.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/khexedit/lib/kcharcolumn.h b/khexedit/lib/kcharcolumn.h index 1e875b0..e196cf9 100644 --- a/khexedit/lib/kcharcolumn.h +++ b/khexedit/lib/kcharcolumn.h @@ -19,7 +19,7 @@ #define KHE_KCHARCOLUMN_H // qt specific -#include <qstring.h> +#include <tqstring.h> // lib specific #include "kbuffercolumn.h" @@ -52,11 +52,11 @@ class KCharColumn : public KBufferColumn /** sets the substitute character for "unprintable" chars * returns true if there was a change */ - bool setSubstituteChar( QChar SC ); + bool setSubstituteChar( TQChar SC ); /** sets the undefined character for "undefined" chars * returns true if there was a change */ - bool setUndefinedChar( QChar UC ); + bool setUndefinedChar( TQChar UC ); public: // value access @@ -65,29 +65,29 @@ class KCharColumn : public KBufferColumn */ bool showUnprintable() const; /** returns the actually used substitute character for "unprintable" chars, default is '.' */ - QChar substituteChar() const; + TQChar substituteChar() const; /** returns the actually used undefined character for "undefined" chars, default is '?' */ - QChar undefinedChar() const; + TQChar undefinedChar() const; protected: // KBufferColumn API - virtual void drawByte( QPainter *P, char Byte, KHEChar B, const QColor &Color ) const; + virtual void drawByte( TQPainter *P, char Byte, KHEChar B, const TQColor &Color ) const; protected: /** */ bool ShowUnprintable; /** */ - QChar SubstituteChar; + TQChar SubstituteChar; /** */ - QChar UndefinedChar; + TQChar UndefinedChar; }; inline bool KCharColumn::showUnprintable() const { return ShowUnprintable; } -inline QChar KCharColumn::substituteChar() const { return SubstituteChar; } -inline QChar KCharColumn::undefinedChar() const { return UndefinedChar; } +inline TQChar KCharColumn::substituteChar() const { return SubstituteChar; } +inline TQChar KCharColumn::undefinedChar() const { return UndefinedChar; } -inline bool KCharColumn::setSubstituteChar( QChar SC ) +inline bool KCharColumn::setSubstituteChar( TQChar SC ) { if( SubstituteChar == SC ) return false; @@ -95,7 +95,7 @@ inline bool KCharColumn::setSubstituteChar( QChar SC ) return true; } -inline bool KCharColumn::setUndefinedChar( QChar UC ) +inline bool KCharColumn::setUndefinedChar( TQChar UC ) { if( UndefinedChar == UC ) return false; |