commit | 591e8c3bb6d5d4cc124f949407cb73c7ca298ff9 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed Sep 26 11:57:50 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed Sep 26 11:57:50 2012 -0700 |
tree | e3bfd66ebc65f9fc14e493335f53c6199c89d729 | |
parent | 78b5f638bef0506a8e13f6755b3d4d13bb51f673 [diff] [blame] |
remove node when one leaves
diff --git a/digesttreescene.h b/digesttreescene.h index f041b11..6a30e18 100644 --- a/digesttreescene.h +++ b/digesttreescene.h
@@ -32,6 +32,7 @@ void msgReceived(QString prefix, QString nick); void clearAll(); void plot(QString digest); + bool removeNode(const QString prefix); private: void plotEdge(const std::vector<TreeLayout::Coordinate> &v, int nodeSize); void plotNode(const std::vector<TreeLayout::Coordinate> &v, QString digest, int nodeSize);