summaryrefslogtreecommitdiffstats
path: root/kscd/bwlednum.h
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/bwlednum.h')
-rw-r--r--kscd/bwlednum.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kscd/bwlednum.h b/kscd/bwlednum.h
index f3d66f8e..5652832f 100644
--- a/kscd/bwlednum.h
+++ b/kscd/bwlednum.h
@@ -13,8 +13,8 @@
#ifndef BW_LED_NUM_H
#define BW_LED_NUM_H
-#include "qframe.h"
-#include "qbitarray.h"
+#include "tqframe.h"
+#include "tqbitarray.h"
class BW_LED_Number : public QFrame
@@ -23,7 +23,7 @@ class BW_LED_Number : public QFrame
public:
- BW_LED_Number( QWidget *parent=0, const char *name=0 );
+ BW_LED_Number( TQWidget *parent=0, const char *name=0 );
~BW_LED_Number();
void setSmallLED(bool ); // if you LED is small it might look better
@@ -33,13 +33,13 @@ public:
// the forground defaults to yellow, the background defaults
// to black
- void setLEDColor( const QColor& foregroundColor, const QColor& backgroundColor );
+ void setLEDColor( const TQColor& foregroundColor, const TQColor& backgroundColor );
// this sets the color of the segments that are not iluminated
// the default is a rather dark red.
- void setLEDoffColor(QColor color);
+ void setLEDoffColor(TQColor color);
// calling showOffColon(TRUE) will show the colon if not illuminated
// this is rather ugly -- the default is that they are not shown.
@@ -59,24 +59,24 @@ public slots:
protected:
- void resizeEvent( QResizeEvent * );
- void mouseReleaseEvent ( QMouseEvent * e );
- void drawContents( QPainter * );
+ void resizeEvent( TQResizeEvent * );
+ void mouseReleaseEvent ( TQMouseEvent * e );
+ void drawContents( TQPainter * );
private:
bool seg_contained_in( char c, char* seg);
- void drawSegment( const QPoint &, char, QPainter &, int, bool = FALSE );
- void drawSymbol( QPainter *p,char s ,bool repaint);
+ void drawSegment( const TQPoint &, char, TQPainter &, int, bool = FALSE );
+ void drawSymbol( TQPainter *p,char s ,bool repaint);
char* old_segments;
char* current_segments;
char current_symbol;
char old_symbol;
- QColor offcolor;
- QColor fgcolor;
- QColor bgcolor;
+ TQColor offcolor;
+ TQColor fgcolor;
+ TQColor bgcolor;
bool smallLED;