diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qlistview.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qlistview.cpp')
-rw-r--r-- | src/widgets/qlistview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp index c4a974369..22c04e03c 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 |