diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:47 -0600 |
commit | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (patch) | |
tree | bb4714865b78e327620ce86a37241ed22df43afa /libk3b/tools/k3brichtextlabel.cpp | |
parent | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (diff) | |
download | k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.tar.gz k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit ef5831dd5c8811c94c9b1bc1377a90174d17c82c.
Diffstat (limited to 'libk3b/tools/k3brichtextlabel.cpp')
-rw-r--r-- | libk3b/tools/k3brichtextlabel.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libk3b/tools/k3brichtextlabel.cpp b/libk3b/tools/k3brichtextlabel.cpp index 92d5877..02878c2 100644 --- a/libk3b/tools/k3brichtextlabel.cpp +++ b/libk3b/tools/k3brichtextlabel.cpp @@ -16,7 +16,7 @@ #include "k3brichtextlabel.h" #include <tqtooltip.h> -#include <stylesheet.h> +#include <tqstylesheet.h> #include <tqsimplerichtext.h> #include <kglobalsettings.h> @@ -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); - setAlignment( TQt::WordBreak ); + tqsetAlignment( TQt::WordBreak ); setText(text); } K3bRichTextLabel::K3bRichTextLabel( TQWidget *parent, const char *name ) : TQLabel ( parent, name ) { m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5); - setAlignment( TQt::WordBreak ); + tqsetAlignment( TQt::WordBreak ); } void K3bRichTextLabel::setDefaultWidth(int defaultWidth) @@ -59,7 +59,7 @@ TQSizePolicy K3bRichTextLabel::sizePolicy() const return TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum, false); } -TQSize K3bRichTextLabel::minimumSizeHint() const +TQSize K3bRichTextLabel::tqminimumSizeHint() const { TQString qt_text = qrichtextify( text() ); int pref_width = 0; @@ -94,9 +94,9 @@ TQSize K3bRichTextLabel::minimumSizeHint() const return TQSize(pref_width, rt.height()); } -TQSize K3bRichTextLabel::sizeHint() const +TQSize K3bRichTextLabel::tqsizeHint() const { - return minimumSizeHint(); + return tqminimumSizeHint(); } void K3bRichTextLabel::setText( const TQString &text ) { |