Add some documentation. Fix popup button locations on Maemo. Ensure popup buttons...
[dorian] / infodialog.h
1 #ifndef INFODIALOG_H
2 #define INFODIALOG_H
3
4 #include "dyalog.h"
5
6 class QWidget;
7 class Book;
8
9 /** Display book information. */
10 class InfoDialog: public Dyalog
11 {
12     Q_OBJECT
13
14 public:
15     explicit InfoDialog(Book *book, QWidget *parent = 0);
16
17 public slots:
18     void onReadBook();
19     void onRemoveBook();
20
21 private:
22     Book *book;
23 };
24
25 #endif // INFODIALOG_H