-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddbook.h
More file actions
44 lines (34 loc) · 738 Bytes
/
addbook.h
File metadata and controls
44 lines (34 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef ADDBOOK_H
#define ADDBOOK_H
#include <QDialog>
#include <QAbstractButton>
#include "addtag.h"
#include "book.h"
#include "sqlclient.h"
namespace Ui {
class AddBook;
}
class AddBook : public QDialog
{
Q_OBJECT
public:
explicit AddBook(SqlClient *sql,QWidget *parent = 0);
~AddBook();
signals:
void newBook(book* _newBook);
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_buttonBox_accepted();
void on_pushButton_3_clicked();
void tagsChanged();
private:
book * _book;
Ui::AddBook *ui;
QStringList fileList;
QStringList tagsList;
SqlClient *_sql;
AddTag *winTag;
QList< QPair<int,QString> > _tags;
};
#endif // ADDBOOK_H