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 select(const QModelIndex &index);
39 SortedLibrary *sortedLibrary;
41 QPushButton *detailsButton;
42 QPushButton *removeButton;
43 QPushButton *readButton;
44 #endif // Q_WS_MAEMO_5
45 QPushButton *addButton;
48 #endif // LIBRARYDIALOG_H