Codey
 
Loading...
Searching...
No Matches
writeBook.h
Go to the documentation of this file.
1#ifndef WRITEBOOK_H
2#define WRITEBOOK_H
3
4#include <QDialog>
5
6namespace Ui {
7class writeBook;
8}
9
10class writeBook : public QDialog
11{
12 Q_OBJECT
13
14public:
15 explicit writeBook(const QString &author, const QString &role, QWidget *parent = nullptr);
16 ~writeBook();
17
18signals:
19 void bookAdded(const QString &title, const QString &author, const QString &genre, const QString &status);
20
21private slots:
22 void on_cancelButton_clicked();
23 void on_writeButton_clicked();
24
25private:
26 Ui::writeBook *ui;
27 QString currentAuthor;
28 QString currentRole;
29};
30
31#endif
writeBook(const QString &author, const QString &role, QWidget *parent=nullptr)
Definition writebook.cpp:8
void bookAdded(const QString &title, const QString &author, const QString &genre, const QString &status)
~writeBook()
Definition writebook.cpp:23
Definition authwindow.h:7