◆ ItemGPS()
Digikam::ItemGPS::ItemGPS |
( |
const ItemInfo & |
info | ) |
|
|
explicit |
◆ ~ItemGPS()
Digikam::ItemGPS::~ItemGPS |
( |
| ) |
|
|
override |
◆ coordinates()
◆ data()
QVariant Digikam::GPSItemContainer::data |
( |
const int |
column, |
|
|
const int |
role |
|
) |
| const |
|
protectedinherited |
these are only to be called by the GPSItemModel
References Digikam::GeoCoordinates::alt(), Digikam::GPSItemContainer::ColumnAccuracy, Digikam::GPSItemContainer::ColumnAltitude, Digikam::GPSItemContainer::ColumnDateTime, Digikam::GPSItemContainer::ColumnDOP, Digikam::GPSItemContainer::ColumnFilename, Digikam::GPSItemContainer::ColumnFixType, Digikam::GPSItemContainer::ColumnLatitude, Digikam::GPSItemContainer::ColumnLongitude, Digikam::GPSItemContainer::ColumnNSatellites, Digikam::GPSItemContainer::ColumnSpeed, Digikam::GPSItemContainer::ColumnStatus, Digikam::GPSItemContainer::ColumnTags, Digikam::GPSDataContainer::getCoordinates(), Digikam::GPSDataContainer::getDop(), Digikam::GPSDataContainer::getFixType(), Digikam::GPSDataContainer::getNSatellites(), Digikam::GPSDataContainer::getSpeed(), Digikam::getWarningLevelFromGPSDataContainer(), Digikam::GeoCoordinates::hasAltitude(), Digikam::GPSDataContainer::hasDop(), Digikam::GPSDataContainer::hasFixType(), Digikam::GeoCoordinates::hasLatitude(), Digikam::GeoCoordinates::hasLongitude(), Digikam::GPSDataContainer::hasNSatellites(), Digikam::GPSDataContainer::hasSpeed(), Digikam::GeoCoordinates::lat(), Digikam::GeoCoordinates::lon(), Digikam::GPSItemContainer::m_dateTime, Digikam::GPSItemContainer::m_dirty, Digikam::GPSItemContainer::m_gpsData, Digikam::GPSItemContainer::m_tagList, Digikam::GPSItemContainer::m_tagListDirty, Digikam::GPSItemContainer::m_url, and Digikam::GPSItemContainer::RoleCoordinates.
◆ dateTime()
QDateTime Digikam::GPSItemContainer::dateTime |
( |
| ) |
const |
|
inherited |
◆ emitDataChanged()
void Digikam::GPSItemContainer::emitDataChanged |
( |
| ) |
|
|
protectedinherited |
◆ getMetadataForFile()
DMetadata * Digikam::GPSItemContainer::getMetadataForFile |
( |
| ) |
const |
|
protectedinherited |
◆ getTagList()
◆ gpsData()
◆ isDirty()
bool Digikam::GPSItemContainer::isDirty |
( |
| ) |
const |
|
inherited |
◆ isTagListDirty()
bool Digikam::GPSItemContainer::isTagListDirty |
( |
| ) |
const |
|
inherited |
◆ lessThan()
bool Digikam::GPSItemContainer::lessThan |
( |
const GPSItemContainer *const |
otherItem, |
|
|
const int |
column |
|
) |
| const |
|
inherited |
References Digikam::GeoCoordinates::alt(), Digikam::GPSItemContainer::ColumnAccuracy, Digikam::GPSItemContainer::ColumnAltitude, Digikam::GPSItemContainer::ColumnDateTime, Digikam::GPSItemContainer::ColumnDOP, Digikam::GPSItemContainer::ColumnFilename, Digikam::GPSItemContainer::ColumnFixType, Digikam::GPSItemContainer::ColumnLatitude, Digikam::GPSItemContainer::ColumnLongitude, Digikam::GPSItemContainer::ColumnNSatellites, Digikam::GPSItemContainer::ColumnSpeed, Digikam::GPSItemContainer::ColumnStatus, Digikam::GPSItemContainer::ColumnThumbnail, Digikam::GPSDataContainer::getCoordinates(), Digikam::GPSDataContainer::getDop(), Digikam::GPSDataContainer::getFixType(), Digikam::GPSDataContainer::getNSatellites(), Digikam::GPSDataContainer::getSpeed(), Digikam::getWarningLevelFromGPSDataContainer(), Digikam::GPSDataContainer::hasAltitude(), Digikam::GPSDataContainer::hasCoordinates(), Digikam::GPSDataContainer::hasDop(), Digikam::GPSDataContainer::hasFixType(), Digikam::GPSDataContainer::hasNSatellites(), Digikam::GPSDataContainer::hasSpeed(), Digikam::GeoCoordinates::lat(), Digikam::GeoCoordinates::lon(), Digikam::GPSItemContainer::m_dateTime, Digikam::GPSItemContainer::m_dirty, Digikam::GPSItemContainer::m_gpsData, and Digikam::GPSItemContainer::m_url.
Referenced by Digikam::GPSItemSortProxyModel::lessThan().
◆ loadImageData()
bool Digikam::ItemGPS::loadImageData |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Digikam::GPSItemContainer.
References Digikam::ItemPosition::altitude(), Digikam::ItemInfo::dateTime(), Digikam::GPSItemContainer::emitDataChanged(), Digikam::ItemPosition::hasAltitude(), Digikam::ItemPosition::hasCoordinates(), Digikam::ItemInfo::imagePosition(), Digikam::ItemPosition::isEmpty(), Digikam::ItemPosition::latitudeNumber(), Digikam::GPSItemContainer::loadImageData(), Digikam::ItemPosition::longitudeNumber(), Digikam::GPSItemContainer::m_dateTime, Digikam::GPSItemContainer::m_dirty, Digikam::GPSItemContainer::m_gpsData, Digikam::GPSItemContainer::m_savedState, Digikam::GPSDataContainer::setAltitude(), and Digikam::GPSDataContainer::setLatLon().
◆ restoreGPSData()
void Digikam::GPSItemContainer::restoreGPSData |
( |
const GPSDataContainer & |
container | ) |
|
|
inherited |
◆ restoreRGTagList()
void Digikam::GPSItemContainer::restoreRGTagList |
( |
const QList< QList< TagData > > & |
tagList | ) |
|
|
inherited |
◆ saveChanges()
QString Digikam::ItemGPS::saveChanges |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Digikam::GPSItemContainer.
References Digikam::CoreDB::addTagsToItems(), Digikam::SaveProperties::altitude, Digikam::ItemPosition::apply(), Digikam::CoreDbAccess::db(), Digikam::TagsCache::getOrCreateTags(), Digikam::ItemInfo::id(), Digikam::ItemInfo::imagePosition(), Digikam::TagsCache::instance(), Digikam::MetaEngineSettings::instance(), Digikam::SaveProperties::latitude, Digikam::SaveProperties::longitude, Digikam::GPSItemContainer::m_saveGPS, Digikam::GPSItemContainer::m_saveTags, Digikam::GPSItemContainer::m_tagList, Digikam::ItemPosition::remove(), Digikam::ItemPosition::removeAltitude(), Digikam::GPSItemContainer::saveChanges(), Digikam::MetaEngineSettingsContainer::savePosition, Digikam::GPSItemContainer::saveProperties(), Digikam::MetaEngineSettingsContainer::saveTags, Digikam::ItemPosition::setAltitude(), Digikam::ItemPosition::setLatitude(), Digikam::ItemPosition::setLongitude(), Digikam::MetaEngineSettings::settings(), Digikam::SaveProperties::shouldRemoveAltitude, Digikam::SaveProperties::shouldRemoveCoordinates, Digikam::SaveProperties::shouldWriteAltitude, and Digikam::SaveProperties::shouldWriteCoordinates.
◆ saveProperties()
References Digikam::GeoCoordinates::alt(), Digikam::SaveProperties::altitude, Digikam::GPSDataContainer::getCoordinates(), Digikam::GPSDataContainer::hasAltitude(), Digikam::GPSDataContainer::hasCoordinates(), Digikam::GeoCoordinates::lat(), Digikam::SaveProperties::latitude, Digikam::GeoCoordinates::lon(), Digikam::SaveProperties::longitude, Digikam::GPSItemContainer::m_gpsData, Digikam::SaveProperties::shouldRemoveAltitude, Digikam::SaveProperties::shouldRemoveCoordinates, Digikam::SaveProperties::shouldWriteAltitude, and Digikam::SaveProperties::shouldWriteCoordinates.
Referenced by Digikam::GPSItemContainer::saveChanges(), and saveChanges().
◆ setCoordinates()
void Digikam::GPSItemContainer::setCoordinates |
( |
const GeoCoordinates & |
newCoordinates | ) |
|
|
inherited |
◆ setGPSData()
void Digikam::GPSItemContainer::setGPSData |
( |
const GPSDataContainer & |
container | ) |
|
|
inherited |
◆ setHeaderData()
void Digikam::GPSItemContainer::setHeaderData |
( |
GPSItemModel *const |
model | ) |
|
|
staticinherited |
References Digikam::GPSItemContainer::ColumnAccuracy, Digikam::GPSItemContainer::ColumnAltitude, Digikam::GPSItemContainer::ColumnDateTime, Digikam::GPSItemContainer::ColumnDOP, Digikam::GPSItemContainer::ColumnFilename, Digikam::GPSItemContainer::ColumnFixType, Digikam::GPSItemContainer::ColumnGPSItemContainerCount, Digikam::GPSItemContainer::ColumnLatitude, Digikam::GPSItemContainer::ColumnLongitude, Digikam::GPSItemContainer::ColumnNSatellites, Digikam::GPSItemContainer::ColumnSpeed, Digikam::GPSItemContainer::ColumnStatus, Digikam::GPSItemContainer::ColumnTags, Digikam::GPSItemContainer::ColumnThumbnail, Digikam::GPSItemModel::setColumnCount(), and Digikam::GPSItemModel::setHeaderData().
◆ setModel()
void Digikam::GPSItemContainer::setModel |
( |
GPSItemModel *const |
model | ) |
|
|
protectedinherited |
◆ setTagList()
void Digikam::GPSItemContainer::setTagList |
( |
const QList< QList< TagData > > & |
externalTagList | ) |
|
|
inherited |
◆ url()
QUrl Digikam::GPSItemContainer::url |
( |
| ) |
const |
|
inherited |
◆ writeTagsToXmp()
void Digikam::GPSItemContainer::writeTagsToXmp |
( |
const bool |
writeXmpTags | ) |
|
|
inlineinherited |
Writes the current tags to XMP metadata.
◆ ColumnAccuracy
const int Digikam::GPSItemContainer::ColumnAccuracy = 6 |
|
staticinherited |
◆ ColumnAltitude
const int Digikam::GPSItemContainer::ColumnAltitude = 5 |
|
staticinherited |
◆ ColumnDateTime
const int Digikam::GPSItemContainer::ColumnDateTime = 2 |
|
staticinherited |
◆ ColumnDOP
const int Digikam::GPSItemContainer::ColumnDOP = 9 |
|
staticinherited |
◆ ColumnFilename
const int Digikam::GPSItemContainer::ColumnFilename = 1 |
|
staticinherited |
◆ ColumnFixType
const int Digikam::GPSItemContainer::ColumnFixType = 10 |
|
staticinherited |
◆ ColumnGPSItemContainerCount
const int Digikam::GPSItemContainer::ColumnGPSItemContainerCount = 13 |
|
staticinherited |
◆ ColumnLatitude
const int Digikam::GPSItemContainer::ColumnLatitude = 3 |
|
staticinherited |
◆ ColumnLongitude
const int Digikam::GPSItemContainer::ColumnLongitude = 4 |
|
staticinherited |
◆ ColumnNSatellites
const int Digikam::GPSItemContainer::ColumnNSatellites = 11 |
|
staticinherited |
◆ ColumnSpeed
const int Digikam::GPSItemContainer::ColumnSpeed = 12 |
|
staticinherited |
◆ ColumnStatus
const int Digikam::GPSItemContainer::ColumnStatus = 8 |
|
staticinherited |
◆ ColumnTags
const int Digikam::GPSItemContainer::ColumnTags = 7 |
|
staticinherited |
◆ ColumnThumbnail
const int Digikam::GPSItemContainer::ColumnThumbnail = 0 |
|
staticinherited |
◆ m_dateTime
QDateTime Digikam::GPSItemContainer::m_dateTime |
|
protectedinherited |
◆ m_dirty
bool Digikam::GPSItemContainer::m_dirty |
|
protectedinherited |
◆ m_gpsData
Referenced by Digikam::GPSItemContainer::coordinates(), Digikam::GPSItemContainer::data(), Digikam::GPSItemContainer::gpsData(), Digikam::GPSItemContainer::lessThan(), Digikam::GPSItemContainer::loadImageData(), loadImageData(), Digikam::GPSItemContainer::restoreGPSData(), Digikam::GPSItemContainer::saveChanges(), Digikam::GPSItemContainer::saveProperties(), Digikam::GPSItemContainer::setCoordinates(), and Digikam::GPSItemContainer::setGPSData().
◆ m_model
◆ m_savedState
◆ m_savedTagList
◆ m_saveGPS
bool Digikam::GPSItemContainer::m_saveGPS |
|
protectedinherited |
◆ m_saveTags
bool Digikam::GPSItemContainer::m_saveTags |
|
protectedinherited |
◆ m_tagList
◆ m_tagListDirty
bool Digikam::GPSItemContainer::m_tagListDirty |
|
protectedinherited |
◆ m_url
QUrl Digikam::GPSItemContainer::m_url |
|
protectedinherited |
◆ m_writeXmpTags
bool Digikam::GPSItemContainer::m_writeXmpTags |
|
protectedinherited |
◆ RoleCoordinates
const int Digikam::GPSItemContainer::RoleCoordinates = Qt::UserRole + 1 |
|
staticinherited |
The documentation for this class was generated from the following files: