Commit f25b435f authored by Volker Krause's avatar Volker Krause
Browse files

Move survey data type and model to the library

Enables automatic testing.
parent 85b81bd8
......@@ -2,6 +2,7 @@ set(analyzer_lib_srcs
core/product.cpp
core/schemaentry.cpp
core/schemaentryelement.cpp
core/survey.cpp
rest/restapi.cpp
rest/restclient.cpp
......@@ -9,6 +10,7 @@ set(analyzer_lib_srcs
model/productmodel.cpp
model/schemamodel.cpp
model/surveymodel.cpp
)
add_library(UserFeedbackAnalyzer STATIC ${analyzer_lib_srcs})
......@@ -30,9 +32,7 @@ set(analyzer_srcs
schemaeditwidget.cpp
schemaentryitemeditorfactory.cpp
schemaentrytypecombobox.cpp
survey.cpp
surveydialog.cpp
surveymodel.cpp
timeaggregationmodel.cpp
)
......
......@@ -27,10 +27,10 @@
#include "numericaggregationmodel.h"
#include "ratiosetaggregationmodel.h"
#include "surveydialog.h"
#include "surveymodel.h"
#include "timeaggregationmodel.h"
#include <model/productmodel.h>
#include <model/surveymodel.h>
#include <rest/restapi.h>
#include <rest/restclient.h>
......
......@@ -18,7 +18,7 @@
#ifndef USERFEEDBACK_ANALYZER_SURVEYMODEL_H
#define USERFEEDBACK_ANALYZER_SURVEYMODEL_H
#include "survey.h"
#include <core/survey.h>
#include <QAbstractTableModel>
......
......@@ -18,7 +18,7 @@
#include "surveydialog.h"
#include "ui_surveydialog.h"
#include "survey.h"
#include <core/survey.h>
#include <QIcon>
#include <QUrl>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment