A Tag Album representation.
|
|
| TAlbum (const QString &title, int id, bool root=false) |
| CoreDbUrl | databaseUrl () const override |
|
bool | hasProperty (const QString &key) const |
|
QString | icon () const |
|
qlonglong | iconId () const |
|
bool | isInternalTag () const |
|
QString | prettyUrl () const |
|
QMap< QString, QString > | properties () const |
|
QString | property (const QString &key) const |
|
QString | standardIconName () const |
|
QList< int > | tagIDs () const |
| QString | tagPath (bool leadingSlash=true) const |
| QList< int > | childAlbumIds (bool recursive=false) |
| AlbumList | childAlbums (bool recursive=false) |
| Album * | childAtRow (int row) const |
| int | childCount () const |
| void * | extraData (const void *const key) const |
| | Retrieve the associated extra data associated with key.
|
| Album * | firstChild () const |
| int | globalID () const |
| | An album ID is only unique among the set of all Albums of its Type.
|
| int | id () const |
| | Each album has a ID uniquely identifying it in the set of Albums of a Type.
|
| bool | isAncestorOf (const Album *const album) const |
| bool | isRoot () const |
| bool | isTrashAlbum () const |
| bool | isUsedByLabelsTree () const |
| Album * | lastChild () const |
| Album * | next () const |
| Album * | parent () const |
|
void | prepareForDeletion () |
| | For secure deletion in an album model, call this function beforehand.
|
| Album * | prev () const |
| void | removeExtraData (const void *const key) |
| | Remove the associated extra data associated with key.
|
| int | rowFromAlbum () const |
| void | setExtraData (const void *const key, void *const value) |
| | This allows to associate some "extra" data to a Album.
|
| void | setUsedByLabelsTree (bool isUsed) |
| | Sets the property m_usedByLabelsTree to true if the search album was created using the Colors and labels tree view.
|
| QString | title () const |
| Type | type () const |
◆ databaseUrl()
| CoreDbUrl Digikam::TAlbum::databaseUrl |
( |
| ) |
const |
|
overridevirtual |
◆ tagPath()
| QString Digikam::TAlbum::tagPath |
( |
bool | leadingSlash = true | ) |
const |
- Returns
- The tag path, e.g. "/People/Friend/John" if leadingSlash is true, "People/Friend/John" if leadingSlash if false. The root TAlbum returns "/" resp. "".