summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatun/scrollinglabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/noatun/scrollinglabel.h')
-rw-r--r--noatun/library/noatun/scrollinglabel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun/library/noatun/scrollinglabel.h b/noatun/library/noatun/scrollinglabel.h
index 1615a64f..231d3158 100644
--- a/noatun/library/noatun/scrollinglabel.h
+++ b/noatun/library/noatun/scrollinglabel.h
@@ -23,7 +23,7 @@
#ifndef SCROLLING_LABEL_H
#define SCROLLING_LABEL_H
-#include <qwidget.h>
+#include <tqwidget.h>
/**
* A clever label that scrolls its contents as soon as there is not enough
* space to show everything at once.
@@ -33,7 +33,7 @@ class ScrollingLabel : public QWidget
Q_OBJECT
public:
- ScrollingLabel(const QString &initialText,QWidget *parent,
+ ScrollingLabel(const TQString &initialText,TQWidget *parent,
const char * name = 0);
virtual ~ScrollingLabel();
@@ -41,15 +41,15 @@ class ScrollingLabel : public QWidget
* Sets the label's text
* set @p time (ms) if you want to display a temporary message
**/
- virtual void setText(const QString &text, int time = -1);
+ virtual void setText(const TQString &text, int time = -1);
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
/**
* @return the label's text.
**/
- virtual QString text() const;
+ virtual TQString text() const;
/**
* Used to enable/disable scrolling manually
@@ -58,8 +58,8 @@ class ScrollingLabel : public QWidget
protected:
- virtual void paintEvent(QPaintEvent *);
- virtual void resizeEvent(QResizeEvent *);
+ virtual void paintEvent(TQPaintEvent *);
+ virtual void resizeEvent(TQResizeEvent *);
protected slots: