From 303b6445011a6ed10c48ac6e1eda415e5c371264 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 20:33:00 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3) --- tdestyles/asteroid/asteroid.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdestyles/asteroid') diff --git a/tdestyles/asteroid/asteroid.cpp b/tdestyles/asteroid/asteroid.cpp index bd05125fd..7c56741a3 100644 --- a/tdestyles/asteroid/asteroid.cpp +++ b/tdestyles/asteroid/asteroid.cpp @@ -907,7 +907,7 @@ void AsteroidStyle::drawPrimitive(PrimitiveElement pe, } } - if (p->pen() == Qt::NoPen) { + if (p->pen() == TQt::NoPen) { p->setPen(sf & Style_Enabled ? cg.foreground() : cg.light()); } @@ -1675,11 +1675,11 @@ void AsteroidStyle::drawControl(TQ_ControlElement ce, } else if (mi->pixmap()) { TQPixmap *pixmap = mi->pixmap(); if (pixmap->depth() == 1) { - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); } p->drawPixmap(xpos, y, *pixmap); if (pixmap->depth() == 1) { - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); } } } @@ -1883,7 +1883,7 @@ void AsteroidStyle::drawComplexControl(TQ_ComplexControl cc, int i; for( i=0; i<64; i++ ) a.setPoint( i, 0, i*2+1 ); - p.setPen( Qt::color1 ); + p.setPen( TQt::color1 ); p.drawPoints( a ); p.end(); TQApplication::flushX(); @@ -1891,7 +1891,7 @@ void AsteroidStyle::drawComplexControl(TQ_ComplexControl cc, p.begin( horizontalLine ); for( i=0; i<64; i++ ) a.setPoint( i, i*2+1, 0 ); - p.setPen( Qt::color1 ); + p.setPen( TQt::color1 ); p.drawPoints( a ); p.end(); TQApplication::flushX(); -- cgit v1.2.1