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 /kscd/bwlednum.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 'kscd/bwlednum.h')
-rw-r--r-- | kscd/bwlednum.h | 26 |
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; |