diff options
Diffstat (limited to 'kstars/kstars/starpixmap.cpp')
-rw-r--r-- | kstars/kstars/starpixmap.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kstars/kstars/starpixmap.cpp b/kstars/kstars/starpixmap.cpp index 59e21fe5..fe04bc1d 100644 --- a/kstars/kstars/starpixmap.cpp +++ b/kstars/kstars/starpixmap.cpp @@ -69,7 +69,7 @@ void StarPixmap::loadPixmaps (int newColorMode, int newColorIntensity) { if (colorIntensity < 0) colorIntensity = 0; // min TQPixmap pix (STARSIZE, STARSIZE); - TQBitmap mask (STARSIZE, STARSIZE); + TQBitmap tqmask (STARSIZE, STARSIZE); TQImage image; TQPainter p; TQMemArray<TQColor> starColor; @@ -87,11 +87,11 @@ void StarPixmap::loadPixmaps (int newColorMode, int newColorIntensity) { // background of the star if ( colorMode==1 ) // night colors (fill red, no temperature colors) - pix.fill (Qt::red); + pix.fill (TQt::red); else if ( colorMode==2 ) //star chart colors (fill black, no temperature colors) - pix.fill (Qt::black); + pix.fill (TQt::black); else - pix.fill (Qt::white); // default (white) + pix.fill (TQt::white); // default (white) for (int color = 0; color < 10; color ++) { int ic = color; @@ -104,11 +104,11 @@ void StarPixmap::loadPixmaps (int newColorMode, int newColorIntensity) { p.end(); } - mask.fill (Qt::color0); + tqmask.fill (TQt::color0); - p.begin (&mask); - p.setPen (TQPen ( Qt::color1, 1)); - p.setBrush( TQBrush( Qt::color1 ) ); + p.begin (&tqmask); + p.setPen (TQPen ( TQt::color1, 1)); + p.setBrush( TQBrush( TQt::color1 ) ); p.drawEllipse(0, 0, STARSIZE, STARSIZE); p.end(); @@ -117,7 +117,7 @@ void StarPixmap::loadPixmaps (int newColorMode, int newColorIntensity) { TQImage tmp = pix.convertToImage(); pix.convertFromImage( KImageEffect::blur( tmp, 100.0 ) ); - pix.setMask (mask); // set the mask + pix.setMask (tqmask); // set the tqmask image = pix.convertToImage(); // create the image for smoothScale() for (int i = 0; i < 26; i++) |