00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00028 #ifndef KIPI_IMAGECOLLECTION_H
00029 #define KIPI_IMAGECOLLECTION_H
00030
00031
00032
00033 #include <qstring.h>
00034 #include <qdatetime.h>
00035
00036
00037
00038 #include <kurl.h>
00039
00040
00041
00042 #include "libkipi/libkipi_export.h"
00043
00045 namespace KIPI
00046 {
00047 class ImageCollectionShared;
00048
00052 class LIBKIPI_EXPORT ImageCollection
00053 {
00054 public:
00055 QString name() const;
00056 QString comment() const;
00057 QString category() const;
00058 QDate date() const;
00059 KURL::List images() const;
00060 KURL path() const;
00061 KURL uploadPath() const;
00062 KURL uploadRoot() const;
00063 QString uploadRootName() const;
00064 bool isDirectory() const;
00065 bool isValid() const;
00066
00067
00068 ImageCollection( ImageCollectionShared* );
00069 ImageCollection( const ImageCollection& other );
00070 ~ImageCollection();
00071 ImageCollection();
00072 ImageCollection& operator=( const ImageCollection& );
00073
00074 bool operator==(const ImageCollection&) const;
00075 private:
00076 mutable KIPI::ImageCollectionShared* _data;
00077 void printNullError() const;
00078 };
00079 }
00080
00081 #endif
00082