diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/klcdnumber.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/klcdnumber.h')
-rw-r--r-- | kmid/klcdnumber.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kmid/klcdnumber.h b/kmid/klcdnumber.h index 602ec055..99b21126 100644 --- a/kmid/klcdnumber.h +++ b/kmid/klcdnumber.h @@ -24,7 +24,7 @@ #ifndef _klcdnumber_h_ #define _klcdnumber_h_ -#include <qwidget.h> +#include <tqwidget.h> class QPainter; class KTriangleButton; @@ -83,8 +83,8 @@ public: bool setUserDefaultValue; bool doubleclicked; - QColor backgcolor; - QColor LCDcolor; + TQColor backgcolor; + TQColor LCDcolor; double value; double oldvalue; @@ -93,15 +93,15 @@ public: double minValue; double maxValue; - void drawVerticalBar(QPainter *qpaint,int x,int y,int w,int h,int d); - void drawHorizBar(QPainter *qpaint,int x,int y,int w,int h,int d); - void drawDigit(QPainter *qpaint,int x,int y,int w,int h,digit d); + void drawVerticalBar(TQPainter *qpaint,int x,int y,int w,int h,int d); + void drawHorizBar(TQPainter *qpaint,int x,int y,int w,int h,int d); + void drawDigit(TQPainter *qpaint,int x,int y,int w,int h,digit d); void initDigits(void); public: - KLCDNumber(int _numDigits,QWidget *parent,const char *name); - KLCDNumber(bool _setUserChangeValue,int _numDigits,QWidget *parent,const char *name); + KLCDNumber(int _numDigits,TQWidget *parent,const char *name); + KLCDNumber(bool _setUserChangeValue,int _numDigits,TQWidget *parent,const char *name); void setUserSetDefaultValue(bool _userSetDefaultValue); void setDefaultValue(double v); @@ -120,16 +120,16 @@ public: void display (int v); void display (double v); - QSize sizeHint (); -// QSizePolicy sizePolicy(); + TQSize sizeHint (); +// TQSizePolicy sizePolicy(); protected: - virtual void paintEvent ( QPaintEvent *e ); - virtual void resizeEvent ( QResizeEvent *e); - virtual void mouseDoubleClickEvent (QMouseEvent *e); - virtual void mousePressEvent (QMouseEvent *e); - virtual void timerEvent(QTimerEvent *e); + virtual void paintEvent ( TQPaintEvent *e ); + virtual void resizeEvent ( TQResizeEvent *e); + virtual void mouseDoubleClickEvent (TQMouseEvent *e); + virtual void mousePressEvent (TQMouseEvent *e); + virtual void timerEvent(TQTimerEvent *e); void defaultValueClicked(); KTriangleButton *downBtn; |