Remove elementLocation and use elementsLocation instead

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4377 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-03-15 15:23:11 +00:00
parent 764d50c4ac
commit 1170522d9c
28 changed files with 626 additions and 924 deletions

View File

@@ -20,7 +20,6 @@
#include <QSqlDatabase>
#include "elementslocation.h"
#include "elementlocation.h"
class ElementsCollection;
class ElementsCategory;
@@ -47,11 +46,10 @@ class ElementsCollectionCache : public QObject
void beginCollection(ElementsCollection *);
void endCollection(ElementsCollection *);
bool fetchElement(ElementDefinition *);
bool fetchElement(ElementLocation location);
bool fetchElement(ElementsLocation &location);
QString name() const;
QPixmap pixmap() const;
bool fetchData(const ElementsLocation &);
bool fetchData(ElementLocation &location);
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());