Handle selection changes.
[dorian] / librarydialog.h
index cc2fec7..1424ead 100644 (file)
@@ -34,7 +34,8 @@ public slots:
 
 private:
     QString createItemText(const Book *book);
-    void select(const QModelIndex &index);
+    void setSelected(const QModelIndex &index);
+    QModelIndex selected() const;
     QListView *list;
     SortedLibrary *sortedLibrary;
 #ifndef Q_WS_MAEMO_5