imagecollection.h

Go to the documentation of this file.
00001 /* ============================================================
00002  * File   : imagecollection.h
00003  * Authors: KIPI team developers (see AUTHORS files for details)
00004  *          
00005  * Date   : 2004-02
00006  * Description :
00007  *
00008  * Copyright 2004 by the KIPI team
00009  *
00010  * This program is free software; you can redistribute it
00011  * and/or modify it under the terms of the GNU Library General
00012  * Public License as published by the Free Software Foundation;
00013  * either version 2, or (at your option)
00014  * any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Library General Public License for more details.
00020  *
00021  * ============================================================ */
00022  
00025 #ifndef KIPI_IMAGECOLLECTION_H
00026 #define KIPI_IMAGECOLLECTION_H
00027 
00028 // Qt includes
00029 
00030 #include <qstring.h>
00031 #include <qdatetime.h>
00032 
00033 // KDE includes.
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         // Interface for host application + general stuff
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 /* IMAGECOLLECTION_H */
00076 

Generated on Tue Sep 25 22:34:22 2007 for libKipi by  doxygen 1.5.3