forked from qt-creator/qt-creator
QmlDesigner: Add image cache
The image cache is saving images and icon of this images in a sqlite database. If there are no images they are generated in the backgound. The icons are fetched by item library. Task-number: QDS-2782 Task-number: QDS-2783 Task-number: QDS-2858 Change-Id: I5a32cccfef7f8fd8eb78902605a09f5da18ce88e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,10 +25,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sqliteblob.h"
|
||||
#include "sqliteglobal.h"
|
||||
|
||||
#include <utils/span.h>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@@ -41,7 +40,7 @@ class Sessions;
|
||||
class SessionChangeSet
|
||||
{
|
||||
public:
|
||||
SessionChangeSet(Utils::span<const byte> blob);
|
||||
SessionChangeSet(BlobView blob);
|
||||
SessionChangeSet(Sessions &session);
|
||||
~SessionChangeSet();
|
||||
SessionChangeSet(const SessionChangeSet &) = delete;
|
||||
@@ -54,7 +53,7 @@ public:
|
||||
}
|
||||
void operator=(SessionChangeSet &);
|
||||
|
||||
Utils::span<const byte> asSpan() const;
|
||||
BlobView asBlobView() const;
|
||||
|
||||
friend void swap(SessionChangeSet &first, SessionChangeSet &second) noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user