#include "placesitemlistwidget.h"
-#include "kdebug.h"
-
PlacesItemListWidget::PlacesItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent) :
KStandardItemListWidget(informant, parent)
{
bool PlacesItemListWidget::isHidden() const
{
- return data().value("isHidden").toBool();
+ return data().value("isHidden").toBool() ||
+ data().value("isGroupHidden").toBool();
}
-QPalette::ColorRole PlacesItemListWidget::normalTextColorPalette() const
+QPalette::ColorRole PlacesItemListWidget::normalTextColorRole() const
{
return QPalette::WindowText;
}
-#include "placesitemlistwidget.moc"