mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Added QETApp::collectionCache() for the currently unique SQLite cache to be usable by most classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1489 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
6b8506c61e
commit
4adbba85df
@ -296,6 +296,13 @@ QList<ElementsCollection *> QETApp::availableCollections() {
|
||||
return(coll_list);
|
||||
}
|
||||
|
||||
/**
|
||||
@return the collection cache provided by the application itself.
|
||||
*/
|
||||
ElementsCollectionCache *QETApp::collectionCache() {
|
||||
return(collections_cache_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return the common title block templates collection, i.e. the one provided
|
||||
by QElecrotTech
|
||||
|
@ -72,6 +72,7 @@ class QETApp : public QETSingleApplication {
|
||||
static ElementsCollection *commonElementsCollection();
|
||||
static ElementsCollection *customElementsCollection();
|
||||
static QList<ElementsCollection *> availableCollections();
|
||||
static ElementsCollectionCache *collectionCache();
|
||||
|
||||
static TitleBlockTemplatesFilesCollection *commonTitleBlockTemplatesCollection();
|
||||
static TitleBlockTemplatesFilesCollection *customTitleBlockTemplatesCollection();
|
||||
|
Loading…
x
Reference in New Issue
Block a user