1.1 --- a/treeitem.cpp Mon Apr 27 12:42:06 2009 +0000
1.2 +++ b/treeitem.cpp Tue Apr 28 09:51:48 2009 +0000
1.3 @@ -1,6 +1,4 @@
1.4 #include <iostream>
1.5 -using namespace std;
1.6 -
1.7 #include <QStringList>
1.8
1.9 #include "treeitem.h"
1.10 @@ -9,6 +7,9 @@
1.11 #include "branchitem.h"
1.12 #include "vymmodel.h"
1.13
1.14 +using namespace std;
1.15 +
1.16 +
1.17 TreeItem::TreeItem(const QList<QVariant> &data, TreeItem *parent)
1.18 {
1.19 init();
1.20 @@ -237,6 +238,16 @@
1.21 return itemData[0].toString().toStdString();
1.22 }
1.23
1.24 +void TreeItem::setHeadingColor (QColor color)
1.25 +{
1.26 + headingColor=color;
1.27 +}
1.28 +
1.29 +QColor TreeItem::getHeadingColor ()
1.30 +{
1.31 + return headingColor;
1.32 +}
1.33 +
1.34 void TreeItem::setNote(const QString s)
1.35 {
1.36 note.setNote(s);