◆ Operation
An ImageTagChangeset covers adding and removing the association of a tag with an image. It is described by a list of affected image ids, a list of affected tags, and an operation. There is no guarantee that information in the database has actually been changed.
Enumerator |
---|
Unknown | |
Added | |
Moved | |
Removed | |
RemovedAll | |
PropertiesChanged | |
◆ ImageTagChangeset() [1/4]
Digikam::ImageTagChangeset::ImageTagChangeset |
( |
| ) |
|
◆ ImageTagChangeset() [2/4]
Digikam::ImageTagChangeset::ImageTagChangeset |
( |
const QList< qlonglong > & |
ids, |
|
|
const QList< int > & |
tags, |
|
|
Operation |
operation |
|
) |
| |
◆ ImageTagChangeset() [3/4]
Digikam::ImageTagChangeset::ImageTagChangeset |
( |
qlonglong |
id, |
|
|
const QList< int > & |
tags, |
|
|
Operation |
operation |
|
) |
| |
◆ ImageTagChangeset() [4/4]
Digikam::ImageTagChangeset::ImageTagChangeset |
( |
qlonglong |
id, |
|
|
int |
tag, |
|
|
Operation |
operation |
|
) |
| |
◆ containsImage()
bool Digikam::ImageTagChangeset::containsImage |
( |
qlonglong |
id | ) |
const |
◆ containsTag()
bool Digikam::ImageTagChangeset::containsTag |
( |
int |
id | ) |
const |
◆ ids()
QList< qlonglong > Digikam::ImageTagChangeset::ids |
( |
| ) |
const |
◆ operation()
◆ operator<<()
Combines two ImageTagChangesets. The operations shall not differ between the two sets; the operation is set to Unknown if it differs. This is especially not suitable for RemovedAll changesets.
References Unknown.
◆ propertiesWereChanged()
bool Digikam::ImageTagChangeset::propertiesWereChanged |
( |
| ) |
const |
|
inline |
◆ tags()
QList< int > Digikam::ImageTagChangeset::tags |
( |
| ) |
const |
◆ tagsWereAdded()
bool Digikam::ImageTagChangeset::tagsWereAdded |
( |
| ) |
const |
|
inline |
◆ tagsWereRemoved()
bool Digikam::ImageTagChangeset::tagsWereRemoved |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: