|ImageCollection (ImageCollectionShared *const)|
|ImageCollection (const ImageCollection &other)|
|QString||category () const|
|QString||comment () const|
|QDate||date () const|
|QList< QUrl >||images () const|
|bool||isDirectory () const|
|bool||isValid () const|
|QString||name () const|
|ImageCollection &||operator= (const ImageCollection &)|
|bool||operator== (const ImageCollection &) const|
|QString||uploadRootName () const|
|QUrl||uploadRootUrl () const|
|QUrl||uploadUrl () const|
|QUrl||url () const|
Holds info about the collection from KIPI host application.
- Plugins should never create an instance of ImageCollection, only the host application should do that.
Member Function Documentation
When a plugin wants to upload images, it may choose to display an upload widget, which gives the user the possible to show a directory from a tree view.
This tree view widget needs to starts at some URL. This function specifies that location. Here are a couple of possible return value different host applications may choose.
If all images are stored rooted at some tree (which is the case for KPhotoAlbum), then this function may return this directory unconditionally. The root directory returned by uploadUrl() (which is the default implementation for this method) will be the directory returned by uploadUrl().
Returns the directory to place images into.
This function should only be called if KIPI::Features AcceptNewImages is available.
The function may choose to return the directory for the image collection or if images from the collection are not available in a common directory, then instead a common upload directory.
Returns the directory for the image collection.
The host application may, however, return anything in case this imagecollection is not a directory (check isDirectory()), or may return the directory of the first image in the collection, the root of the image collection (in case all images has a common root), or even an empty URL.
The documentation for this class was generated from the following files: