[kgraphviewer-devel] [KGraphViewer/libkgraphviz] d26faab: Fix visibility of DotGraphView::wheelEvent()

Kevin Funk krf at electrostorm.net
Tue Dec 21 16:40:26 CET 2010


commit d26faab5b4a1851165e382070327028c5b62d74e
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date:   Mon Dec 20 16:45:48 2010 +0100

    Fix visibility of DotGraphView::wheelEvent()

diff --git a/src/kgraphviz/dotgraphview.h b/src/kgraphviz/dotgraphview.h
index 8e769ad..a945ad4 100644
--- a/src/kgraphviz/dotgraphview.h
+++ b/src/kgraphviz/dotgraphview.h
@@ -73,8 +73,6 @@ public:
   bool loadLibrary(const QString& dotFileName);
   bool loadLibrary(Agraph_t* graph, const QString& layoutCommand = "dot");
 
-  virtual void wheelEvent(QWheelEvent* e);
-
   /// multiplies current zoom factor with @p factor
   void applyZoom(double factor);
   /// sets zoom factor to @p factor
@@ -187,6 +185,7 @@ protected:
   void keyPressEvent(QKeyEvent*);
   void focusInEvent(QFocusEvent*);
   void focusOutEvent(QFocusEvent*);
+  void wheelEvent(QWheelEvent* e);
   
   void timerEvent ( QTimerEvent * event );
   void leaveEvent ( QEvent * event );


More information about the kgraphviewer-devel mailing list