summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bdatadirtreeview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/projects/k3bdatadirtreeview.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/projects/k3bdatadirtreeview.h')
-rw-r--r--src/projects/k3bdatadirtreeview.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/projects/k3bdatadirtreeview.h b/src/projects/k3bdatadirtreeview.h
index c79a9c6..2ffaaa7 100644
--- a/src/projects/k3bdatadirtreeview.h
+++ b/src/projects/k3bdatadirtreeview.h
@@ -21,7 +21,7 @@
#include <k3blistview.h>
#include <kurl.h>
-#include <qmap.h>
+#include <tqmap.h>
class K3bDataView;
class K3bDataDoc;
@@ -33,8 +33,8 @@ class KActionCollection;
class KActionMenu;
class KAction;
class K3bView;
-class QDragMoveEvent;
-class QDragLeaveEvent;
+class TQDragMoveEvent;
+class TQDragLeaveEvent;
/**
@@ -44,9 +44,10 @@ class QDragLeaveEvent;
class K3bDataDirTreeView : public K3bListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- K3bDataDirTreeView( K3bView*, K3bDataDoc*, QWidget* parent );
+ K3bDataDirTreeView( K3bView*, K3bDataDoc*, TQWidget* tqparent );
virtual ~K3bDataDirTreeView();
K3bDataDirViewItem* root() { return m_root; }
@@ -60,13 +61,13 @@ class K3bDataDirTreeView : public K3bListView
void setCurrentDir( K3bDirItem* );
signals:
- // void urlsDropped( const KURL::List&, QListViewItem* parent );
+ // void urlsDropped( const KURL::List&, TQListViewItem* tqparent );
void dirSelected( K3bDirItem* );
protected:
- bool acceptDrag(QDropEvent* e) const;
- void contentsDragMoveEvent( QDragMoveEvent* e );
- void contentsDragLeaveEvent( QDragLeaveEvent* e );
+ bool acceptDrag(TQDropEvent* e) const;
+ void contentsDragMoveEvent( TQDragMoveEvent* e );
+ void contentsDragLeaveEvent( TQDragLeaveEvent* e );
KActionCollection* m_actionCollection;
KActionMenu* m_popupMenu;
@@ -76,7 +77,7 @@ class K3bDataDirTreeView : public K3bListView
KAction* m_actionProperties;
protected slots:
- virtual void slotDropped( QDropEvent* e, QListViewItem* after, QListViewItem* parent );
+ virtual void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* tqparent );
private:
void setupActions();
@@ -93,15 +94,15 @@ class K3bDataDirTreeView : public K3bListView
* We save the dirItems in a map to have a fast way
* for checking for new or removed items
*/
- QMap<K3bDirItem*, K3bDataDirViewItem*> m_itemMap;
+ TQMap<K3bDirItem*, K3bDataDirViewItem*> m_itemMap;
class Private;
Private* d;
private slots:
- void slotExecuted( QListViewItem* );
+ void slotExecuted( TQListViewItem* );
void slotDataItemRemoved( K3bDataItem* );
- void showPopupMenu( KListView*, QListViewItem* _item, const QPoint& );
+ void showPopupMenu( KListView*, TQListViewItem* _item, const TQPoint& );
void slotRenameItem();
void slotRemoveItem();
void slotNewDir();