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