1 #ifndef LIBRARYDIALOG_H
2 #define LIBRARYDIALOG_H
6 #include <QModelIndexList>
16 class LibraryDialog: public QDialog
21 explicit LibraryDialog(QWidget *parent = 0);
23 SortedLibrary *sortedLibrary;
25 QPushButton *detailsButton;
26 QPushButton *removeButton;
27 QPushButton *readButton;
28 #endif // Q_WS_MAEMO_5
29 QPushButton *addButton;
37 void onItemSelectionChanged();
38 #endif // Q_WS_MAEMO_5
40 void onItemActivated(const QModelIndex &index);
41 void onCurrentBookChanged();
44 QString createItemText(const Book *book);
47 #endif // LIBRARYDIALOG_H