DatabaseFactory: Move to /shared

This commit is contained in:
Albert S. 2022-02-27 23:13:02 +01:00
rodzic 7066cc1a45
commit 294455b861
3 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -32,9 +32,7 @@ SOURCES += \
commanddelete.cpp \ commanddelete.cpp \
commandupdate.cpp \ commandupdate.cpp \
filesaver.cpp \ filesaver.cpp \
databasefactory.cpp \
sqlitedbservice.cpp \ sqlitedbservice.cpp \
logger.cpp \
commandsearch.cpp \ commandsearch.cpp \
commandlist.cpp commandlist.cpp
@ -55,9 +53,7 @@ HEADERS += \
commanddelete.h \ commanddelete.h \
commandupdate.h \ commandupdate.h \
filesaver.h \ filesaver.h \
databasefactory.h \
sqlitedbservice.h \ sqlitedbservice.h \
logger.h \
commandsearch.h \ commandsearch.h \
commandlist.h commandlist.h
INCLUDEPATH += /usr/include/poppler/qt5/ /usr/include/quazip5 INCLUDEPATH += /usr/include/poppler/qt5/ /usr/include/quazip5

Wyświetl plik

@ -1,6 +1,7 @@
#include <QThread> #include <QThread>
#include "databasefactory.h" #include "databasefactory.h"
#include "logger.h" #include "logger.h"
#include "looqsgeneralexception.h"
DatabaseFactory::DatabaseFactory(QString connectionString) DatabaseFactory::DatabaseFactory(QString connectionString)
{ {
this->connectionString = connectionString; this->connectionString = connectionString;

Wyświetl plik

@ -2,7 +2,6 @@
#define DATABASEFACTORY_H #define DATABASEFACTORY_H
#include <QSqlDatabase> #include <QSqlDatabase>
#include <QThreadStorage> #include <QThreadStorage>
#include "utils.h"
class DatabaseFactory class DatabaseFactory
{ {
private: private: