summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/kfiledndiconview.cpp
diff options
context:
space:
mode:
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
***************************************************************************/
@@ -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