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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/richtextlabel.cpp b/src/gui/richtextlabel.cpp
index a4cdde4..a0b3a01 100644
--- a/src/gui/richtextlabel.cpp
+++ b/src/gui/richtextlabel.cpp
@@ -15,33 +15,33 @@
#include <kdebug.h>
-#include <qlayout.h>
+#include <tqlayout.h>
using Tellico::GUI::RichTextLabel;
-RichTextLabel::RichTextLabel(QWidget* parent) : QTextEdit(parent) {
+RichTextLabel::RichTextLabel(TQWidget* tqparent) : TQTextEdit(tqparent) {
init();
}
-RichTextLabel::RichTextLabel(const QString& text, QWidget* parent) : QTextEdit(text, QString::null, parent) {
+RichTextLabel::RichTextLabel(const TQString& text, TQWidget* tqparent) : TQTextEdit(text, TQString(), tqparent) {
init();
}
-QSize RichTextLabel::sizeHint() const {
- return minimumSizeHint();
+TQSize RichTextLabel::tqsizeHint() const {
+ return tqminimumSizeHint();
}
void RichTextLabel::init() {
setReadOnly(true);
- setTextFormat(Qt::RichText);
+ setTextFormat(TQt::RichText);
- setFrameShape(QFrame::NoFrame);
+ setFrameShape(TQFrame::NoFrame);
viewport()->setMouseTracking(false);
- setPaper(colorGroup().background());
+ setPaper(tqcolorGroup().background());
- setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding));
- viewport()->setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding));
+ tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
+ viewport()->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding));
}
#include "richtextlabel.moc"