summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqscrollview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitd296f1d337dabfeae5191955fdadb874965dbbe9 (patch)
tree1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/widgets/tqscrollview.cpp
parenteaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff)
downloadexperimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz
experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqscrollview.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqscrollview.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqscrollview.cpp b/tqtinterface/qt4/src/widgets/tqscrollview.cpp
index dba2bc0..f2dbfd6 100644
--- a/tqtinterface/qt4/src/widgets/tqscrollview.cpp
+++ b/tqtinterface/qt4/src/widgets/tqscrollview.cpp
@@ -104,8 +104,8 @@ class TQViewportWidget : public TQWidget
TQ_OBJECT
public:
- TQViewportWidget( TQScrollView* tqparent=0, const char* name=0, WFlags f = 0 )
- : TQWidget( tqparent, name, f ) {}
+ TQViewportWidget( TQScrollView* parent=0, const char* name=0, WFlags f = 0 )
+ : TQWidget( parent, name, f ) {}
};
class TQClipperWidget : public TQWidget
@@ -113,26 +113,26 @@ class TQClipperWidget : public TQWidget
TQ_OBJECT
public:
- TQClipperWidget( TQWidget * tqparent=0, const char * name=0, WFlags f=0 )
- : TQWidget ( tqparent,name,f) {}
+ TQClipperWidget( TQWidget * parent=0, const char * name=0, WFlags f=0 )
+ : TQWidget ( parent,name,f) {}
};
#include "tqscrollview.tqmoc"
class TQScrollViewData {
public:
- TQScrollViewData(TQScrollView* tqparent, int vpwflags) :
- hbar( new TQScrollBar( Qt::Horizontal, tqparent, "qt_hbar" ) ),
- vbar( new TQScrollBar( Qt::Vertical, tqparent, "qt_vbar" ) ),
- viewport( new TQViewportWidget( tqparent, "qt_viewport", (WFlags)vpwflags ) ),
+ TQScrollViewData(TQScrollView* parent, int vpwflags) :
+ hbar( new TQScrollBar( Qt::Horizontal, parent, "qt_hbar" ) ),
+ vbar( new TQScrollBar( Qt::Vertical, parent, "qt_vbar" ) ),
+ viewport( new TQViewportWidget( parent, "qt_viewport", (WFlags)vpwflags ) ),
clipped_viewport( 0 ),
flags( vpwflags ),
vx( 0 ), vy( 0 ), vwidth( 1 ), vheight( 1 ),
#ifndef TQT_NO_DRAGANDDROP
- autoscroll_timer( tqparent, "scrollview autoscroll timer" ),
+ autoscroll_timer( parent, "scrollview autoscroll timer" ),
drag_autoscroll( TRUE ),
#endif
- scrollbar_timer( tqparent, "scrollview scrollbar timer" ),
+ scrollbar_timer( parent, "scrollview scrollbar timer" ),
inresize( FALSE ), use_cached_size_hint( TRUE )
{
l_marg = r_marg = t_marg = b_marg = 0;
@@ -142,7 +142,7 @@ public:
vMode = TQScrollView::Auto;
hMode = TQScrollView::Auto;
corner = 0;
- defaultCorner = new TQWidget( tqparent, "qt_default_corner" );
+ defaultCorner = new TQWidget( parent, "qt_default_corner" );
defaultCorner->hide();
vbar->setSteps( 20, 1/*set later*/ );
hbar->setSteps( 20, 1/*set later*/ );
@@ -473,7 +473,7 @@ void TQScrollViewData::viewportResized( int w, int h )
To enable drag-and-drop, you would setAcceptDrops(TRUE) on the
TQScrollView (because drag-and-drop events propagate to the
- tqparent). But to work out the logical position in the view, you
+ parent). But to work out the logical position in the view, you
would need to map the drop co-ordinate from being relative to the
TQScrollView to being relative to the contents; use the function
viewportToContents() for this.
@@ -571,16 +571,16 @@ void TQScrollViewData::viewportResized( int w, int h )
//#### is received
/*!
- Constructs a TQScrollView called \a name with tqparent \a tqparent and
+ Constructs a TQScrollView called \a name with parent \a parent and
widget flags \a f.
The widget flags \c WStaticContents, \c WNoAutoErase and \c
WPaintClever are propagated to the viewport() widget. The other
- widget flags are propagated to the tqparent constructor as usual.
+ widget flags are propagated to the parent constructor as usual.
*/
-TQScrollView::TQScrollView( TQWidget *tqparent, const char *name, WFlags f ) :
- TQFrame( tqparent, name, f & (~TQt::WStaticContents) & (~TQt::WResizeNoErase) )
+TQScrollView::TQScrollView( TQWidget *parent, const char *name, WFlags f ) :
+ TQFrame( parent, name, f & (~TQt::WStaticContents) & (~TQt::WResizeNoErase) )
{
WFlags flags = (WFlags)(TQt::WResizeNoErase | (f&TQt::WPaintClever) | (f&WRepaintNoErase) | (f&TQt::WStaticContents));
d = new TQScrollViewData( this, flags );
@@ -1304,7 +1304,7 @@ TQWidget* TQScrollView::cornerWidget() const
destroyed unless you separately reparent the widget after setting
some other corner widget (or 0).
- Any \e newly set widget should have no current tqparent.
+ Any \e newly set widget should have no current parent.
By default, no corner widget is present.