Added WorkManager to manage background tasks.

Relies heavily on the QThreadPool.
This commit is contained in:
eelke 2017-12-25 15:32:02 +01:00
parent 190a6c04dc
commit 6d4662aa98
3 changed files with 71 additions and 2 deletions

View file

@ -38,7 +38,8 @@ SOURCES += my_boost_assert_handler.cpp \
BackupFormatModel.cpp \
QueuedBackgroundTask.cpp \
ExplainTreeModelItem.cpp \
jsoncpp.cpp
jsoncpp.cpp \
WorkManager.cpp
HEADERS += PasswordManager.h \
SqlLexer.h \
@ -48,7 +49,8 @@ HEADERS += PasswordManager.h \
QueuedBackgroundTask.h \
Expected.h \
ExplainTreeModelItem.h \
json/json.h
json/json.h \
WorkManager.h
unix {
target.path = /usr/lib