summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Roster/QtTreeWidgetItem.h')
-rw-r--r--Swift/QtUI/Roster/QtTreeWidgetItem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidgetItem.h b/Swift/QtUI/Roster/QtTreeWidgetItem.h
index 2dac2fc..e3bfff3 100644
--- a/Swift/QtUI/Roster/QtTreeWidgetItem.h
+++ b/Swift/QtUI/Roster/QtTreeWidgetItem.h
@@ -39,6 +39,7 @@ class QtTreeWidgetItem : public QObject, public TreeWidgetItem {
void setExpanded(bool b);
void hide();
void show();
+ bool isShown();
bool isContact();
QWidget* getCollapsedRosterWidget();
@@ -46,13 +47,17 @@ class QtTreeWidgetItem : public QObject, public TreeWidgetItem {
signals:
void changed();
+ private slots:
+ void handleChanged();
private:
QList<QtTreeWidgetItem*> children_;
+ QList<QtTreeWidgetItem*> shownChildren_;
QtTreeWidgetItem* parent_;
QString displayName_;
QString statusText_;
QColor textColor_;
QColor backgroundColor_;
+ bool shown_;
};
}