diff options
Diffstat (limited to 'src/kvirc/ui/kvi_themedlabel.h')
-rw-r--r-- | src/kvirc/ui/kvi_themedlabel.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/kvirc/ui/kvi_themedlabel.h b/src/kvirc/ui/kvi_themedlabel.h index b63e2386..a307149c 100644 --- a/src/kvirc/ui/kvi_themedlabel.h +++ b/src/kvirc/ui/kvi_themedlabel.h @@ -25,36 +25,37 @@ #include "kvi_settings.h" -#include <qframe.h> +#include <tqframe.h> #include "kvi_string.h" -class KVIRC_API KviThemedLabel : public QFrame +class KVIRC_API KviThemedLabel : public TQFrame { Q_OBJECT - Q_PROPERTY(int TransparencyCapable READ dummyRead) + TQ_OBJECT + TQ_PROPERTY(int TransparencyCapable READ dummyRead) public: - KviThemedLabel(QWidget * par,const char * name); + KviThemedLabel(TQWidget * par,const char * name); ~KviThemedLabel(); private: - QString m_szText; + TQString m_szText; bool m_bAutoHeight; protected: #ifdef COMPILE_USE_QT4 - virtual void paintEvent ( QPaintEvent * event ); + virtual void paintEvent ( TQPaintEvent * event ); #else - virtual void drawContents(QPainter *p); + virtual void drawContents(TQPainter *p); #endif - virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(TQMouseEvent *e); public: int dummyRead() const { return 0; }; void setText(const char * text); - void setText(const QString& text); - QString text() { return m_szText; }; + void setText(const TQString& text); + TQString text() { return m_szText; }; void setAutoHeight(bool value) { m_bAutoHeight=value; }; void applyOptions(); -// QSize sizeHint(); +// TQSize tqsizeHint(); signals: void doubleClicked(); }; |