7 #include <QSqlDatabase> 45 explicit
Authors(QObject *parent=0);
48 quint32 getLastErr() {
return err; }
108 QSqlQuery
findID(quint32
id);
114 QSqlQuery
findAuthor(QString FName, QString strLName);
155 #endif // AUTHORS_HPP bool findAuthorName(QString strFName, QString strLName)
Definition: authors.cpp:172
AuthorsRecord getAuthorsRec(QString strLName)
Definition: authors.cpp:288
QSqlQuery findAll()
Definition: authors.cpp:228
QSqlQuery findAuthor(QString FName, QString strLName)
Definition: authors.cpp:201
QString getLastErrMsg()
Definition: authors.hpp:49
Definition: globals.hpp:13
quint32 findLastID()
Definition: authors.cpp:267
QString errmsg
Definition: authors.hpp:23
bool findAuthorsRecord(AuthorsRecord rec)
Definition: authors.cpp:128
QSqlDatabase db
Definition: authors.hpp:151
QSqlQuery findID(quint32 id)
Definition: authors.cpp:247
quint32 err
Definition: authors.hpp:22
quint32 getLastErr()
Definition: authors.hpp:48
bool save(AuthorsRecord rec)
Definition: authors.cpp:69
bool del(AuthorsRecord rec)
Definition: authors.cpp:38
bool depchk(int id)
Definition: authors.cpp:20
bool update(AuthorsRecord rec)
Definition: authors.cpp:99
Definition: authors.hpp:19