diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 23:32:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:51:25 +0900 |
commit | 5a84066555984b1b0c6e00e950d8f6d106fe877b (patch) | |
tree | 7cd9102a8ca3bcb3ffaa566d7302ad15e580d757 /src/gui/kdeext/RGLed.cpp | |
parent | 7d34c9951c402a4c22da5597ed2e72f3caf66938 (diff) | |
download | rosegarden-5a84066555984b1b0c6e00e950d8f6d106fe877b.tar.gz rosegarden-5a84066555984b1b0c6e00e950d8f6d106fe877b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6)
Diffstat (limited to 'src/gui/kdeext/RGLed.cpp')
-rw-r--r-- | src/gui/kdeext/RGLed.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kdeext/RGLed.cpp b/src/gui/kdeext/RGLed.cpp index f266a08..1126e3d 100644 --- a/src/gui/kdeext/RGLed.cpp +++ b/src/gui/kdeext/RGLed.cpp @@ -292,7 +292,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 grey "border" (pen) - brush.setStyle( Qt::SolidPattern ); + brush.setStyle( TQt::SolidPattern ); brush.setColor( color ); pen.setWidth( 1 ); @@ -337,7 +337,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 @@ -387,7 +387,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( 1, 1, width, width ); @@ -457,7 +457,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 @@ -504,7 +504,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::NoBrush ); // Switch off the brush + brush.setStyle( TQt::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 |