Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SDMANAGERDATABASE_H
- #define SDMANAGERDATABASE_H
- #include <QObject>
- #include <QSqlDataBase>
- #include <QSqlQuery>
- #include <QVariant>
- #include <QSqlError>
- #include <QFile>
- #include "SDManagerPreset.h"
- using namespace std;
- class SDManagerDataBase : public QObject
- {
- Q_OBJECT
- public:
- SDManagerDataBase(QObject *parent = 0);
- ~SDManagerDataBase();
- int findPresetAssociationByTitle(const QString& title);
- bool getPresetById(int id, SDManagerPreset* &preset);
- public:
- private:
- QSqlDatabase db;
- };
- #endif // SDMANAGERDATABASE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement