mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01: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:
@@ -296,6 +296,13 @@ QList<ElementsCollection *> QETApp::availableCollections() {
|
|||||||
return(coll_list);
|
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
|
@return the common title block templates collection, i.e. the one provided
|
||||||
by QElecrotTech
|
by QElecrotTech
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ class QETApp : public QETSingleApplication {
|
|||||||
static ElementsCollection *commonElementsCollection();
|
static ElementsCollection *commonElementsCollection();
|
||||||
static ElementsCollection *customElementsCollection();
|
static ElementsCollection *customElementsCollection();
|
||||||
static QList<ElementsCollection *> availableCollections();
|
static QList<ElementsCollection *> availableCollections();
|
||||||
|
static ElementsCollectionCache *collectionCache();
|
||||||
|
|
||||||
static TitleBlockTemplatesFilesCollection *commonTitleBlockTemplatesCollection();
|
static TitleBlockTemplatesFilesCollection *commonTitleBlockTemplatesCollection();
|
||||||
static TitleBlockTemplatesFilesCollection *customTitleBlockTemplatesCollection();
|
static TitleBlockTemplatesFilesCollection *customTitleBlockTemplatesCollection();
|
||||||
|
|||||||
Reference in New Issue
Block a user