old render cleanup part 2

This commit is contained in:
Agel committed 2026-10-25 15:10:38 +01:00
1 parent acc7e71e7b
commit cef762c3ee
40 files changed
+329 -3643

No files matched your search

-24
View File
@@ -1,24 +0,0 @@
#pragma once
#include <QSize>
#include <QString>
#include "backend/IImageProvider.h"
class WebImageProvider : public IImageProvider {
public:
QQuickImageResponse *requestImageResponse(const QString &id,
const QSize &requestedSize) override;
void setFilePath(const QString &) override {}
void clear() override {}
QString coverImageUrl(const QString &) const override { return {}; }
QString scheme() const override;
// Download (or load from disk cache) a web image. Thread-safe, may block.
static QImage loadWebImage(const QString &urlString,
const QSize &requestedSize);
static QString cacheDir();
static QString cacheFilePath(const QString &urlString);
};