diff options
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; |