summaryrefslogtreecommitdiffstats
path: root/krdc/kfullscreenpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/kfullscreenpanel.h')
-rw-r--r--krdc/kfullscreenpanel.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/krdc/kfullscreenpanel.h b/krdc/kfullscreenpanel.h
index 43b4944d..359a4d5c 100644
--- a/krdc/kfullscreenpanel.h
+++ b/krdc/kfullscreenpanel.h
@@ -18,15 +18,15 @@
#ifndef KFULLSCREENPANEL_H
#define KFULLSCREENPANEL_H
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qevent.h>
-#include <qtimer.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
+#include <tqevent.h>
+#include <tqtimer.h>
-class Counter : public QObject {
+class Counter : public TQObject {
Q_OBJECT
private:
- QTimer m_timer;
+ TQTimer m_timer;
float m_stopValue, m_currentValue, m_stepSize;
int m_timeoutMs;
@@ -44,28 +44,28 @@ signals:
};
-class KFullscreenPanel : public QWidget {
+class KFullscreenPanel : public TQWidget {
Q_OBJECT
private:
- QWidget *m_child;
- QVBoxLayout *m_layout;
- QSize m_fsResolution;
+ TQWidget *m_child;
+ TQVBoxLayout *m_layout;
+ TQSize m_fsResolution;
Counter m_counter;
void doLayout();
public:
- KFullscreenPanel(QWidget* parent, const char *name,
- const QSize &resolution);
+ KFullscreenPanel(TQWidget* parent, const char *name,
+ const TQSize &resolution);
~KFullscreenPanel();
- void setChild(QWidget *child);
+ void setChild(TQWidget *child);
void startShow();
void startHide();
protected:
- void enterEvent(QEvent *e);
- void leaveEvent(QEvent *e);
+ void enterEvent(TQEvent *e);
+ void leaveEvent(TQEvent *e);
private slots:
void movePanel(float posY);