summaryrefslogtreecommitdiffstats
path: root/src/widgets/qlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qlistview.cpp')
-rw-r--r--src/widgets/qlistview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp
index c4a97436..22c04e03 100644
--- a/src/widgets/qlistview.cpp
+++ b/src/widgets/qlistview.cpp
@@ -39,7 +39,7 @@
**********************************************************************/
#include "ntqlistview.h"
-#ifndef QT_NO_LISTVIEW
+#ifndef TQT_NO_LISTVIEW
#include "ntqtimer.h"
#include "ntqheader.h"
#include "ntqpainter.h"
@@ -260,7 +260,7 @@ struct TQListViewPrivate
TQListView::ResizeMode resizeMode;
};
-#ifndef QT_NO_TOOLTIP
+#ifndef TQT_NO_TOOLTIP
class TQListViewToolTip : public TQToolTip
{
public:
@@ -1125,7 +1125,7 @@ bool TQListViewItem::acceptDrop( const TQMimeSource * ) const
return FALSE;
}
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
/*!
This function is called when something was dropped on the item. \a e
@@ -2089,7 +2089,7 @@ void TQListViewItem::paintCell( TQPainter * p, const TQColorGroup & cg,
ci->truncated = TRUE;
ci->tmpText = qEllipsisText( t, fm, width - pw, align );
} else if ( mlenabled && fm.width( t ) + pw > width ) {
-#ifndef QT_NO_STRINGLIST
+#ifndef TQT_NO_STRINGLIST
TQStringList list = TQStringList::split( TQChar('\n'), t, TRUE );
for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it ) {
TQString z = *it;
@@ -2678,7 +2678,7 @@ void TQListView::init()
d->useDoubleBuffer = FALSE;
d->startDragItem = 0;
d->toolTips = TRUE;
-#ifndef QT_NO_TOOLTIP
+#ifndef TQT_NO_TOOLTIP
d->toolTip = new TQListViewToolTip( viewport(), this );
#endif
d->updateHeader = FALSE;
@@ -2835,7 +2835,7 @@ TQListView::~TQListView()
d->drawables = 0;
delete d->vci;
d->vci = 0;
-#ifndef QT_NO_TOOLTIP
+#ifndef TQT_NO_TOOLTIP
delete d->toolTip;
d->toolTip = 0;
#endif
@@ -4694,7 +4694,7 @@ void TQListView::contentsMouseMoveEvent( TQMouseEvent * e )
}
if ( ( d->dragStartPos - e->pos() ).manhattanLength() > TQApplication::startDragDistance() ) {
d->buttonDown = FALSE;
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
startDrag();
#endif
}
@@ -7216,7 +7216,7 @@ void TQListView::openFocusItem()
static const int autoopenTime = 750;
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
/*! \reimp */
@@ -7329,7 +7329,7 @@ void TQListView::startDrag()
drag->drag();
}
-#endif // QT_NO_DRAGANDDROP
+#endif // TQT_NO_DRAGANDDROP
/*!
\property TQListView::defaultRenameAction
@@ -8203,4 +8203,4 @@ void TQListView::adjustColumn( int col )
}
}
-#endif // QT_NO_LISTVIEW
+#endif // TQT_NO_LISTVIEW