diff options
Diffstat (limited to 'src/gui/richtextlabel.h')
-rw-r--r-- | src/gui/richtextlabel.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gui/richtextlabel.h b/src/gui/richtextlabel.h index f45a328..9f57fb6 100644 --- a/src/gui/richtextlabel.h +++ b/src/gui/richtextlabel.h @@ -14,7 +14,7 @@ #ifndef TELLICO_GUI_RICHTEXTLABEL_H #define TELLICO_GUI_RICHTEXTLABEL_H -#include <qtextedit.h> +#include <tqtextedit.h> namespace Tellico { namespace GUI { @@ -22,22 +22,23 @@ namespace Tellico { /** * @author Robby Stephenson */ -class RichTextLabel : public QTextEdit { +class RichTextLabel : public TQTextEdit { Q_OBJECT + TQ_OBJECT public: - RichTextLabel(QWidget* parent); - RichTextLabel(const QString& text, QWidget* parent); + RichTextLabel(TQWidget* tqparent); + RichTextLabel(const TQString& text, TQWidget* tqparent); - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; private: void init(); // redefine these to disable selection - void contentsMousePressEvent(QMouseEvent*) {} - void contentsMouseMoveEvent(QMouseEvent*) {} - void contentsMouseReleaseEvent(QMouseEvent*) {} - void contentsMouseDoubleClickEvent(QMouseEvent*) {} + void contentsMousePressEvent(TQMouseEvent*) {} + void contentsMouseMoveEvent(TQMouseEvent*) {} + void contentsMouseReleaseEvent(TQMouseEvent*) {} + void contentsMouseDoubleClickEvent(TQMouseEvent*) {} }; } // end namespace |