summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/kfiledndiconview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/autotools/kfiledndiconview.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/autotools/kfiledndiconview.cpp')
-rw-r--r--buildtools/autotools/kfiledndiconview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildtools/autotools/kfiledndiconview.cpp b/buildtools/autotools/kfiledndiconview.cpp
index 1a491c62..d230eee7 100644
--- a/buildtools/autotools/kfiledndiconview.cpp
+++ b/buildtools/autotools/kfiledndiconview.cpp
@@ -2,7 +2,7 @@
* kfiledndiconview.cpp - description
* -------------------
* begin : Wed Nov 1 2000
-* copyright : (C) 2000 by Björn Sahlström
+* copyright : (C) 2000 by Bj�rn Sahlstr�m
* email : kbjorn@users.sourceforge.net
***************************************************************************/
@@ -16,7 +16,7 @@
***************************************************************************/
//////////////////////////////////////////////////////
-// Qt specific includes
+// TQt specific includes
#include <tqptrlist.h>
#include <tqapplication.h>
//////////////////////////////////////////////////////
@@ -33,8 +33,8 @@
static int autoOpenTime = 750;
#endif
//-----------------------------------------------
-KFileDnDIconView::KFileDnDIconView( TQWidget *parent, const char *name )
- : KFileIconView(parent,name), m_autoOpenTimer( this ),
+KFileDnDIconView::KFileDnDIconView( TQWidget *tqparent, const char *name )
+ : KFileIconView(tqparent,name), m_autoOpenTimer( this ),
m_autoOpenTime( autoOpenTime ), m_useAutoOpenTimer( true ),
m_dropItem(0), m_dndEnabled( true )
{
@@ -84,7 +84,7 @@ void KFileDnDIconView::contentsDragEnterEvent( TQDragEnterEvent *e ) {
return;
}
e->acceptAction(); // Yes
- TQIconViewItem *i = findItem( contentsToViewport( e->pos() ) );
+ TQIconViewItem *i = tqfindItem( contentsToViewport( e->pos() ) );
if ( i && m_useAutoOpenTimer) { // are we over an item ?
m_dropItem = i; // set new m_dropItem
m_autoOpenTimer.start( m_autoOpenTime ); // restart timer
@@ -97,7 +97,7 @@ void KFileDnDIconView::contentsDragMoveEvent( TQDragMoveEvent *e ) {
return;
}
e->acceptAction(); // Yes
- TQIconViewItem *i = findItem( contentsToViewport( e->pos() ) );
+ TQIconViewItem *i = tqfindItem( contentsToViewport( e->pos() ) );
if( ! m_useAutoOpenTimer )
return;
if ( i ) { // are we over an item ?
@@ -189,6 +189,6 @@ bool KFileDnDIconView::acceptDrag(TQDropEvent* e ) const {
|| e->action() == TQDropEvent::Link );
}
//-----------------------------------------------
-#ifndef NO_INCLUDE_MOCFILES
+#ifndef NO_INCLUDE_TQMOCFILES
#include "kfiledndiconview.moc"
#endif