diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:08:55 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:08:55 -0600 |
commit | 09c863183250d07f82c0919e0a40fc7834c32192 (patch) | |
tree | 2e93b57e4c4a6f0548222e04d1b7bda1ade1c742 /libk3b/tools/k3brichtextlabel.cpp | |
parent | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (diff) | |
download | k3b-09c863183250d07f82c0919e0a40fc7834c32192.tar.gz k3b-09c863183250d07f82c0919e0a40fc7834c32192.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libk3b/tools/k3brichtextlabel.cpp')
-rw-r--r-- | libk3b/tools/k3brichtextlabel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libk3b/tools/k3brichtextlabel.cpp b/libk3b/tools/k3brichtextlabel.cpp index 02878c2..1dee2b1 100644 --- a/libk3b/tools/k3brichtextlabel.cpp +++ b/libk3b/tools/k3brichtextlabel.cpp @@ -38,14 +38,14 @@ static TQString qrichtextify( const TQString& text ) K3bRichTextLabel::K3bRichTextLabel( const TQString &text , TQWidget *parent, const char *name ) : TQLabel ( parent, name ) { m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5); - tqsetAlignment( TQt::WordBreak ); + setAlignment( TQt::WordBreak ); setText(text); } K3bRichTextLabel::K3bRichTextLabel( TQWidget *parent, const char *name ) : TQLabel ( parent, name ) { m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5); - tqsetAlignment( TQt::WordBreak ); + setAlignment( TQt::WordBreak ); } void K3bRichTextLabel::setDefaultWidth(int defaultWidth) @@ -59,7 +59,7 @@ TQSizePolicy K3bRichTextLabel::sizePolicy() const return TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum, false); } -TQSize K3bRichTextLabel::tqminimumSizeHint() const +TQSize K3bRichTextLabel::minimumSizeHint() const { TQString qt_text = qrichtextify( text() ); int pref_width = 0; @@ -94,9 +94,9 @@ TQSize K3bRichTextLabel::tqminimumSizeHint() const return TQSize(pref_width, rt.height()); } -TQSize K3bRichTextLabel::tqsizeHint() const +TQSize K3bRichTextLabel::sizeHint() const { - return tqminimumSizeHint(); + return minimumSizeHint(); } void K3bRichTextLabel::setText( const TQString &text ) { |