[kgraphviewer-devel] [KGraphViewer] af53585: Fix forward declaration

Montel Laurent montel at kde.org
Tue Dec 14 13:50:44 CET 2010


commit af535859f0d6d3810b79949416ba183c73602645
branch master
Author: Montel Laurent <montel at kde.org>
Date:   Tue Dec 14 13:50:28 2010 +0100

    Fix forward declaration

diff --git a/src/part/dotgraphview.h b/src/part/dotgraphview.h
index 3fb6c3b..6dd0054 100644
--- a/src/part/dotgraphview.h
+++ b/src/part/dotgraphview.h
@@ -45,9 +45,7 @@
 #include "kgraphviewer_interface.h"
 
 class KSelectAction;
-class KToggleAction;
 
-class QMenu;
 class QKeyEvent;
 class QMouseEvent;
 class QFocusEvent;
@@ -60,12 +58,9 @@ namespace KGraphViewer
 {
 
 class GraphElement;
-class GraphSubgraph;
 class CanvasElement;
 class CanvasEdge;
-class PannerView;
 class DotGraph;
-class KGVSimplePrintingCommand;
 
 #define DEFAULT_DETAILLEVEL 1
 
diff --git a/src/part/graphedge.h b/src/part/graphedge.h
index df2121e..87ab46b 100644
--- a/src/part/graphedge.h
+++ b/src/part/graphedge.h
@@ -47,7 +47,6 @@ namespace KGraphViewer
 {
   
 class CanvasEdge;
-class GraphNode;
 
 class GraphEdge : public GraphElement
 {
diff --git a/src/part/graphexporter.h b/src/part/graphexporter.h
index 6c1e55c..c89d3b5 100644
--- a/src/part/graphexporter.h
+++ b/src/part/graphexporter.h
@@ -35,7 +35,6 @@
 
 #include <graphviz/gvc.h>
 
-class KTemporaryFile;
 
 namespace KGraphViewer
 {
diff --git a/src/part/kgraphviewer_interface.h b/src/part/kgraphviewer_interface.h
index e85f213..ccc0633 100644
--- a/src/part/kgraphviewer_interface.h
+++ b/src/part/kgraphviewer_interface.h
@@ -28,11 +28,9 @@ namespace KParts
   class Part;
 }
 
-class QStringList;
 
 namespace KGraphViewer
 {
-class DotGraph;
 /**
  * KGraphViewerInterface is an interface implemented by KGraphViewer to
  * allow developers access to the KGraphViewerPart in ways that are not
diff --git a/src/part/kgraphviewer_part.h b/src/part/kgraphviewer_part.h
index 28f6f9c..ca3bad9 100644
--- a/src/part/kgraphviewer_part.h
+++ b/src/part/kgraphviewer_part.h
@@ -27,7 +27,6 @@
 
 class KComponentData;
 class KAboutData;
-class KDirWatch;
 
 class QWidget;
 
@@ -35,7 +34,6 @@ namespace KGraphViewer
 {
 
 class DotGraph;
-class DotGraphView;
 
 class KGraphViewerPartPrivate;
 


More information about the kgraphviewer-devel mailing list