[kgraphviewer-devel] [KGraphViewer/libkgraphviz] ed87f4c: Remove unused DotGraph::ParsePhase enum

Kevin Funk krf at electrostorm.net
Wed Dec 15 15:41:50 CET 2010


commit ed87f4ca04d07d6c259abb5243f239dc7a8b3f78
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date:   Wed Dec 15 10:06:06 2010 +0100

    Remove unused DotGraph::ParsePhase enum

diff --git a/src/kgraphviz/dotgraph.cpp b/src/kgraphviz/dotgraph.cpp
index f901fcf..731f868 100644
--- a/src/kgraphviz/dotgraph.cpp
+++ b/src/kgraphviz/dotgraph.cpp
@@ -79,8 +79,7 @@ void DotGraphPrivate::init()
 DotGraph::DotGraph() :
   GraphElement(),
   d_ptr(new DotGraphPrivate),
-  m_readWrite(false),
-  m_phase(Initial)
+  m_readWrite(false)
 {
   setId("unnamed");
 }
@@ -88,8 +87,7 @@ DotGraph::DotGraph() :
 DotGraph::DotGraph(const QString& layoutCommand, const QString& fileName) :
   GraphElement(),
   d_ptr(new DotGraphPrivate),
-  m_readWrite(false),
-  m_phase(Initial)
+  m_readWrite(false)
 {
   setId("unnamed");
 
diff --git a/src/kgraphviz/dotgraph.h b/src/kgraphviz/dotgraph.h
index 46741a7..ca3d599 100644
--- a/src/kgraphviz/dotgraph.h
+++ b/src/kgraphviz/dotgraph.h
@@ -51,8 +51,6 @@ class KGRAPHVIZ_EXPORT DotGraph : public GraphElement
   Q_OBJECT
 
 public:
-  enum ParsePhase {Initial, Final};
-
   DotGraph();
   DotGraph(const QString& layoutCommand, const QString& fileName);
 
@@ -143,8 +141,6 @@ private:
   void computeCells();
 
   bool m_readWrite;
-
-  ParsePhase m_phase;
 };
 
 }


More information about the kgraphviewer-devel mailing list