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
27
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
43
45namespace KIPI
46{
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 );
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 imagecollectionshared.h:46
bool isDirectory() const
Definition imagecollection.cpp:234
KURL::List images() const
Definition imagecollection.cpp:95
bool isValid() const
Definition imagecollection.cpp:244
QString uploadRootName() const
Definition imagecollection.cpp:219
ImageCollection(ImageCollectionShared *)
Definition imagecollection.cpp:105
ImageCollection & operator=(const ImageCollection &)
Definition imagecollection.cpp:131
KURL uploadRoot() const
Definition imagecollection.cpp:204
QString comment() const
Definition imagecollection.cpp:41
QDate date() const
Definition imagecollection.cpp:82
QString category() const
Definition imagecollection.cpp:68
QString name() const
Definition imagecollection.cpp:54
KURL uploadPath() const
Definition imagecollection.cpp:179
bool operator==(const ImageCollection &) const
Definition imagecollection.cpp:258
KURL path() const
Definition imagecollection.cpp:157
#define LIBKIPI_EXPORT
Definition libkipi_export.h:35
Definition batchprogressdialog.cpp:70