summaryrefslogtreecommitdiffstats
path: root/src/gui/kdeext/RGLed.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/gui/kdeext/RGLed.cpp
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/kdeext/RGLed.cpp')
-rw-r--r--src/gui/kdeext/RGLed.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/kdeext/RGLed.cpp b/src/gui/kdeext/RGLed.cpp
index fbadb95..95772ca 100644
--- a/src/gui/kdeext/RGLed.cpp
+++ b/src/gui/kdeext/RGLed.cpp
@@ -59,7 +59,7 @@
*
* Revision 1.19 2001/08/08 14:35:12 hausmann
* - removed empty KActionCollection::childEvent
- * - added tqsizeHint() and tqminimumSizeHint() methods to KLed, as advised by
+ * - added sizeHint() and minimumSizeHint() methods to KLed, as advised by
* Rik in the comment in kled.h
* - removed unused mousePressEvent, mouseMoveEvent and mouseReleaseEvent
* handlers from KPassDlg
@@ -298,7 +298,7 @@ KLed::paintFlat() // paint a ROUND FLAT led lamp
brush.setColor( color );
pen.setWidth( 1 );
- color = tqcolorGroup().dark();
+ color = colorGroup().dark();
pen.setColor( color ); // Set the pen accordingly
paint.setPen( pen ); // Select pen for drawing
@@ -386,7 +386,7 @@ KLed::paintRound() // paint a ROUND RAISED led lamp
// avoid that the border can be erased by the bright spot of the LED
pen.setWidth( 1 );
- color = tqcolorGroup().dark();
+ 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
@@ -509,11 +509,11 @@ KLed::paintSunken() // paint a ROUND SUNKEN led lamp
brush.setStyle( Qt::NoBrush ); // Switch off the brush
paint.setBrush( brush ); // This avoids filling of the ellipse
- // Set the initial color value to tqcolorGroup().light() (bright) and start
+ // Set the initial color value to colorGroup().light() (bright) and start
// drawing the shadow border at 45� (45*16 = 720).
int angle = -720;
- color = tqcolorGroup().light();
+ color = colorGroup().light();
for ( int arc = 120; arc < 2880; arc += 240 )
{
@@ -713,13 +713,13 @@ KLed::off()
}
TQSize
-KLed::tqsizeHint() const
+KLed::sizeHint() const
{
return TQSize(16, 16);
}
TQSize
-KLed::tqminimumSizeHint() const
+KLed::minimumSizeHint() const
{
return TQSize(16, 16 );
}