summaryrefslogtreecommitdiffstats
path: root/amarok/src/statusbar/squeezedtextlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/statusbar/squeezedtextlabel.cpp')
-rw-r--r--amarok/src/statusbar/squeezedtextlabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/amarok/src/statusbar/squeezedtextlabel.cpp b/amarok/src/statusbar/squeezedtextlabel.cpp
index 4d6c842c..caca939a 100644
--- a/amarok/src/statusbar/squeezedtextlabel.cpp
+++ b/amarok/src/statusbar/squeezedtextlabel.cpp
@@ -28,30 +28,30 @@ namespace KDE {
SqueezedTextLabel::SqueezedTextLabel( const TQString &text , TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
fullText = text;
squeezeTextToLabel();
}
SqueezedTextLabel::SqueezedTextLabel( TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
}
void SqueezedTextLabel::resizeEvent( TQResizeEvent * ) {
squeezeTextToLabel();
}
-TQSize SqueezedTextLabel::minimumSizeHint() const
+TQSize SqueezedTextLabel::tqminimumSizeHint() const
{
- TQSize sh = TQLabel::minimumSizeHint();
+ TQSize sh = TQLabel::tqminimumSizeHint();
sh.setWidth(-1);
return sh;
}
-TQSize SqueezedTextLabel::sizeHint() const
+TQSize SqueezedTextLabel::tqsizeHint() const
{
- return TQSize(contentsRect().width(), TQLabel::sizeHint().height());
+ return TQSize(contentsRect().width(), TQLabel::tqsizeHint().height());
}
void SqueezedTextLabel::setText( const TQString &text ) {
@@ -127,11 +127,11 @@ void SqueezedTextLabel::squeezeTextToLabel()
}
}
-void SqueezedTextLabel::setAlignment( int alignment )
+void SqueezedTextLabel::tqsetAlignment( int tqalignment )
{
// save fullText and restore it
TQString tmpFull(fullText);
- TQLabel::setAlignment(alignment);
+ TQLabel::tqsetAlignment(tqalignment);
fullText = tmpFull;
}