diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
commit | 83fbc82a101309e171089f0d5ed080f82a367345 (patch) | |
tree | c7b61083b6e2d4bfceaace9a7f018181ea36afec /kscd/bwlednum.cpp | |
parent | b248983f92b865ef74636ab5a673ae3a88f79c20 (diff) | |
download | tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kscd/bwlednum.cpp')
-rw-r--r-- | kscd/bwlednum.cpp | 12 |
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 ){ |