summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/listboxdnd.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/listboxdnd.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/listboxdnd.h')
-rw-r--r--kdevdesigner/designer/listboxdnd.h24
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 );