-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodifybook.h
More file actions
38 lines (32 loc) · 797 Bytes
/
modifybook.h
File metadata and controls
38 lines (32 loc) · 797 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
#ifndef MODIFYBOOK_H
#define MODIFYBOOK_H
#include <QDialog>
#include<QList>
#include<QStandardItem>
#include<QStandardItemModel>
namespace Ui {
class modifyBook;
}
class modifyBook : public QDialog
{
Q_OBJECT
public:
explicit modifyBook(QWidget *parent = nullptr);
~modifyBook();
int readFile();
void doQuery(QString id);
void display(int row,QStringList subs);
int MOdify(int nNum,QString &strall,QString cnt);
void ModifyOnelineInFile(int nNUmLine,QString cnt);
void deleter(QString &strall);
void clearUserFace();
int checkblank(QString cnt);
private slots:
void on_ok_but_clicked();
void on_change_but_clicked();
private:
Ui::modifyBook *ui;
QStandardItemModel *model;
QList<QString> bok_lines;
};
#endif // MODIFYBOOK_H