1 #ifndef LIBRARYDIALOG_H
2 #define LIBRARYDIALOG_H
6 #include <QModelIndexList>
8 #include "listwindow.h"
18 class LibraryDialog: public ListWindow
23 explicit LibraryDialog(QWidget *parent = 0);
32 #endif // Q_WS_MAEMO_5
34 void onItemActivated(const QModelIndex &index);
35 void onCurrentBookChanged();
38 QString createItemText(const Book *book);
39 void setSelected(const QModelIndex &index);
40 QModelIndex selected() const;
42 SortedLibrary *sortedLibrary;
45 #endif // LIBRARYDIALOG_H