diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kcursor_private.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kcursor_private.h')
-rw-r--r-- | kdeui/kcursor_private.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdeui/kcursor_private.h b/kdeui/kcursor_private.h index 0a85d0ec5..b1352bb6b 100644 --- a/kdeui/kcursor_private.h +++ b/kdeui/kcursor_private.h @@ -21,9 +21,9 @@ #ifndef KCURSOR_PRIVATE_H #define KCURSOR_PRIVATE_H -#include <qcursor.h> -#include <qobject.h> -#include <qptrdict.h> +#include <tqcursor.h> +#include <tqobject.h> +#include <tqptrdict.h> class QPoint; class QTimer; @@ -41,10 +41,10 @@ class KCursorPrivateAutoHideEventFilter : public QObject Q_OBJECT public: - KCursorPrivateAutoHideEventFilter( QWidget* widget ); + KCursorPrivateAutoHideEventFilter( TQWidget* widget ); ~KCursorPrivateAutoHideEventFilter(); - virtual bool eventFilter( QObject *o, QEvent *e ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); void resetWidget(); @@ -53,14 +53,14 @@ private slots: void unhideCursor(); private: - QWidget* actualWidget() const; + TQWidget* actualWidget() const; - QTimer m_autoHideTimer; - QWidget* m_widget; + TQTimer m_autoHideTimer; + TQWidget* m_widget; bool m_wasMouseTracking; bool m_isCursorHidden; bool m_isOwnCursor; - QCursor m_oldCursor; + TQCursor m_oldCursor; }; /** @@ -76,13 +76,13 @@ class KCursorPrivate : public QObject public: static KCursorPrivate *self(); - void setAutoHideCursor( QWidget *w, bool enable, bool customEventFilter ); - virtual bool eventFilter( QObject *o, QEvent *e ); + void setAutoHideCursor( TQWidget *w, bool enable, bool customEventFilter ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); int hideCursorDelay; private slots: - void slotWidgetDestroyed( QObject* ); + void slotWidgetDestroyed( TQObject* ); private: KCursorPrivate(); @@ -91,7 +91,7 @@ private: bool enabled; static KCursorPrivate *s_self; - QPtrDict<KCursorPrivateAutoHideEventFilter> m_eventFilters; + TQPtrDict<KCursorPrivateAutoHideEventFilter> m_eventFilters; }; |