From 27edf28be2772229a7974a007313ea30d92c3ffd Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/gui/kde/kpoti.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'arts/gui/kde/kpoti.cpp') diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp index d7cf50df..03a99c29 100644 --- a/arts/gui/kde/kpoti.cpp +++ b/arts/gui/kde/kpoti.cpp @@ -62,14 +62,14 @@ struct KPoti::KPotiPrivate dbp.setPen( TQt::NoPen ); TQRect drawRect = bgdb.rect(); - // create tqmask - TQBitmap tqmask( bgdb.size(), true ); - TQPainter maskpainter( &tqmask ); + // create mask + TQBitmap mask( bgdb.size(), true ); + TQPainter maskpainter( &mask ); maskpainter.setPen( TQt::NoPen ); maskpainter.setBrush( TQt::color1 ); maskpainter.drawEllipse( drawRect ); maskpainter.end(); - bgdb.setMask( tqmask ); + bgdb.setMask( mask ); // inset shadow KPixmap gradient( bgdb.size() ); @@ -102,14 +102,14 @@ struct KPoti::KPotiPrivate dbp.setPen( TQt::NoPen ); TQRect drawRect( potidb.rect() ); - // create tqmask - TQBitmap tqmask( potidb.size(), true ); - TQPainter maskpainter( &tqmask ); + // create mask + TQBitmap mask( potidb.size(), true ); + TQPainter maskpainter( &mask ); maskpainter.setPen( TQt::NoPen ); maskpainter.setBrush( TQt::color1 ); maskpainter.drawEllipse( drawRect ); maskpainter.end(); - potidb.setMask( tqmask ); + potidb.setMask( mask ); KPixmap gradient( potidb.size() ); KPixmapEffect::gradient( gradient, potiColor.dark( 130 ), potiColor.light( 130 ), KPixmapEffect::DiagonalGradient ); @@ -169,10 +169,10 @@ void KPoti::setText( const TQString & text ) /** Constructs a poti. - The \e tqparent and \e name arguments are sent to the TQWidget constructor. + The \e parent and \e name arguments are sent to the TQWidget constructor. */ -KPoti::KPoti( TQWidget *tqparent, const char *name ) - : TQFrame( tqparent, name, WResizeNoErase | WRepaintNoErase ) +KPoti::KPoti( TQWidget *parent, const char *name ) + : TQFrame( parent, name, WResizeNoErase | WRepaintNoErase ) , d( 0 ) { init(); @@ -188,12 +188,12 @@ KPoti::KPoti( TQWidget *tqparent, const char *name ) \arg \e step is the page step value. \arg \e value is the initial value. - The \e tqparent and \e name arguments are sent to the TQWidget constructor. + The \e parent and \e name arguments are sent to the TQWidget constructor. */ KPoti::KPoti( int minValue, int maxValue, int step, - int value, TQWidget *tqparent, const char *name ) - : TQFrame( tqparent, name, WResizeNoErase | WRepaintNoErase ) + int value, TQWidget *parent, const char *name ) + : TQFrame( parent, name, WResizeNoErase | WRepaintNoErase ) , TQRangeControl( minValue, maxValue, 1, step, value ) , d( 0 ) { -- cgit v1.2.1