1 | // vim: set tabstop=4 shiftwidth=4 noexpandtab: |
2 | /* |
3 | Copyright 2010 Pau Garcia i Quiles <pgquiles@elpauer.org> |
4 | based on code for Gwenview by |
5 | Copyright 2008 Aurélien Gâteau <agateau@kde.org> |
6 | |
7 | This program is free software; you can redistribute it and/or |
8 | modify it under the terms of the GNU General Public License |
9 | as published by the Free Software Foundation; either version 2 |
10 | of the License, or (at your option) any later version. |
11 | |
12 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU General Public License for more details. |
16 | |
17 | You should have received a copy of the GNU General Public License |
18 | along with this program; if not, write to the Free Software |
19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA. |
20 | |
21 | */ |
22 | #ifndef KIPIIMAGECOLLECTIONSELECTOR_H |
23 | #define KIPIIMAGECOLLECTIONSELECTOR_H |
24 | |
25 | // KIPI |
26 | #include <libkipi/imagecollection.h> |
27 | #include <libkipi/imagecollectionselector.h> |
28 | |
29 | // Local |
30 | #include "kipiinterface.h" |
31 | |
32 | struct KIPIImageCollectionSelectorPrivate; |
33 | class KIPIImageCollectionSelector : public KIPI::ImageCollectionSelector { |
34 | Q_OBJECT |
35 | public: |
36 | KIPIImageCollectionSelector(KIPIInterface*, QWidget* parent); |
37 | ~KIPIImageCollectionSelector(); |
38 | |
39 | virtual QList<KIPI::ImageCollection> selectedImageCollections() const; |
40 | |
41 | private: |
42 | KIPIImageCollectionSelectorPrivate* const d; |
43 | }; |
44 | |
45 | #endif /* KIPIIMAGECOLLECTIONSELECTOR_H */ |
46 | |