digiKam
|
Public Types | |
enum | Status { LocationNull , LocationAvailable , LocationHidden , LocationUnavailable , LocationDeleted } |
enum | Type { TypeVolumeHardWired = AlbumRoot::VolumeHardWired , TypeVolumeRemovable = AlbumRoot::VolumeRemovable , TypeNetwork = AlbumRoot::Network } |
Public Member Functions | |
QString | albumRootPath () const |
CollectionLocation () | |
uint | hash () const |
int | id () const |
bool | isAvailable () const |
bool | isNull () const |
QString | label () const |
Status | status () const |
Type | type () const |
Protected Attributes | |
int | m_id |
QString | m_label |
QString | m_path |
Status | m_status |
Type | m_type |
Digikam::CollectionLocation::CollectionLocation | ( | ) |
QString Digikam::CollectionLocation::albumRootPath | ( | ) | const |
The current file system path leading to this album root. Only guaranteed to be valid for location with status Available.
References m_path.
Referenced by Digikam::SetupCollectionModel::data(), Digikam::DatabaseVersionManager::toplevelDirectory(), and Digikam::SetupCollectionModel::updateCollection().
|
inline |
References qHash().
Referenced by Digikam::qHash().
int Digikam::CollectionLocation::id | ( | ) | const |
The id uniquely identifying this collection
References m_id.
Referenced by Digikam::CollectionManager::changeType(), Digikam::CollectionManager::Private::checkIfExists(), Digikam::CollectionManager::migrateToVolume(), Digikam::CollectionManager::removeLocation(), and Digikam::CollectionManager::setLabel().
|
inline |
|
inline |
Referenced by Digikam::ToolTipFiller::albumTipContents(), Digikam::SetupCollectionModel::apply(), Digikam::SetupCollectionModel::askForNewCollectionPath(), Digikam::SetupCollectionModel::data(), Digikam::ImportUI::slotDownload(), Digikam::DatabaseVersionManager::toplevelDirectory(), and Digikam::SetupCollectionModel::updateCollection().
QString Digikam::CollectionLocation::label | ( | ) | const |
A user-visible, optional label.
References m_label.
Referenced by Digikam::ToolTipFiller::albumTipContents(), Digikam::SetupCollectionModel::apply(), Digikam::SetupCollectionModel::data(), and Digikam::AlbumManager::setDatabase().
CollectionLocation::Status Digikam::CollectionLocation::status | ( | ) | const |
The current status. See above for possible values.
References m_status.
Referenced by Digikam::SetupCollectionModel::data().
CollectionLocation::Type Digikam::CollectionLocation::type | ( | ) | const |
The type of location. See above for possible values.
References m_type.
Referenced by Digikam::SetupCollectionModel::Item::Item().
|
protected |
Referenced by id().
|
protected |
Referenced by label().
|
protected |
Referenced by albumRootPath().