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/bitswapwidget.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/bitswapwidget.h')
-rw-r--r-- | khexedit/bitswapwidget.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/khexedit/bitswapwidget.h b/khexedit/bitswapwidget.h index f1d3582..9f54ab6 100644 --- a/khexedit/bitswapwidget.h +++ b/khexedit/bitswapwidget.h @@ -21,9 +21,9 @@ #ifndef _BITSWAP_WIDGET_H_ #define _BITSWAP_WIDGET_H_ -#include <qlabel.h> -#include <qlayout.h> -#include <qstring.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqstring.h> class CDigitLabel : public QLabel @@ -31,24 +31,24 @@ class CDigitLabel : public QLabel Q_OBJECT public: - CDigitLabel( QWidget *parent, uint digit = 0, const char *name=0 ); + CDigitLabel( TQWidget *parent, uint digit = 0, const char *name=0 ); ~CDigitLabel( void ); - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; inline uint value( void ); signals: - void stepCell( const QObject *obj, bool next ); - void valueChanged( const QObject *obj, uint newVal, bool after ); + void stepCell( const TQObject *obj, bool next ); + void valueChanged( const TQObject *obj, uint newVal, bool after ); public slots: void setValue( uint digit, bool notify ); void setDotPosition( uint dotPosition ); protected: - void paletteChange( const QPalette & ); - void drawContents( QPainter * ); - virtual void keyPressEvent( QKeyEvent *e ); + void paletteChange( const TQPalette & ); + void drawContents( TQPainter * ); + virtual void keyPressEvent( TQKeyEvent *e ); private: void initialize( void ); @@ -72,23 +72,23 @@ class CByteWidget : public QWidget Q_OBJECT public: - CByteWidget( QWidget *parent, const char *name=0 ); + CByteWidget( TQWidget *parent, const char *name=0 ); ~CByteWidget( void ); - bool flag( QByteArray &buf ); + bool flag( TQByteArray &buf ); public slots: void reset( void ); private slots: - void stepCell( const QObject *obj, bool next ); - void valueChanged( const QObject *obj, uint newVal, bool after ); + void stepCell( const TQObject *obj, bool next ); + void valueChanged( const TQObject *obj, uint newVal, bool after ); private: - void setBuddy( const QObject *obj ); + void setBuddy( const TQObject *obj ); private: - QHBoxLayout *mHBox; + TQHBoxLayout *mHBox; CDigitLabel *mDigit[8]; }; |