diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krdc/kfullscreenpanel.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/kfullscreenpanel.h')
-rw-r--r-- | krdc/kfullscreenpanel.h | 30 |
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); |