summaryrefslogtreecommitdiffstats
path: root/kmid/kdisptext.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/kdisptext.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/kdisptext.h')
-rw-r--r--kmid/kdisptext.h28
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();