diff options
Diffstat (limited to 'kdevdesigner/designer/listboxdnd.h')
-rw-r--r-- | kdevdesigner/designer/listboxdnd.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdevdesigner/designer/listboxdnd.h b/kdevdesigner/designer/listboxdnd.h index c0f91845..3885dce2 100644 --- a/kdevdesigner/designer/listboxdnd.h +++ b/kdevdesigner/designer/listboxdnd.h @@ -27,34 +27,34 @@ #ifndef LISTBOXDND_H #define LISTBOXDND_H -#include <qptrlist.h> -#include <qlistbox.h> +#include <tqptrlist.h> +#include <tqlistbox.h> #include "listdnd.h" -typedef QPtrList<QListBoxItem> ListBoxItemList; +typedef TQPtrList<TQListBoxItem> ListBoxItemList; class ListBoxDnd : public ListDnd { Q_OBJECT public: // dragModes are enumerated in ListDnd - ListBoxDnd( QListBox * eventSource, const char * name = 0 ); + ListBoxDnd( TQListBox * eventSource, const char * name = 0 ); signals: - void dropped( QListBoxItem * ); - void dragged( QListBoxItem * ); + void dropped( TQListBoxItem * ); + void dragged( TQListBoxItem * ); public slots: - void confirmDrop( QListBoxItem * ); + void confirmDrop( TQListBoxItem * ); protected: - virtual bool dropEvent( QDropEvent * event ); - virtual bool mouseMoveEvent( QMouseEvent * event ); - virtual void updateLine( const QPoint & pos ); - virtual bool canDecode( QDragEnterEvent * event ); + virtual bool dropEvent( TQDropEvent * event ); + virtual bool mouseMoveEvent( TQMouseEvent * event ); + virtual void updateLine( const TQPoint & pos ); + virtual bool canDecode( TQDragEnterEvent * event ); private: - QListBoxItem * itemAt( QPoint pos ); + TQListBoxItem * itemAt( TQPoint pos ); int buildList( ListBoxItemList & list ); void insertList( ListBoxItemList & list ); void removeList( ListBoxItemList & list ); |