projects
/
dorian
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Show presence of extra book parts.
[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
enum {Close, Read, Delete}; //< Dialog result codes.
16
explicit InfoDialog(Book *book, QWidget *parent, bool showButtons = true);
17
18
public slots:
19
void onReadBook();
20
void onRemoveBook();
21
22
private:
23
Book *book;
24
};
25
26
#endif // INFODIALOG_H