|
libKipi
|
#include <imagecollection.h>

Public Member Functions | |
| QString | name () const |
| QString | comment () const |
| QString | category () const |
| QDate | date () const |
| KURL::List | images () const |
| KURL | path () const |
| KURL | uploadPath () const |
| KURL | uploadRoot () const |
| QString | uploadRootName () const |
| bool | isDirectory () const |
| bool | isValid () const |
| ImageCollection (ImageCollectionShared *) | |
| ImageCollection (const ImageCollection &other) | |
| ~ImageCollection () | |
| ImageCollection () | |
| ImageCollection & | operator= (const ImageCollection &) |
| bool | operator== (const ImageCollection &) const |
Holds info about the collection
| KIPI::ImageCollection::ImageCollection | ( | ImageCollectionShared * | data | ) |
| KIPI::ImageCollection::ImageCollection | ( | const ImageCollection & | other | ) |
| KIPI::ImageCollection::~ImageCollection | ( | ) |
| KIPI::ImageCollection::ImageCollection | ( | ) |
| QString KIPI::ImageCollection::category | ( | ) | const |
Return the category of the image collection. For example in Digikam, a category is a sorting class like 'travels', 'friends', 'monuments', etc.
| QString KIPI::ImageCollection::comment | ( | ) | const |
| QDate KIPI::ImageCollection::date | ( | ) | const |
Return the Creation date of the image collection. The default implementation return a null date.
| KURL::List KIPI::ImageCollection::images | ( | ) | const |
PENDING(blackie) document
| bool KIPI::ImageCollection::isDirectory | ( | ) | const |
Referenced by KIPI::UploadWidget::UploadWidget().
| bool KIPI::ImageCollection::isValid | ( | ) | const |
Referenced by KIPI::UploadWidget::UploadWidget().
| QString KIPI::ImageCollection::name | ( | ) | const |
PENDING(blackie) document
| KIPI::ImageCollection & KIPI::ImageCollection::operator= | ( | const ImageCollection & | rhs | ) |
| bool KIPI::ImageCollection::operator== | ( | const ImageCollection & | ic | ) | const |
| KURL KIPI::ImageCollection::path | ( | ) | const |
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.
| KURL KIPI::ImageCollection::uploadPath | ( | ) | const |
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. In contrast to path, this function must return a valid url.
IMPORTANT: uploadRoot() must be a subpath of uploadPath()
Referenced by KIPI::UploadWidget::UploadWidget().
| KURL KIPI::ImageCollection::uploadRoot | ( | ) | const |
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 couble of possible return value different host applications may choose.
IMPORTANT: uploadRoot() must be a subpath of uploadPath()
Referenced by KIPI::UploadWidget::UploadWidget().
| QString KIPI::ImageCollection::uploadRootName | ( | ) | const |
This fonction return the name of the upload root path used by the the KIPI::UploadWidget. This name can be different for each host app (like "Images" for KPhotoAlbum or "My Albums" for Digikam).
Referenced by KIPI::UploadWidget::UploadWidget().
1.8.5