libKipi
imagecollectionshared.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of kipi-plugins project
4  * http://www.kipi-plugins.org
5  *
6  * Date : 2004-02-01
7  * Description : image collection shared
8  *
9  * Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2004-2005 by Renchi Raju <renchi.raju at kdemail.net>
11  * Copyright (C) 2004-2005 by Jesper K. Pedersen <blackie at kde.org>
12  * Copyright (C) 2004-2005 by Aurelien Gateau <aurelien dot gateau at free.fr>
13  *
14  * This program is free software; you can redistribute it
15  * and/or modify it under the terms of the GNU General
16  * Public License as published by the Free Software Foundation;
17  * either version 2, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef KIPI_IMAGECOLLECTIONSHARED_H
27 #define KIPI_IMAGECOLLECTIONSHARED_H
28 
29 // Qt Includes.
30 
31 #include <qstring.h>
32 #include <qdatetime.h>
33 
34 // KDE includes.
35 
36 #include <kurl.h>
37 
38 // Local includes.
39 
40 #include "imagecollection.h"
41 #include "libkipi/libkipi_export.h"
42 
43 namespace KIPI
44 {
46  {
47  public:
50  virtual QString name() = 0;
51  virtual QString comment();
52  virtual QString category();
53  virtual QDate date();
54  virtual KURL::List images() = 0;
55  virtual KURL path();
56  virtual KURL uploadPath();
57  virtual KURL uploadRoot();
58  virtual QString uploadRootName();
59  virtual bool isDirectory();
60  virtual bool operator==(ImageCollectionShared&);
61 
62  private:
63  friend class ImageCollection;
64  void addRef();
65  void removeRef();
66  int _count;
67  };
68 }
69 
70 #endif /* IMAGECOLLECTIONSHARED_H */
71 
Definition: imagecollection.h:52
Definition: batchprogressdialog.cpp:69
#define LIBKIPI_EXPORT
Definition: libkipi_export.h:35
Definition: imagecollectionshared.h:45
virtual ~ImageCollectionShared()
Definition: imagecollectionshared.h:49