summaryrefslogtreecommitdiffstats
path: root/tdestyles/asteroid
diff options
context:
space:
mode:
Diffstat (limited to 'tdestyles/asteroid')
-rw-r--r--tdestyles/asteroid/asteroid.cpp10
1 files changed, 5 insertions, 5 deletions
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();