summaryrefslogtreecommitdiffstats
path: root/kscd/bwlednum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/bwlednum.cpp')
-rw-r--r--kscd/bwlednum.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kscd/bwlednum.cpp b/kscd/bwlednum.cpp
index 385c0c74..eb18917e 100644
--- a/kscd/bwlednum.cpp
+++ b/kscd/bwlednum.cpp
@@ -84,7 +84,7 @@ void BW_LED_Number::setLEDColor( const TQColor& fgColor, const TQColor& bgColor
fgcolor = fgColor;
bgcolor = bgColor;
- TQColorGroup old_cg = this->tqcolorGroup();
+ TQColorGroup old_cg = this->colorGroup();
TQColorGroup new_cg( fgColor, bgColor,
@@ -168,9 +168,9 @@ void BW_LED_Number::setSmallLED(bool a_boolean){
}
-void BW_LED_Number::drawSymbol( TQPainter *p,char ,bool tqrepaint ){
+void BW_LED_Number::drawSymbol( TQPainter *p,char ,bool repaint ){
- // printf("drawSymbol tqrepaint = %d\n",tqrepaint);
+ // printf("drawSymbol repaint = %d\n",repaint);
TQPoint pos;
@@ -194,7 +194,7 @@ void BW_LED_Number::drawSymbol( TQPainter *p,char ,bool tqrepaint ){
pos = TQPoint( Xoffset , Yoffset );
- if(tqrepaint){
+ if(repaint){
// this draw the non-illumintated segments
@@ -222,7 +222,7 @@ void BW_LED_Number::drawSymbol( TQPainter *p,char ,bool tqrepaint ){
}
}
}
- else{ // we are not repainting ourselves due to a tqrepaint event but rather
+ else{ // we are not repainting ourselves due to a repaint event but rather
// genuinely changing the symbol that is to be displayed
for(int l = 0; l <= NUM_OF_SEGMENTS -1; l++){
@@ -277,7 +277,7 @@ void BW_LED_Number::drawSegment( const TQPoint &pos, char seg_number, TQPainter
TQPoint pt = pos;
- TQColorGroup g = tqcolorGroup();
+ TQColorGroup g = colorGroup();
TQColor lightColor,darkColor;
if ( erase ){