--- a/src/hbwidgets/itemviews/hbtreeitemselectionmodel_p.cpp Mon May 03 12:48:33 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreeitemselectionmodel_p.cpp Fri May 14 16:09:54 2010 +0300
@@ -27,7 +27,7 @@
#include "hbabstractitemview_p.h"
#include "hbtreeviewitem.h"
-#include "hbabstractitemcontainer.h"
+#include "hbabstractitemcontainer_p.h"
#include "hbmodeliterator.h"
#include <QAbstractItemModel>
@@ -36,9 +36,6 @@
#include <QDebug>
-// For QMAP_INT__ITEM_STATE_DEPRECATED's sake. Removed when QMap<int,QVariant> based state item system is removed
-#include <hbabstractviewitem_p.h>
-
HbTreeItemSelectionModel::HbTreeItemSelectionModel( QAbstractItemModel *model,
HbAbstractItemViewPrivate *viewPrivate,
QObject *parent) :
@@ -120,9 +117,6 @@
if (item) {
item->setCheckState(Qt::PartiallyChecked);
}
-#ifndef QMAP_INT__ITEM_STATE_DEPRECATED
- mViewPrivate->mContainer->setItemStateValue(parentIndex, HbAbstractViewItem::CheckStateKey, Qt::PartiallyChecked);
-#endif
mViewPrivate->mContainer->setItemTransientStateValue(parentIndex, "checkState", Qt::PartiallyChecked);
}
parentIndex = parentIndex.parent();