summaryrefslogtreecommitdiffstats
path: root/amarok/src/statusbar/selectLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/statusbar/selectLabel.h')
-rw-r--r--amarok/src/statusbar/selectLabel.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/amarok/src/statusbar/selectLabel.h b/amarok/src/statusbar/selectLabel.h
index 1da2b668..1d3552ea 100644
--- a/amarok/src/statusbar/selectLabel.h
+++ b/amarok/src/statusbar/selectLabel.h
@@ -35,9 +35,10 @@
#include <tqtimer.h>
#include <tqtooltip.h>
-class SelectLabel : public QLabel
+class SelectLabel : public TQLabel
{
Q_OBJECT
+ TQ_OBJECT
Amarok::SelectAction const*const m_action;
@@ -45,8 +46,8 @@ class SelectLabel : public QLabel
void activated( int );
public:
- SelectLabel( Amarok::SelectAction const*const action, TQWidget *parent )
- : TQLabel( parent )
+ SelectLabel( Amarok::SelectAction const*const action, TQWidget *tqparent )
+ : TQLabel( tqparent )
, m_action( action )
, m_tooltip( 0 )
, m_tooltipShowing( false )
@@ -125,8 +126,8 @@ class SelectLabel : public QLabel
m_tooltipShowing = true;
TQString tip = i18n("%1: %2")
- .arg( m_action->text().remove( '&' ) )
- .arg( m_action->currentText().remove( '&' ) );
+ .tqarg( m_action->text().remove( '&' ) )
+ .tqarg( m_action->currentText().remove( '&' ) );
if( !isEnabled() )
tip += i18n("&nbsp;<br>&nbsp;<i>Disabled</i>");
@@ -135,12 +136,12 @@ class SelectLabel : public QLabel
{
KSelectAction *a = static_cast<KSelectAction*>( Amarok::actionCollection()->action( "favor_tracks" ) );
tip += TQString("<br><br>") + i18n("%1: %2")
- .arg( a->text().remove( '&' ), a->currentText().remove( '&' ) );
+ .tqarg( a->text().remove( '&' ), a->currentText().remove( '&' ) );
}
tip += "&nbsp;";
- m_tooltip = new KDE::PopupMessage( parentWidget()->parentWidget(), parentWidget(), 0 /*timeout*/ );
+ m_tooltip = new KDE::PopupMessage( tqparentWidget()->tqparentWidget(), tqparentWidget(), 0 /*timeout*/ );
m_tooltip->setShowCloseButton( false );
m_tooltip->setShowCounter( false );
m_tooltip->setMaskEffect( KDE::PopupMessage::Plain );