src: renamed "non_indexed" node type to "symbol"

This commit is contained in:
mlangkabel
2017-11-23 17:36:42 +01:00
parent a318ed1a40
commit d1b6667ac6
13 changed files with 54 additions and 55 deletions
+1 -1
View File
@@ -666,7 +666,7 @@ MessageActivateTrail QtGraphView::getMessageActivateTrail(bool forward)
switch (node->getData()->getType().getType())
{
case NodeType::NODE_NON_INDEXED:
case NodeType::NODE_SYMBOL:
case NodeType::NODE_CLASS:
case NodeType::NODE_STRUCT:
case NodeType::NODE_INTERFACE:
@@ -42,8 +42,8 @@ void QtGraphNodeBundle::onClick()
{
MessageGraphNodeBundleSplit(
m_tokenId,
m_type.getType() != NodeType::NODE_NON_INDEXED && getName() != "Anonymous Namespaces",
m_type.getType() != NodeType::NODE_NON_INDEXED
m_type.getType() != NodeType::NODE_SYMBOL && getName() != "Anonymous Namespaces",
m_type.getType() != NodeType::NODE_SYMBOL
).dispatch();
}
@@ -57,7 +57,7 @@ void QtGraphNodeBundle::moved(const Vec2i& oldPosition)
void QtGraphNodeBundle::updateStyle()
{
GraphViewStyle::NodeStyle style;
if (m_type.getType() != NodeType::NODE_NON_INDEXED)
if (m_type.getType() != NodeType::NODE_SYMBOL)
{
style = GraphViewStyle::getStyleForNodeType(m_type, true, false, m_isHovering, false, false);
}