--- a/src/hbwidgets/popups/hbselectiondialog.cpp Mon May 03 12:48:33 2010 +0300
+++ b/src/hbwidgets/popups/hbselectiondialog.cpp Fri May 14 16:09:54 2010 +0300
@@ -98,9 +98,9 @@
*/
void HbSelectionDialog::setSelectionMode(HbAbstractItemView::SelectionMode mode)
{
- Q_D(HbSelectionDialog);
-
- d->setSelectionMode(mode);
+ Q_D(HbSelectionDialog);
+
+ d->setSelectionMode(mode);
}
/*!
@@ -108,11 +108,11 @@
Returns current SelectionMode of the list.Default value is \a NoSelection.
\sa setSelectionMode()
-*/
+*/
HbAbstractItemView::SelectionMode HbSelectionDialog::selectionMode() const
{
- Q_D(const HbSelectionDialog);
- return d->mSelectionMode;
+ Q_D(const HbSelectionDialog);
+ return d->mSelectionMode;
}
/*!
@@ -123,11 +123,11 @@
\param currentIndex. A currentIndex is the index of default selection
\sa stringItems()
-*/
+*/
void HbSelectionDialog::setStringItems(const QStringList &items,int currentIndex)
{
- Q_D(HbSelectionDialog);
- d->setStringItems(items,currentIndex);
+ Q_D(HbSelectionDialog);
+ d->setStringItems(items,currentIndex);
}
/*!
@@ -135,11 +135,11 @@
Returns list of string list items earlier set by setStringItems().
\sa setStringItems()
-*/
+*/
QStringList HbSelectionDialog::stringItems() const
{
- Q_D(const HbSelectionDialog);
- return d->stringItems();
+ Q_D(const HbSelectionDialog);
+ return d->stringItems();
}
/*!
@@ -153,8 +153,8 @@
*/
QList<QVariant> HbSelectionDialog::selectedItems() const
{
- Q_D(const HbSelectionDialog);
- return d->selectedItems();
+ Q_D(const HbSelectionDialog);
+ return d->selectedItems();
}
/*!
@@ -169,8 +169,8 @@
*/
void HbSelectionDialog::setSelectedItems(const QList<QVariant> items)
{
- Q_D(HbSelectionDialog);
- d->setSelectedItems(items);
+ Q_D(HbSelectionDialog);
+ d->setSelectedItems(items);
}
/*!
@@ -184,8 +184,8 @@
*/
QModelIndexList HbSelectionDialog::selectedModelIndexes() const
{
- Q_D(const HbSelectionDialog);
- return d->selectedModelIndexes();
+ Q_D(const HbSelectionDialog);
+ return d->selectedModelIndexes();
}
/*!
@@ -201,11 +201,11 @@
\param currentIndex
\sa widgetItems();
-*/
+*/
void HbSelectionDialog::setWidgetItems(const QList<HbListWidgetItem*> &items,bool transferOwnership,int currentIndex)
{
- Q_D(HbSelectionDialog);
- d->setWidgetItems(items,transferOwnership,currentIndex);
+ Q_D(HbSelectionDialog);
+ d->setWidgetItems(items,transferOwnership,currentIndex);
}
/*!
@@ -213,11 +213,11 @@
Returns list of custom list items earlier set by setWidgetItems().
\sa setWidgetItems().
-*/
+*/
QList<HbListWidgetItem*> HbSelectionDialog::widgetItems() const
{
- Q_D(const HbSelectionDialog);
- return d->widgetItems();
+ Q_D(const HbSelectionDialog);
+ return d->widgetItems();
}
/*!
@@ -227,11 +227,11 @@
\param model.
\sa model()
-*/
+*/
void HbSelectionDialog::setModel(QAbstractItemModel* model)
{
- Q_D(HbSelectionDialog);
- d->setModel(model);
+ Q_D(HbSelectionDialog);
+ d->setModel(model);
}
/*!
@@ -239,11 +239,11 @@
Returns model eariler set by setModel().
\sa setModel()
-*/
+*/
QAbstractItemModel* HbSelectionDialog::model() const
{
- Q_D(const HbSelectionDialog);
- return d->model();
+ Q_D(const HbSelectionDialog);
+ return d->model();
}