summaryrefslogtreecommitdiffstats
path: root/tdeui/kled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kled.cpp')
-rw-r--r--tdeui/kled.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeui/kled.cpp b/tdeui/kled.cpp
index 6b29ac0ca..4f12ec12e 100644
--- a/tdeui/kled.cpp
+++ b/tdeui/kled.cpp
@@ -225,7 +225,7 @@ KLed::paintFlat() // paint a ROUND FLAT led lamp
// Set the brush to SolidPattern, this fills the entire area
// of the ellipse which is drawn with a thin gray "border" (pen)
- brush.setStyle( Qt::SolidPattern );
+ brush.setStyle( TQt::SolidPattern );
brush.setColor( color );
pen.setWidth( scale );
@@ -280,7 +280,7 @@ KLed::paintRound() // paint a ROUND RAISED led lamp
// Set the brush to SolidPattern, this fills the entire area
// of the ellipse which is drawn first
- brush.setStyle( Qt::SolidPattern );
+ brush.setStyle( TQt::SolidPattern );
brush.setColor( color );
paint.setBrush( brush ); // Assign the brush to the painter
@@ -328,7 +328,7 @@ KLed::paintRound() // paint a ROUND RAISED led lamp
color = colorGroup().dark();
pen.setColor( color ); // Set the pen accordingly
paint.setPen( pen ); // Select pen for drawing
- brush.setStyle( Qt::NoBrush ); // Switch off the brush
+ brush.setStyle( TQt::NoBrush ); // Switch off the brush
paint.setBrush( brush ); // This avoids filling of the ellipse
paint.drawEllipse( 2, 2, width, width );
@@ -376,7 +376,7 @@ KLed::paintSunken() // paint a ROUND SUNKEN led lamp
// Set the brush to SolidPattern, this fills the entire area
// of the ellipse which is drawn first
- brush.setStyle( Qt::SolidPattern );
+ brush.setStyle( TQt::SolidPattern );
brush.setColor( color );
paint.setBrush( brush ); // Assign the brush to the painter
@@ -421,7 +421,7 @@ KLed::paintSunken() // paint a ROUND SUNKEN led lamp
// from the upper left.
pen.setWidth( 2 * scale + 1 ); // ### shouldn't this value be smaller for smaller LEDs?
- brush.setStyle( (Qt::BrushStyle)NoBrush ); // Switch off the brush
+ brush.setStyle( (TQt::BrushStyle)NoBrush ); // Switch off the brush
paint.setBrush( brush ); // This avoids filling of the ellipse
// Set the initial color value to colorGroup().light() (bright) and start
@@ -494,8 +494,8 @@ KLed::paintRectFrame(bool raised)
TQBrush darkBrush(d->offcolor);
int w=width();
int h=height();
- TQColor black=Qt::black;
- TQColor white=Qt::white;
+ TQColor black=TQt::black;
+ TQColor white=TQt::white;
// -----
if(raised)
{