branches/extragear/graphics/digikam

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

branches/extragear/graphics/digikam

Marcel Wiesweg
SVN commit 1146835 by mwiesweg:

Add wrapper classes for two of the new tables:

TagProperties provides easy access to the properties of a tag.

ImageTagPair provides a similar interface for a single pair of an image
and a tag. Note that the tag need not necessarily be assigned to the image;
the new class allows to do that as well.
There is a method to find all tags with image-tag properties for a given image,
also available from the ImageInfo object.

CCMAIL: [hidden email]


 M  +2 -0      CMakeLists.txt  
 A             libs/database/imagetagpair.cpp   [License: GPL (v2+)]
 A             libs/database/imagetagpair.h   [License: GPL (v2+)]
 A             libs/database/tagproperties.cpp   [License: GPL (v2+)]
 A             libs/database/tagproperties.h   [License: GPL (v2+)]


--- branches/extragear/graphics/digikam/CMakeLists.txt #1146834:1146835
@@ -1033,9 +1033,11 @@
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagecopyright.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagequerybuilder.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagescanner.cpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagetagpair.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/namefilter.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/searchxml.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/schemaupdater.cpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/tagproperties.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/upgradedb_sqlite2tosqlite3.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/databasecopymanager.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/databaseserverstarter.cpp
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel