summaryrefslogtreecommitdiffstats
path: root/kmid/klcdnumber.h
diff options
context:
space:
mode:
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;