]> Git trees. - libqmvoc.git/commitdiff
Fix compiler warnings about unused arguments in paintEvent() and
authorJason Harris <kstars@30doradus.org>
Fri, 11 Jul 2003 18:01:30 +0000 (18:01 +0000)
committerJason Harris <kstars@30doradus.org>
Fri, 11 Jul 2003 18:01:30 +0000 (18:01 +0000)
resizeEvent().

CCMAIL: cniehaus@gmx.de, kstars@30doradus.org

svn path=/trunk/kdeedu/libkdeedu/; revision=236569

kdeeduplot/kplotwidget.cpp
kdeeduplot/kplotwidget.h

index f4d47c003c70e53b16f73169501f5b735a3941f3..ddfb4e7f74e55ff50bdad8e238196e1b2dfc4fc1 100644 (file)
@@ -123,7 +123,7 @@ void KPlotWidget::updateTickmarks() {
        } //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 );
@@ -131,7 +131,7 @@ void KPlotWidget::resizeEvent( QResizeEvent *e ) {
        buffer->resize( width(), height() );
 }
 
-void KPlotWidget::paintEvent( QPaintEvent *e ) {
+void KPlotWidget::paintEvent( QPaintEvent* /* e */ ) {
        QPainter p;
 
        p.begin( buffer );
index 7f237d28ef55c66b823113cfef4e3859bbf15139..6c41566aa8297a93df6810e9e1e878515bcc74b2 100644 (file)
@@ -141,11 +141,11 @@ public:
 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.