summaryrefslogtreecommitdiffstats
path: root/kmid/klcdnumber.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/klcdnumber.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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.h30
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;