chat: don't use incomplete types with signals/slots/Q_INVOKABLE (#2408)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-06-06 11:59:28 -04:00
committed by GitHub
parent 69f766cbbb
commit 41c9013fa4
18 changed files with 17 additions and 36 deletions

View File

@@ -1,6 +1,7 @@
#ifndef CHATLLM_H
#define CHATLLM_H
#include "database.h" // IWYU pragma: keep
#include "modellist.h"
#include "../gpt4all-backend/llmodel.h"
@@ -8,6 +9,7 @@
#include <QByteArray>
#include <QElapsedTimer>
#include <QFileInfo>
#include <QList>
#include <QObject>
#include <QPair>
#include <QString>
@@ -21,8 +23,6 @@
#include <string>
class QDataStream;
struct ResultInfo;
template <typename T> class QList;
enum LLModelType {
GPTJ_,