diff options
Diffstat (limited to 'kmid/kdisptext.h')
-rw-r--r-- | kmid/kdisptext.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmid/kdisptext.h b/kmid/kdisptext.h index 7cc1d620..6470b904 100644 --- a/kmid/kdisptext.h +++ b/kmid/kdisptext.h @@ -24,15 +24,15 @@ #ifndef _kdisptext_h_ #define _kdisptext_h_ -#include <qwidget.h> -#include <qscrollview.h> +#include <tqwidget.h> +#include <tqscrollview.h> #include <libkmid/player.h> struct kdispt_ev { SpecialEvent *spev; int xpos; - class QRect r; + class TQRect r; kdispt_ev *next; }; @@ -48,14 +48,14 @@ class QFont; class QFontMetrics; class QScrollBar; -class KDisplayText : public QScrollView +class KDisplayText : public TQScrollView { Q_OBJECT private: - QTextCodec *lyrics_codec; + TQTextCodec *lyrics_codec; - QFontMetrics *qfmetr; - QFont *qtextfont; + TQFontMetrics *qfmetr; + TQFont *qtextfont; int typeoftextevents; @@ -78,7 +78,7 @@ private: void RemoveLinkedList(void); int IsLineFeed(char c,int type=0); - virtual void drawContents(QPainter *qpaint,int clipx,int clipy,int clipw,int cliph); + virtual void drawContents(TQPainter *qpaint,int clipx,int clipy,int clipw,int cliph); kdispt_line * searchYOffset(int y, kdispt_line *start); @@ -87,11 +87,11 @@ private: int autoscrollv; protected: - virtual void resizeEvent(QResizeEvent *qre); - virtual void timerEvent(QTimerEvent *e); + virtual void resizeEvent(TQResizeEvent *qre); + virtual void timerEvent(TQTimerEvent *e); public: - KDisplayText(QWidget *parent,const char *name); + KDisplayText(TQWidget *parent,const char *name); virtual ~KDisplayText(); void ClearEv(bool totally=true); @@ -105,14 +105,14 @@ public: void PaintIn(int type); void gotomsec(ulong i); - QFont *getFont(void); + TQFont *getFont(void); void fontChanged(void); void saveLyrics(FILE *fh); - void setLyricsEncoding(const QString &enc); + void setLyricsEncoding(const TQString &enc); -// QSize sizeHint(); +// TQSize sizeHint(); public slots: void ScrollDown(); |