resizeEvent().
CCMAIL: cniehaus@gmx.de, kstars@30doradus.org
svn path=/trunk/kdeedu/libkdeedu/; revision=236569
} //end for iaxis
}
-void KPlotWidget::resizeEvent( QResizeEvent *e ) {
+void KPlotWidget::resizeEvent( QResizeEvent* /* e */ ) {
int newWidth = width() - 2*XPADDING;
int newHeight = height() - 2*YPADDING;
PixRect = QRect( 0, 0, newWidth, newHeight );
buffer->resize( width(), height() );
}
-void KPlotWidget::paintEvent( QPaintEvent *e ) {
+void KPlotWidget::paintEvent( QPaintEvent* /* e */ ) {
QPainter p;
p.begin( buffer );
protected:
/**@short the paint event handler, executed when update() or repaint() is called.
*/
- virtual void paintEvent( QPaintEvent *e );
+ virtual void paintEvent( QPaintEvent* /* e */ );
/**@short the resize event handler, called when the widget is resized.
*/
- virtual void resizeEvent( QResizeEvent *e );
+ virtual void resizeEvent( QResizeEvent* /* e */ );
/**@short draws all of the objects onto the widget. Internal use only; one should simply call update()
*to draw the widget with axes and all objects.