--- a/src/hbwidgets/popups/hbselectiondialog.h Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbwidgets/popups/hbselectiondialog.h Fri Sep 17 08:32:10 2010 +0300
@@ -45,7 +45,7 @@
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)
-
+ Q_PROPERTY(QString selectionTitle READ selectionTitle WRITE setSelectionTitle)
public:
enum { Type = Hb::ItemType_SelectionDialog };
int type() const { return Type; }
@@ -70,9 +70,13 @@
QModelIndexList selectedModelIndexes() const;
+ QString selectionTitle() const;
+ void setSelectionTitle(const QString& title);
+
protected:
void showEvent(QShowEvent *event);
-
+signals:
+ void selectionChanged();
private:
Q_DISABLE_COPY(HbSelectionDialog)
Q_DECLARE_PRIVATE_D(d_ptr, HbSelectionDialog)