Wrap code for better readability

This commit is contained in:
Simon De Backer
2020-08-20 21:58:23 +02:00
parent 0c00d83b27
commit 331918d143
41 changed files with 716 additions and 190 deletions

View File

@@ -31,7 +31,8 @@ class ElementsCollectionCache : public QObject
{
public:
// constructor, destructor
ElementsCollectionCache(const QString &database_path, QObject * = nullptr);
ElementsCollectionCache(const QString &database_path,
QObject * = nullptr);
~ElementsCollectionCache() override;
// methods
@@ -46,8 +47,10 @@ class ElementsCollectionCache : public QObject
bool fetchData(const ElementsLocation &);
bool fetchNameFromCache(const QString &path, const QUuid &uuid);
bool fetchPixmapFromCache(const QString &path, const QUuid &uuid);
bool cacheName(const QString &path, const QUuid &uuid = QUuid::createUuid());
bool cachePixmap(const QString &path, const QUuid &uuid = QUuid::createUuid());
bool cacheName(const QString &path,
const QUuid &uuid = QUuid::createUuid());
bool cachePixmap(const QString &path,
const QUuid &uuid = QUuid::createUuid());
// attributes
private: