diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:34:15 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:34:15 -0600 |
commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/gui/richtextlabel.cpp | |
parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/richtextlabel.cpp')
-rw-r--r-- | src/gui/richtextlabel.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/richtextlabel.cpp b/src/gui/richtextlabel.cpp index 632f771..85a9dde 100644 --- a/src/gui/richtextlabel.cpp +++ b/src/gui/richtextlabel.cpp @@ -15,7 +15,7 @@ #include <kdebug.h> -#include <tqlayout.h> +#include <layout.h> using Tellico::GUI::RichTextLabel; @@ -27,8 +27,8 @@ RichTextLabel::RichTextLabel(const TQString& text, TQWidget* parent) : TQTextEdi init(); } -TQSize RichTextLabel::tqsizeHint() const { - return tqminimumSizeHint(); +TQSize RichTextLabel::sizeHint() const { + return minimumSizeHint(); } void RichTextLabel::init() { @@ -38,10 +38,10 @@ void RichTextLabel::init() { setFrameShape(TQFrame::NoFrame); viewport()->setMouseTracking(false); - setPaper(tqcolorGroup().background()); + setPaper(colorGroup().background()); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding)); - viewport()->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding)); + viewport()->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding)); } #include "richtextlabel.moc" |