1
/* ============================================================
3
* This file is a part of kipi-plugins project
4
* http://www.kipi-plugins.org
7
* Description : IPTC categories settings page.
9
* Copyright (C) 2006-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* ============================================================ */
23
#ifndef IPTC_CATEGORIES_H
24
#define IPTC_CATEGORIES_H
31
namespace KIPIMetadataEditPlugin
34
class IPTCCategoriesPriv;
36
class IPTCCategories : public QWidget
42
IPTCCategories(QWidget* parent);
45
void applyMetadata(QByteArray& iptcData);
46
void readMetadata(QByteArray& iptcData);
50
void signalModified();
54
void slotCategorySelectionChanged();
55
void slotAddCategory();
56
void slotDelCategory();
57
void slotRepCategory();
61
IPTCCategoriesPriv* const d;
64
} // namespace KIPIMetadataEditPlugin
66
#endif // IPTC_CATEGORIES_H