diff options
Diffstat (limited to 'node')
| -rw-r--r-- | node/helpnode.h | 2 | ||||
| -rw-r--r-- | node/ifnode.cpp | 11 | ||||
| -rw-r--r-- | node/ifnode.h | 4 |
3 files changed, 12 insertions, 5 deletions
diff --git a/node/helpnode.h b/node/helpnode.h index ba59f1f..14edde4 100644 --- a/node/helpnode.h +++ b/node/helpnode.h @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2015 by Renaud Guezennec * - * http://renaudguezennec.homelinux.org/accueil,3.html * + * http:://www.rolisteam.org/contact * * * * rolisteam is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * diff --git a/node/ifnode.cpp b/node/ifnode.cpp index 864faf1..a8982a8 100644 --- a/node/ifnode.cpp +++ b/node/ifnode.cpp @@ -106,9 +106,16 @@ void IfNode::setInstructionFalse(ExecutionNode* node) m_false = node; } -QString IfNode::toString(bool) const +QString IfNode::toString(bool wl) const { - + if(wl) + { + return QString("%1 [label=\"IfNode\"]").arg(m_id); + } + else + { + return m_id; + } } qint64 IfNode::getPriority() const diff --git a/node/ifnode.h b/node/ifnode.h index 6f8bbcf..5872f79 100644 --- a/node/ifnode.h +++ b/node/ifnode.h @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2016 by Renaud Guezennec * - * http://renaudguezennec.homelinux.org/accueil,3.html * + * Copyright (C) 2015 by Renaud Guezennec * + * http:://www.rolisteam.org/contact * * * * rolisteam is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * |