diff options
Diffstat (limited to 'smtreeitem.cpp')
-rw-r--r-- | smtreeitem.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/smtreeitem.cpp b/smtreeitem.cpp index 5584319..56d9b6e 100644 --- a/smtreeitem.cpp +++ b/smtreeitem.cpp @@ -73,6 +73,14 @@ void SmTreeItem::setData(int column, const QVariant &data){ mData[column] = data; } +QVariant SmTreeItem::foregroundColor() const{ + return mForegroundColor; +} + +void SmTreeItem::setForegroundColor(const QVariant &data){ + mForegroundColor = data; +} + bool SmTreeItem::insertChild(int where, SmTreeItem *child){ if((where < 0) || (where > mChildren.count())){ return false; |