diff options
Diffstat (limited to 'twin/popupinfo.cpp')
-rw-r--r-- | twin/popupinfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/popupinfo.cpp b/twin/popupinfo.cpp index 740de7cb6..324b8a782 100644 --- a/twin/popupinfo.cpp +++ b/twin/popupinfo.cpp @@ -39,10 +39,10 @@ PopupInfo::PopupInfo( Workspace* ws, const char *name ) m_shown = false; reset(); reconfigure(); - connect(&m_delayedHideTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(hide())); + connect(&m_delayedHideTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(hide())); TQFont f = font(); - f.setBold( TRUE ); + f.setBold( true ); f.setPointSize( 14 ); setFont( f ); @@ -74,7 +74,7 @@ void PopupInfo::reset() void PopupInfo::paintEvent( TQPaintEvent* ) { TQPainter p( this ); - style().tqdrawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ), + style().drawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ), colorGroup(), TQStyle::Style_Default ); paintContents(); } @@ -92,9 +92,9 @@ void PopupInfo::paintContents() p.fillRect( r, colorGroup().brush( TQColorGroup::Background ) ); /* - p.setPen(Qt::white); + p.setPen(TQt::white); p.drawText( r, AlignCenter, m_infoString ); - p.setPen(Qt::black); + p.setPen(TQt::black); r.moveBy( -1, -1 ); p.drawText( r, AlignCenter, m_infoString ); r.moveBy( -1, 0 ); |