Get rid of unused Options menu items on Symbian.
[dorian] / librarydialog.h
index 52b0deb..480a66d 100644 (file)
@@ -16,6 +16,7 @@ class Book;
 class InfoWindow;
 class SortedLibrary;
 class SearchDialog;
+class QAction;
 
 /** Manage library. */
 class LibraryDialog: public ListWindow
@@ -28,27 +29,25 @@ public:
 public slots:
     void onAdd();
     void onAddFolder();
-#ifndef Q_WS_MAEMO_5
-    void onRemove();
-    void onDetails();
-    void onRead();
-#endif // Q_WS_MAEMO_5
     void onBookAdded();
     void onItemActivated(const QModelIndex &index);
-    void onCurrentBookChanged();
     void onAddFromFolder(const QString &path);
     void onAddFromFolderDone(int added);
     void onSearch();
     void showSearchResults();
+    void onSortByAuthor();
+    void onSortByTitle();
 
 private:
-    QString createItemText(const Book *book);
+    QString createItemText(Book *book);
     void setSelected(const QModelIndex &index);
     QModelIndex selected() const;
     ListView *list;
     SortedLibrary *sortedLibrary;
     ProgressDialog *progress;
     SearchDialog *searchDialog;
+    QAction *sortByAuthor;
+    QAction *sortByTitle;
 };
 
 #endif // LIBRARYDIALOG_H