diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kpresenter/KPrPBPreview.h | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kpresenter/KPrPBPreview.h')
-rw-r--r-- | kpresenter/KPrPBPreview.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kpresenter/KPrPBPreview.h b/kpresenter/KPrPBPreview.h index c3ba061e..a3f1b283 100644 --- a/kpresenter/KPrPBPreview.h +++ b/kpresenter/KPrPBPreview.h @@ -49,21 +49,21 @@ public: KPrPBPreview( TQWidget* parent, const char* name, PaintType _paintType = Pen ); ~KPrPBPreview(); - void setPen( const KoPen &_pen ) { pen = _pen; tqrepaint( true ); } - void setBrush( const TQBrush &_brush ) { brush = _brush; tqrepaint( true ); } - void setLineBegin( LineEnd lb ) { lineBegin = lb; tqrepaint( true ); } - void setLineEnd( LineEnd le ) { lineEnd = le; tqrepaint( true ); } - void setGradient( KPrGradient *g ) { if ( g ) { gradient = g; } tqrepaint( true ); } - void setPaintType( PaintType pt ) { paintType = pt; tqrepaint(true); } + void setPen( const KoPen &_pen ) { pen = _pen; repaint( true ); } + void setBrush( const TQBrush &_brush ) { brush = _brush; repaint( true ); } + void setLineBegin( LineEnd lb ) { lineBegin = lb; repaint( true ); } + void setLineEnd( LineEnd le ) { lineEnd = le; repaint( true ); } + void setGradient( KPrGradient *g ) { if ( g ) { gradient = g; } repaint( true ); } + void setPaintType( PaintType pt ) { paintType = pt; repaint(true); } void setGradient( const TQColor &_c1, const TQColor &_c2, BCType _t, bool _unbalanced, int _xfactor, int _yfactor ); - void setColor1( const TQColor &_color ) { gradient->setColor1( _color ); tqrepaint( false ); } - void setColor2( const TQColor &_color ) { gradient->setColor2( _color ); tqrepaint( false ); } - void setBackColorType( BCType _type ) { gradient->setBackColorType( _type ); tqrepaint( false ); } - void setUnbalanced( bool b ) { gradient->setUnbalanced( b ); tqrepaint( false ); } - void setXFactor( int i ) { gradient->setXFactor( i ); tqrepaint( false ); } - void setYFactor( int i ) { gradient->setYFactor( i ); tqrepaint( false ); } + void setColor1( const TQColor &_color ) { gradient->setColor1( _color ); repaint( false ); } + void setColor2( const TQColor &_color ) { gradient->setColor2( _color ); repaint( false ); } + void setBackColorType( BCType _type ) { gradient->setBackColorType( _type ); repaint( false ); } + void setUnbalanced( bool b ) { gradient->setUnbalanced( b ); repaint( false ); } + void setXFactor( int i ) { gradient->setXFactor( i ); repaint( false ); } + void setYFactor( int i ) { gradient->setYFactor( i ); repaint( false ); } protected: void drawContents( TQPainter *p ); |