src: rename namespace as chronochat
Change-Id: Idf390b1b2047c912735014d078ce099cf95026e6
diff --git a/src/trust-tree-scene.hpp b/src/trust-tree-scene.hpp
index 90be20e..c8c21c6 100644
--- a/src/trust-tree-scene.hpp
+++ b/src/trust-tree-scene.hpp
@@ -8,8 +8,8 @@
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
-#ifndef CHRONOS_TRUST_TREE_SCENE_HPP
-#define CHRONOS_TRUST_TREE_SCENE_HPP
+#ifndef CHRONOCHAT_TRUST_TREE_SCENE_HPP
+#define CHRONOCHAT_TRUST_TREE_SCENE_HPP
#include <QtGui/QGraphicsScene>
#include <QColor>
@@ -22,7 +22,7 @@
class QGraphicsTextItem;
-namespace chronos {
+namespace chronochat {
class TrustTreeScene : public QGraphicsScene
{
@@ -32,16 +32,16 @@
TrustTreeScene(QWidget* parent = 0);
void
- plotTrustTree(chronos::TrustTreeNodeList& nodeList);
+ plotTrustTree(chronochat::TrustTreeNodeList& nodeList);
private:
void
- plotEdge(const chronos::TrustTreeNodeList& nodeList, int nodeSize);
+ plotEdge(const chronochat::TrustTreeNodeList& nodeList, int nodeSize);
void
- plotNode(const chronos::TrustTreeNodeList& nodeList, int nodeSize);
+ plotNode(const chronochat::TrustTreeNodeList& nodeList, int nodeSize);
};
-} // namespace chronos
+} // namespace chronochat
-#endif // CHRONOS_TRUST_TREE_SCENE_HPP
+#endif // CHRONOCHAT_TRUST_TREE_SCENE_HPP