summaryrefslogtreecommitdiffstats
path: root/libtdepim/krsqueezedtextlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/krsqueezedtextlabel.cpp')
-rw-r--r--libtdepim/krsqueezedtextlabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libtdepim/krsqueezedtextlabel.cpp b/libtdepim/krsqueezedtextlabel.cpp
index 968b56d20..ad674aa84 100644
--- a/libtdepim/krsqueezedtextlabel.cpp
+++ b/libtdepim/krsqueezedtextlabel.cpp
@@ -24,30 +24,30 @@
KRSqueezedTextLabel::KRSqueezedTextLabel( const TQString &text , TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
fullText = text;
squeezeTextToLabel();
}
KRSqueezedTextLabel::KRSqueezedTextLabel( TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
}
void KRSqueezedTextLabel::resizeEvent( TQResizeEvent * ) {
squeezeTextToLabel();
}
-TQSize KRSqueezedTextLabel::tqminimumSizeHint() const
+TQSize KRSqueezedTextLabel::minimumSizeHint() const
{
- TQSize sh = TQLabel::tqminimumSizeHint();
+ TQSize sh = TQLabel::minimumSizeHint();
sh.setWidth(-1);
return sh;
}
-TQSize KRSqueezedTextLabel::tqsizeHint() const
+TQSize KRSqueezedTextLabel::sizeHint() const
{
- return TQSize(contentsRect().width(), TQLabel::tqsizeHint().height());
+ return TQSize(contentsRect().width(), TQLabel::sizeHint().height());
}
void KRSqueezedTextLabel::setText( const TQString &text ) {
@@ -75,11 +75,11 @@ void KRSqueezedTextLabel::squeezeTextToLabel() {
}
}
-void KRSqueezedTextLabel::tqsetAlignment( int tqalignment )
+void KRSqueezedTextLabel::setAlignment( int tqalignment )
{
// save fullText and restore it
TQString tmpFull(fullText);
- TQLabel::tqsetAlignment(tqalignment);
+ TQLabel::setAlignment(tqalignment);
fullText = tmpFull;
}