1 | /* |
2 | * Copyright (C) 2010 Pau Garcia i Quiles <pgquiles@elpauer.org> |
3 | * Essentially a rip-off of code for Kamoso by: |
4 | * Copyright (C) 2008-2009 by Aleix Pol <aleixpol@kde.org> |
5 | * Copyright (C) 2008-2009 by Alex Fiestas <alex@eyeos.org> |
6 | * |
7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU Lesser General Public License as published by |
9 | * the Free Software Foundation; either version 2 of the License, or |
10 | * (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 Lesser General Public License |
18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 | * Boston, MA 02110-1301, USA. |
21 | */ |
22 | |
23 | #ifndef KSNAPSHOTINFOSHARED_H |
24 | #define KSNAPSHOTINFOSHARED_H |
25 | |
26 | #include <libkipi/imageinfoshared.h> |
27 | #include "kipiinterface.h" |
28 | |
29 | class KSnapshotInfoShared : public KIPI::ImageInfoShared |
30 | { |
31 | public: |
32 | KSnapshotInfoShared(KIPIInterface* interface, const KUrl& url); |
33 | virtual void delAttributes(const QStringList& ); |
34 | virtual void addAttributes(const QMap< QString, QVariant >& ); |
35 | virtual void clearAttributes(); |
36 | virtual QMap< QString, QVariant > attributes(); |
37 | virtual void setDescription(const QString& ); |
38 | virtual QString description(); |
39 | }; |
40 | |
41 | #endif |
42 | |