#include <OP_GalleryManager.h>
|
int | getNumGalleries () const |
|
OP_Gallery * | getGallery (int index) const |
|
OP_Gallery * | findGallery (const char *path) const |
|
OP_Gallery * | installGallery (const char *path, bool create, bool addtohistory) |
|
bool | removeGallery (const char *path) |
|
void | removeGallery (int index) |
|
void | getMatchingEntries (OP_GalleryEntryList &found, OP_Node *node, bool include_hidden=true) const |
|
void | getMatchingEntries (OP_GalleryEntryList &found, const char *namepattern, const char *labelpattern, const char *keywordpattern, const char *category, const char *optable, const char *optype, bool include_hidden=true) const |
|
void | getKeywords (UT_StringArray &keywords, const char *optable=NULL) |
|
void | addExtraCategory (const char *optable, const char *category) |
|
const UT_StringArray * | getExtraCategories (const char *optable) const |
| Gets a list of extra categories added for the given optable. More...
|
|
void | refreshAll (bool force) |
|
void | purgeInvalidGalleries () |
|
void | sendEvent (OP_GalleryChangeType changetype) |
|
OP_GalleryNotifier & | getEventNotifier () |
|
void | getInstalledGalleryPaths (UT_StringArray &gallerypaths, bool includestandard, bool includehda) const |
|
void | getCommonGalleryDirs (UT_StringArray &paths) |
|
void | setCreateBackups (bool createbackups) |
|
bool | getCreateBackups () const |
|
bool | canSavePreferences () const |
|
const UT_String & | getDefaultGallery () |
|
const UT_StringArray * | getCategorySortOrder (const char *parent_category=NULL) |
|
Definition at line 32 of file OP_GalleryManager.h.
OP_GalleryManager::OP_GalleryManager |
( |
| ) |
|
|
protected |
virtual OP_GalleryManager::~OP_GalleryManager |
( |
| ) |
|
|
protectedvirtual |
void OP_GalleryManager::addExtraCategory |
( |
const char * |
optable, |
|
|
const char * |
category |
|
) |
| |
Adds an extra category even if no entry subscribes to it.
- Parameters
-
optable | The context in which extra category should appear. |
category | The category name to add. |
bool OP_GalleryManager::canSavePreferences |
( |
| ) |
const |
void OP_GalleryManager::clear |
( |
| ) |
|
|
protected |
OP_Gallery* OP_GalleryManager::findGallery |
( |
const char * |
path | ) |
const |
static void OP_GalleryManager::fullyQualifyGalleryPath |
( |
UT_String & |
path | ) |
|
|
staticprotected |
const UT_StringArray* OP_GalleryManager::getCategorySortOrder |
( |
const char * |
parent_category = NULL | ) |
|
Gets the sort order of categories (when parent name is not a string). Optionally the parent category may be provided in the form of a string encoding subcategories separated with a slash. When the parent category name is given, returns the order of sub-categories, if parent is found, otherwise ther returned array will be empty.
bool OP_GalleryManager::getCreateBackups |
( |
| ) |
const |
const UT_String& OP_GalleryManager::getDefaultGallery |
( |
| ) |
|
const UT_StringArray* OP_GalleryManager::getExtraCategories |
( |
const char * |
optable | ) |
const |
Gets a list of extra categories added for the given optable.
void OP_GalleryManager::getInstalledGalleryPaths |
( |
UT_StringArray & |
gallerypaths, |
|
|
bool |
includestandard, |
|
|
bool |
includehda |
|
) |
| const |
void OP_GalleryManager::getKeywords |
( |
UT_StringArray & |
keywords, |
|
|
const char * |
optable = NULL |
|
) |
| |
Returns the array of all keywords used by entries in all galleries that match the requirement of the optable.
void OP_GalleryManager::getMatchingEntries |
( |
OP_GalleryEntryList & |
found, |
|
|
const char * |
namepattern, |
|
|
const char * |
labelpattern, |
|
|
const char * |
keywordpattern, |
|
|
const char * |
category, |
|
|
const char * |
optable, |
|
|
const char * |
optype, |
|
|
bool |
include_hidden = true |
|
) |
| const |
int OP_GalleryManager::getNumGalleries |
( |
| ) |
const |
OP_Gallery* OP_GalleryManager::installGallery |
( |
const char * |
path, |
|
|
bool |
create, |
|
|
bool |
addtohistory |
|
) |
| |
void OP_GalleryManager::purgeInvalidGalleries |
( |
| ) |
|
void OP_GalleryManager::refreshAll |
( |
bool |
force | ) |
|
bool OP_GalleryManager::removeGallery |
( |
const char * |
path | ) |
|
void OP_GalleryManager::removeGallery |
( |
int |
index | ) |
|
void OP_GalleryManager::scanGalleriesPath |
( |
| ) |
|
|
protected |
void OP_GalleryManager::setCreateBackups |
( |
bool |
createbackups | ) |
|
The documentation for this class was generated from the following file: