diff options
Diffstat (limited to 'arts/gui/kde/kpoti.cpp')
-rw-r--r-- | arts/gui/kde/kpoti.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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 ) { |