summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPBPreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPBPreview.h')
-rw-r--r--kpresenter/KPrPBPreview.h24
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 );