-protected slots:
- void onSelectionChanged(const QItemSelection &selected,
- const QItemSelection &deselected);
-#ifndef Q_WS_MAEMO_5
- void activateItemButtons();
+ /** Get model. */
+ QAbstractItemModel *model() const;
+
+ /** Add an action button to the beginning of the list. */
+ void addButton(const QString &title, QObject *receiver, const char *slot,
+ const QString &iconPath = QString());
+
+ /** Add an action to the menu. */
+ QAction *addMenuAction(const QString &title, QObject *receiver,
+ const char *slot);
+
+ /** Get current (selected) item. */
+ QModelIndex currentItem() const;
+
+signals:
+ /** Emitted when a list item is activated. */
+ void activated(const QModelIndex &index);
+
+public slots:
+ /** Set the current (selected) item. */
+ void setCurrentItem(const QModelIndex &item);
+
+#ifdef Q_OS_SYMBIAN
+ void show();