summaryrefslogtreecommitdiffstats
path: root/src/app/treeview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/app/treeview.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/app/treeview.h')
-rw-r--r--src/app/treeview.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/app/treeview.h b/src/app/treeview.h
index cc94364..eea709b 100644
--- a/src/app/treeview.h
+++ b/src/app/treeview.h
@@ -25,15 +25,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kfiletreeview.h>
class KURL;
-class QShowEvent;
+class TQShowEvent;
namespace Gwenview {
class TreeView : public KFileTreeView {
Q_OBJECT
+ TQ_OBJECT
public:
- TreeView(QWidget* parent);
+ TreeView(TQWidget* tqparent);
~TreeView();
public slots:
@@ -44,10 +45,10 @@ signals:
void urlChanged(const KURL&);
protected:
- virtual void showEvent(QShowEvent*);
- virtual void contentsDragMoveEvent(QDragMoveEvent*);
- virtual void contentsDragLeaveEvent(QDragLeaveEvent*);
- virtual void contentsDropEvent(QDropEvent*);
+ virtual void showEvent(TQShowEvent*);
+ virtual void contentsDragMoveEvent(TQDragMoveEvent*);
+ virtual void contentsDragLeaveEvent(TQDragLeaveEvent*);
+ virtual void contentsDropEvent(TQDropEvent*);
protected slots:
virtual void slotNewTreeViewItems(KFileTreeBranch*, const KFileTreeViewItemList&);