Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

imagecollectionshared.h

Go to the documentation of this file.
00001 /* ============================================================
00002  * File   : imagecollectionshared.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 bythe 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  
00023 #ifndef KIPI_IMAGECOLLECTIONSHARED_H
00024 #define KIPI_IMAGECOLLECTIONSHARED_H
00025 
00026 // Qt Includes.
00027 
00028 #include <qstring.h>
00029 #include <qdatetime.h>
00030 
00031 // KDE includes.
00032 
00033 #include <kurl.h>
00034 
00035 // Local includes.
00036 
00037 #include "imagecollection.h"
00038 
00039 namespace KIPI
00040 {
00041     class ImageCollectionShared
00042     {
00043     public:
00044         ImageCollectionShared();
00045         virtual ~ImageCollectionShared() {}
00046         virtual QString name() = 0;
00047         virtual QString comment();
00048         virtual QString category();
00049         virtual QDate date();
00050         virtual KURL::List images() = 0;
00051         virtual KURL path();
00052         virtual KURL uploadPath();
00053         virtual KURL uploadRoot();
00054         virtual QString uploadRootName();
00055         virtual bool isDirectory();
00056         virtual bool operator==(ImageCollectionShared&);
00057 
00058     private:
00059         friend class ImageCollection;
00060         void addRef();
00061         void removeRef();
00062         int _count;
00063     };
00064 }
00065 
00066 #endif /* IMAGECOLLECTIONSHARED_H */
00067 

Generated on Tue Sep 13 05:01:58 2005 for libKipi by  doxygen 1.4.4