summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPBPreview.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrPBPreview.h
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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 );