diff options
author | Michele Calgaro <[email protected]> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qscrollview.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/qscrollview.cpp')
-rw-r--r-- | src/widgets/qscrollview.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/widgets/qscrollview.cpp b/src/widgets/qscrollview.cpp index 1938ff23f..c759a9952 100644 --- a/src/widgets/qscrollview.cpp +++ b/src/widgets/qscrollview.cpp @@ -39,7 +39,7 @@ **********************************************************************/ #include "ntqwidget.h" -#ifndef QT_NO_SCROLLVIEW +#ifndef TQT_NO_SCROLLVIEW #include "ntqscrollbar.h" #include "ntqobjectlist.h" #include "ntqpainter.h" @@ -128,7 +128,7 @@ public: clipped_viewport( 0 ), flags( vpwflags ), vx( 0 ), vy( 0 ), vwidth( 1 ), vheight( 1 ), -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP autoscroll_timer( parent, "scrollview autoscroll timer" ), drag_autoscroll( TRUE ), #endif @@ -194,7 +194,7 @@ public: TQScrollView::ResizePolicy policy; TQScrollView::ScrollBarMode vMode; TQScrollView::ScrollBarMode hMode; -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP TQPoint cpDragStart; TQTimer autoscroll_timer; int autoscroll_time; @@ -585,7 +585,7 @@ TQScrollView::TQScrollView( TQWidget *parent, const char *name, WFlags f ) : WFlags flags = WResizeNoErase | (f&WPaintClever) | (f&WRepaintNoErase) | (f&WStaticContents); d = new TQScrollViewData( this, flags ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP connect( &d->autoscroll_timer, SIGNAL( timeout() ), this, SLOT( doDragAutoScroll() ) ); #endif @@ -1178,7 +1178,7 @@ void TQScrollView::mouseMoveEvent( TQMouseEvent *e ) //#### remove for 4.0 /*! \reimp */ -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT void TQScrollView::wheelEvent( TQWheelEvent *e ) { TQWheelEvent ce( viewport()->mapFromGlobal( e->globalPos() ), @@ -1515,7 +1515,7 @@ bool TQScrollView::eventFilter( TQObject *obj, TQEvent *e ) if ( ((TQMouseEvent*)e)->isAccepted() ) return TRUE; break; -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP case TQEvent::DragEnter: viewportDragEnterEvent( (TQDragEnterEvent*)e ); break; @@ -1541,7 +1541,7 @@ bool TQScrollView::eventFilter( TQObject *obj, TQEvent *e ) stopDragAutoScroll(); viewportDropEvent( (TQDropEvent*)e ); break; -#endif // QT_NO_DRAGANDDROP +#endif // TQT_NO_DRAGANDDROP case TQEvent::ContextMenu: viewportContextMenuEvent( (TQContextMenuEvent*)e ); if ( ((TQContextMenuEvent*)e)->isAccepted() ) @@ -1610,7 +1610,7 @@ void TQScrollView::contentsMouseMoveEvent( TQMouseEvent* e ) e->ignore(); } -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP /*! This event handler is called whenever the TQScrollView receives a @@ -1648,14 +1648,14 @@ void TQScrollView::contentsDropEvent( TQDropEvent * ) { } -#endif // QT_NO_DRAGANDDROP +#endif // TQT_NO_DRAGANDDROP /*! This event handler is called whenever the TQScrollView receives a wheelEvent() in \a{e}: the mouse position is translated to be a point on the contents. */ -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT void TQScrollView::contentsWheelEvent( TQWheelEvent * e ) { e->ignore(); @@ -1789,7 +1789,7 @@ void TQScrollView::viewportMouseMoveEvent( TQMouseEvent* e ) e->ignore(); } -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP /*!\internal @@ -1849,7 +1849,7 @@ void TQScrollView::viewportDropEvent( TQDropEvent* e ) e->setPoint(contentsToViewport(e->pos())); } -#endif // QT_NO_DRAGANDDROP +#endif // TQT_NO_DRAGANDDROP /*!\internal @@ -1859,7 +1859,7 @@ void TQScrollView::viewportDropEvent( TQDropEvent* e ) \sa TQWidget::wheelEvent() */ -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT void TQScrollView::viewportWheelEvent( TQWheelEvent* e ) { /* @@ -2743,7 +2743,7 @@ void TQScrollView::drawContents( TQPainter * ) { } -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP /*! \internal @@ -2827,7 +2827,7 @@ bool TQScrollView::dragAutoScroll() const return d->drag_autoscroll; } -#endif // QT_NO_DRAGANDDROP +#endif // TQT_NO_DRAGANDDROP /*!\internal */ @@ -2851,4 +2851,4 @@ TQSize TQScrollView::cachedSizeHint() const return d->use_cached_size_hint ? d->cachedSizeHint : TQSize(); } -#endif // QT_NO_SCROLLVIEW +#endif // TQT_NO_SCROLLVIEW |