~ubuntu-branches/ubuntu/feisty/digikam/feisty

« back to all changes in this revision

Viewing changes to digikam/libs/imageproperties/cameraitempropertiestab.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2006-12-07 19:09:01 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20061207190901-h7wo0kj1wv9d5b46
Tags: 1:0.9.0~rc2-0ubuntu1
* New upstream release
* Sync packaging with debian
* Removed obsolete patches 10_kdesvn_606804_dcraw-return-code.diff
  and 11_kdesvn_606805_file-extention-parsing.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 * Author: Caulier Gilles <caulier dot gilles at kdemail dot net>
 
3
 * Date  : 2006-02-08
 
4
 * Description : A tab to display camera item informations
 
5
 *
 
6
 * Copyright 2006 by Gilles Caulier
 
7
 *
 
8
 * This program is free software; you can redistribute it
 
9
 * and/or modify it under the terms of the GNU General
 
10
 * Public License as published by the Free Software Foundation;
 
11
 * either version 2, or (at your option)
 
12
 * any later version.
 
13
 *
 
14
 * This program is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 * GNU General Public License for more details.
 
18
 *
 
19
 * ============================================================ */
 
20
 
 
21
#ifndef CAMERAITEMPROPERTIESTAB_H
 
22
#define CAMERAITEMPROPERTIESTAB_H
 
23
 
 
24
// Qt includes.
 
25
 
 
26
#include <qwidget.h>
 
27
#include <qstring.h>
 
28
 
 
29
// KDE includes.
 
30
 
 
31
#include <kurl.h>
 
32
 
 
33
// Local includes.
 
34
 
 
35
#include "digikam_export.h"
 
36
 
 
37
namespace Digikam
 
38
{
 
39
 
 
40
class GPItemInfo;
 
41
class CameraItemPropertiesTabPriv;
 
42
 
 
43
class DIGIKAM_EXPORT CameraItemPropertiesTab : public QWidget
 
44
{
 
45
    Q_OBJECT
 
46
 
 
47
public:
 
48
 
 
49
    CameraItemPropertiesTab(QWidget* parent, bool navBar=true);
 
50
    ~CameraItemPropertiesTab();
 
51
 
 
52
    void setCurrentItem(const GPItemInfo* itemInfo=0, int itemType=0,
 
53
                        const QString &newFileName=QString::null,
 
54
                        const QByteArray& exifData=QByteArray(),
 
55
                        const KURL &currentURL = KURL());
 
56
    void colorChanged(const QColor& back, const QColor& fore);
 
57
 
 
58
signals:
 
59
 
 
60
    void signalFirstItem(void);
 
61
    void signalPrevItem(void);
 
62
    void signalNextItem(void);
 
63
    void signalLastItem(void);
 
64
 
 
65
private:
 
66
 
 
67
    CameraItemPropertiesTabPriv* d;
 
68
};
 
69
 
 
70
}  // NameSpace Digikam
 
71
 
 
72
#endif /* CAMERAITEMPROPERTIESTAB_H */