~ubuntu-branches/ubuntu/natty/kipi-plugins/natty

« back to all changes in this revision

Viewing changes to metadataedit/iptccategories.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-06-13 01:07:38 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100613010738-y8ped08n4vibopv3
Tags: 1.3.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ============================================================
2
 
 *
3
 
 * This file is a part of kipi-plugins project
4
 
 * http://www.kipi-plugins.org
5
 
 *
6
 
 * Date        : 2006-10-15
7
 
 * Description : IPTC categories settings page.
8
 
 *
9
 
 * Copyright (C) 2006-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
 
 *
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.
15
 
 *
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.
20
 
 *
21
 
 * ============================================================ */
22
 
 
23
 
#ifndef IPTC_CATEGORIES_H
24
 
#define IPTC_CATEGORIES_H
25
 
 
26
 
// Qt includes
27
 
 
28
 
#include <QWidget>
29
 
#include <QByteArray>
30
 
 
31
 
namespace KIPIMetadataEditPlugin
32
 
{
33
 
 
34
 
class IPTCCategoriesPriv;
35
 
 
36
 
class IPTCCategories : public QWidget
37
 
{
38
 
    Q_OBJECT
39
 
 
40
 
public:
41
 
 
42
 
    IPTCCategories(QWidget* parent);
43
 
    ~IPTCCategories();
44
 
 
45
 
    void applyMetadata(QByteArray& iptcData);
46
 
    void readMetadata(QByteArray& iptcData);
47
 
 
48
 
Q_SIGNALS:
49
 
 
50
 
    void signalModified();
51
 
 
52
 
private Q_SLOTS:
53
 
 
54
 
    void slotCategorySelectionChanged();
55
 
    void slotAddCategory();
56
 
    void slotDelCategory();
57
 
    void slotRepCategory();
58
 
 
59
 
private:
60
 
 
61
 
    IPTCCategoriesPriv* const d;
62
 
};
63
 
 
64
 
}  // namespace KIPIMetadataEditPlugin
65
 
 
66
 
#endif // IPTC_CATEGORIES_H