summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/listviewdnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/listviewdnd.h')
-rw-r--r--kdevdesigner/designer/listviewdnd.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdevdesigner/designer/listviewdnd.h b/kdevdesigner/designer/listviewdnd.h
index 52b18091..9de07af9 100644
--- a/kdevdesigner/designer/listviewdnd.h
+++ b/kdevdesigner/designer/listviewdnd.h
@@ -27,13 +27,13 @@
#ifndef LISTVIEWDND_H
#define LISTVIEWDND_H
-#include <qptrlist.h>
-#include <qlistview.h>
+#include <tqptrlist.h>
+#include <tqlistview.h>
#include "listdnd.h"
class QWidget;
class QListView;
-typedef QPtrList<QListViewItem> ListViewItemList;
+typedef TQPtrList<TQListViewItem> ListViewItemList;
class ListViewDnd : public ListDnd
{
@@ -41,22 +41,22 @@ class ListViewDnd : public ListDnd
public:
enum DragMode { Flat = 16 }; // see ListDnd::DragMode
- ListViewDnd( QListView * eventSource, const char * name = 0 );
+ ListViewDnd( TQListView * eventSource, const char * name = 0 );
signals:
- void dropped( QListViewItem * );
+ void dropped( TQListViewItem * );
public slots:
- void confirmDrop( QListViewItem * );
+ void confirmDrop( TQListViewItem * );
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:
- QListViewItem * itemAt( QPoint pos );
- int dropDepth( QListViewItem * item, QPoint pos );
+ TQListViewItem * itemAt( TQPoint pos );
+ int dropDepth( TQListViewItem * item, TQPoint pos );
int buildFlatList( ListViewItemList & list );
int buildTreeList( ListViewItemList & list );
void setVisibleItems( bool b );