diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/listdnd.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/listdnd.h')
-rw-r--r-- | kdevdesigner/designer/listdnd.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdevdesigner/designer/listdnd.h b/kdevdesigner/designer/listdnd.h index 9e3e6351..8594085b 100644 --- a/kdevdesigner/designer/listdnd.h +++ b/kdevdesigner/designer/listdnd.h @@ -27,33 +27,33 @@ #ifndef LISTDND_H #define LISTDND_H -#include <qobject.h> -#include <qscrollview.h> +#include <tqobject.h> +#include <tqscrollview.h> class ListDnd : public QObject { Q_OBJECT public: enum DragMode { None = 0, External = 1, Internal = 2, Both = 3, Move = 4, NullDrop = 8 }; - ListDnd( QScrollView * eventSource, const char * name = 0 ); + ListDnd( TQScrollView * eventSource, const char * name = 0 ); void setDragMode( int mode ); int dragMode() const; - bool eventFilter( QObject *, QEvent * event ); + bool eventFilter( TQObject *, TQEvent * event ); protected: - virtual bool dragEnterEvent( QDragEnterEvent * event ); - virtual bool dragLeaveEvent( QDragLeaveEvent * ); - virtual bool dragMoveEvent( QDragMoveEvent * event ); - virtual bool dropEvent( QDropEvent * event ); - virtual bool mousePressEvent( QMouseEvent * event ); - virtual bool mouseMoveEvent( QMouseEvent * event ); - virtual void updateLine( const QPoint & dragPos ); - virtual bool canDecode( QDragEnterEvent * event ); + virtual bool dragEnterEvent( TQDragEnterEvent * event ); + virtual bool dragLeaveEvent( TQDragLeaveEvent * ); + virtual bool dragMoveEvent( TQDragMoveEvent * event ); + virtual bool dropEvent( TQDropEvent * event ); + virtual bool mousePressEvent( TQMouseEvent * event ); + virtual bool mouseMoveEvent( TQMouseEvent * event ); + virtual void updateLine( const TQPoint & dragPos ); + virtual bool canDecode( TQDragEnterEvent * event ); - QScrollView * src; - QWidget * line; - QPoint mousePressPos; - QPoint dragPos; + TQScrollView * src; + TQWidget * line; + TQPoint mousePressPos; + TQPoint dragPos; bool dragInside; bool dragDelete; bool dropConfirmed; |