libKipi
imagecollection.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
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 
28 #ifndef KIPI_IMAGECOLLECTION_H
29 #define KIPI_IMAGECOLLECTION_H
30 
31 // Qt includes
32 
33 #include <qstring.h>
34 #include <qdatetime.h>
35 
36 // KDE includes.
37 
38 #include <kurl.h>
39 
40 // Local includes.
41 
42 #include "libkipi/libkipi_export.h"
43 
45 namespace KIPI
46 {
47  class ImageCollectionShared;
48 
53  {
54  public:
55  QString name() const;
56  QString comment() const;
57  QString category() const;
58  QDate date() const;
59  KURL::List images() const;
60  KURL path() const;
61  KURL uploadPath() const;
62  KURL uploadRoot() const;
63  QString uploadRootName() const;
64  bool isDirectory() const;
65  bool isValid() const;
66 
67  // Interface for host application + general stuff
69  ImageCollection( const ImageCollection& other );
70  ~ImageCollection();
72  ImageCollection& operator=( const ImageCollection& );
73 
74  bool operator==(const ImageCollection&) const;
75  private:
76  mutable KIPI::ImageCollectionShared* _data;
77  void printNullError() const;
78  };
79 }
80 
81 #endif /* IMAGECOLLECTION_H */
82 
Definition: imagecollection.h:52
Definition: batchprogressdialog.cpp:69
#define LIBKIPI_EXPORT
Definition: libkipi_export.h:35
Definition: imagecollectionshared.h:45