summaryrefslogtreecommitdiffstats
path: root/tdeprint/tests/drawdemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tests/drawdemo.cpp')
-rw-r--r--tdeprint/tests/drawdemo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/tests/drawdemo.cpp b/tdeprint/tests/drawdemo.cpp
index e60aae845..3dce8cacc 100644
--- a/tdeprint/tests/drawdemo.cpp
+++ b/tdeprint/tests/drawdemo.cpp
@@ -28,7 +28,7 @@ void drawColorWheel( TQPainter *p )
{
TQFont f( "times", 18, TQFont::Bold );
p->setFont( f );
- p->setPen( Qt::black );
+ p->setPen( TQt::black );
p->setWindow( 0, 0, 500, 500 ); // defines coordinate system
for ( int i=0; i<36; i++ ) { // draws 36 rotated rectangles
@@ -83,12 +83,12 @@ void drawFonts( TQPainter *p )
void drawShapes( TQPainter *p )
{
- TQBrush b1( Qt::blue );
- TQBrush b2( Qt::green, Qt::Dense6Pattern ); // green 12% fill
- TQBrush b3( Qt::NoBrush ); // void brush
- TQBrush b4( Qt::CrossPattern ); // black cross pattern
+ TQBrush b1( TQt::blue );
+ TQBrush b2( TQt::green, TQt::Dense6Pattern ); // green 12% fill
+ TQBrush b3( TQt::NoBrush ); // void brush
+ TQBrush b4( TQt::CrossPattern ); // black cross pattern
- p->setPen( Qt::red );
+ p->setPen( TQt::red );
p->setBrush( b1 );
p->drawRect( 10, 10, 200, 100 );
p->setBrush( b2 );