[kgraphviewer-devel] [KGraphViewer/libkgraphviz] 896d5b4: Remove GraphElement::isVisible/setVisible (unused)
Kevin Funk
krf at electrostorm.net
Thu Dec 16 14:42:38 CET 2010
commit 896d5b46ac711aa82bed75cd9444da14cd40165a
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date: Thu Dec 16 13:21:56 2010 +0100
Remove GraphElement::isVisible/setVisible (unused)
diff --git a/src/kgraphviz/graphelement.cpp b/src/kgraphviz/graphelement.cpp
index 5383c0c..9e24ca1 100644
--- a/src/kgraphviz/graphelement.cpp
+++ b/src/kgraphviz/graphelement.cpp
@@ -35,7 +35,6 @@ GraphElement::GraphElement() :
m_attributes(),
m_originalAttributes(),
m_ce(0),
- m_visible(true),
m_z(1.0),
m_renderOperations(),
m_selected(false)
@@ -58,7 +57,6 @@ GraphElement::GraphElement(const GraphElement& element) : QObject(),
m_originalAttributes(),
m_ce(element.m_ce),
m_z(element.m_z),
- m_visible(element.m_visible),
m_renderOperations(),
m_selected(element.m_selected)
{
diff --git a/src/kgraphviz/graphelement.h b/src/kgraphviz/graphelement.h
index 9f4191a..7a5efb4 100644
--- a/src/kgraphviz/graphelement.h
+++ b/src/kgraphviz/graphelement.h
@@ -100,9 +100,6 @@ public:
inline void setSelected(bool s) {m_selected=s;}
inline bool isSelected() {return m_selected;}
- bool isVisible() const { return m_visible; }
- void setVisible(bool v) { m_visible = v; }
-
void exportToGraphviz(void* element) const;
Q_SIGNALS:
@@ -116,7 +113,6 @@ protected:
private:
double m_z;
- bool m_visible;
DotRenderOpVec m_renderOperations;
More information about the kgraphviewer-devel
mailing list