summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/infobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/infobox.cpp')
-rw-r--r--kstars/kstars/infobox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/kstars/infobox.cpp b/kstars/kstars/infobox.cpp
index b2f64bcd..781500bd 100644
--- a/kstars/kstars/infobox.cpp
+++ b/kstars/kstars/infobox.cpp
@@ -124,7 +124,7 @@ void InfoBox::draw( TQPainter &p, TQColor BGColor, unsigned int BGMode ) {
TQRect r;
int w,h;
- r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), Qt::AlignCenter, text1() );
+ r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), TQt::AlignCenter, text1() );
ShadedTextWidth = r.width();
ShadedTextHeight = r.height();
@@ -132,13 +132,13 @@ void InfoBox::draw( TQPainter &p, TQColor BGColor, unsigned int BGMode ) {
h = ShadedTextHeight;
if ( !text2().isEmpty() ) {
- r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), Qt::AlignCenter, text2() );
+ r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), TQt::AlignCenter, text2() );
if ( r.width() > w ) w = r.width();
h += r.height();
}
if ( !text3().isEmpty() ) {
- r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), Qt::AlignCenter, text3() );
+ r = p.boundingRect( x(), y(), p.window().width(), p.window().height(), TQt::AlignCenter, text3() );
if ( r.width() > w ) w = r.width();
h += r.height();
}