mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Minor cleanup.
This commit is contained in:
parent
cca2a88e47
commit
993a43d33a
@ -1,7 +1,6 @@
|
|||||||
#ifndef DOWNLOAD_H
|
#ifndef DOWNLOAD_H
|
||||||
#define DOWNLOAD_H
|
#define DOWNLOAD_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
@ -38,7 +37,7 @@ public:
|
|||||||
Q_INVOKABLE void downloadModel(const QString &modelFile);
|
Q_INVOKABLE void downloadModel(const QString &modelFile);
|
||||||
Q_INVOKABLE void cancelDownload(const QString &modelFile);
|
Q_INVOKABLE void cancelDownload(const QString &modelFile);
|
||||||
|
|
||||||
public Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void handleJsonDownloadFinished();
|
void handleJsonDownloadFinished();
|
||||||
void handleDownloadProgress(qint64 bytesReceived, qint64 bytesTotal);
|
void handleDownloadProgress(qint64 bytesReceived, qint64 bytesTotal);
|
||||||
void handleModelDownloadFinished();
|
void handleModelDownloadFinished();
|
||||||
|
Loading…
Reference in New Issue
Block a user