1 #ifndef LIBRARYDIALOG_H
2 #define LIBRARYDIALOG_H
6 #include <QModelIndexList>
16 class LibraryDialog: public QDialog
21 explicit LibraryDialog(QWidget *parent = 0);
29 void onItemSelectionChanged();
30 #endif // Q_WS_MAEMO_5
32 void onItemActivated(const QModelIndex &index);
33 void onCurrentBookChanged();
36 QString createItemText(const Book *book);
37 void setSelected(const QModelIndex &index);
38 QModelIndex selected() const;
40 SortedLibrary *sortedLibrary;
42 QPushButton *detailsButton;
43 QPushButton *removeButton;
44 QPushButton *readButton;
45 #endif // Q_WS_MAEMO_5
46 QPushButton *addButton;
49 #endif // LIBRARYDIALOG_H