--- a/src/hbwidgets/itemviews/hbtumbleviewitem.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtumbleviewitem.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -32,6 +32,21 @@
#include <QGestureEvent>
#include <QCoreApplication>
+/*!
+ @proto
+ \class HbTumbleViewitem
+ \brief The HbTumbleViewItem class represents a single row in HbTumbleView.
+
+ HbTumbleViewItem class provides an item that is used by the HbTumbleView class to
+ visualize content within single model index. HbTumbleViewItem supports
+ QStringList that is stored into Qt::DisplayRole role within the index.
+
+ This class acts as a default item prototype inside HbTumbleView.
+*/
+
+/*!
+ Constructs a TumbleViewItem with \a parent.
+*/
HbTumbleViewItem::HbTumbleViewItem(QGraphicsItem *parent) :
HbListViewItem(parent)
{
@@ -40,6 +55,9 @@
setFocusPolicy(Qt::NoFocus);
}
+/*!
+ Destructor
+*/
HbTumbleViewItem::~HbTumbleViewItem()
{
}
@@ -52,7 +70,6 @@
return Type;
}
-
/*!
\reimp
*/
@@ -63,6 +80,7 @@
connect(item,SIGNAL(released(QPointF)),item->itemView(),SLOT(_q_itemSelected(QPointF)));
return item;
}
+
/*!
\reimp
*/
@@ -100,7 +118,6 @@
}
}
-
QSizeF HbTumbleViewItem::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
{
HB_SDD(const HbAbstractViewItem);
@@ -135,6 +152,5 @@
return sh;
}
-
#include "moc_hbtumbleviewitem.cpp"