summaryrefslogtreecommitdiffstats
path: root/src/gui/richtextlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/richtextlabel.cpp')
-rw-r--r--src/gui/richtextlabel.cpp12
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"