--- a/src/hbwidgets/popups/hbselectiondialog.h Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbwidgets/popups/hbselectiondialog.h Thu Sep 02 20:44:51 2010 +0300
@@ -41,30 +41,30 @@
class HB_WIDGETS_EXPORT HbSelectionDialog : public HbDialog
{
- Q_OBJECT
+ Q_OBJECT
Q_PROPERTY(HbAbstractItemView::SelectionMode selectionMode READ selectionMode WRITE setSelectionMode)
Q_PROPERTY(QStringList items READ stringItems WRITE setStringItems)
Q_PROPERTY(QList<QVariant> selectedItems READ selectedItems WRITE setSelectedItems)
public:
- enum { Type = Hb::ItemType_SelectionDialog };
- int type() const { return Type; }
-
- explicit HbSelectionDialog(QGraphicsItem* parent=0);
+ enum { Type = Hb::ItemType_SelectionDialog };
+ int type() const { return Type; }
+
+ explicit HbSelectionDialog(QGraphicsItem* parent=0);
~HbSelectionDialog();
void setSelectionMode(HbAbstractItemView::SelectionMode mode);
HbAbstractItemView::SelectionMode selectionMode() const;
- void setStringItems(const QStringList &items,int currentIndex = 0);
+ void setStringItems(const QStringList &items,int currentIndex = 0);
QStringList stringItems() const;
-
+
void setWidgetItems(const QList<HbListWidgetItem*> &items,bool transferOwnership = false,int currentIndex = 0);
- QList<HbListWidgetItem*> widgetItems() const;
+ QList<HbListWidgetItem*> widgetItems() const;
- void setModel(QAbstractItemModel* model);
- QAbstractItemModel* model() const;
-
+ void setModel(QAbstractItemModel* model);
+ QAbstractItemModel* model() const;
+
QList<QVariant> selectedItems() const;
void setSelectedItems(const QList<QVariant> items);