summaryrefslogtreecommitdiffstats
path: root/src/gui/richtextlabel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/gui/richtextlabel.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
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 85a9dde..632f771 100644
--- a/src/gui/richtextlabel.cpp
+++ b/src/gui/richtextlabel.cpp
@@ -15,7 +15,7 @@
#include <kdebug.h>
-#include <layout.h>
+#include <tqlayout.h>
using Tellico::GUI::RichTextLabel;
@@ -27,8 +27,8 @@ RichTextLabel::RichTextLabel(const TQString& text, TQWidget* parent) : TQTextEdi
init();
}
-TQSize RichTextLabel::sizeHint() const {
- return minimumSizeHint();
+TQSize RichTextLabel::tqsizeHint() const {
+ return tqminimumSizeHint();
}
void RichTextLabel::init() {
@@ -38,10 +38,10 @@ void RichTextLabel::init() {
setFrameShape(TQFrame::NoFrame);
viewport()->setMouseTracking(false);
- setPaper(colorGroup().background());
+ setPaper(tqcolorGroup().background());
- setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
- viewport()->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
+ tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
+ viewport()->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
}
#include "richtextlabel.moc"