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

« back to all changes in this revision

Viewing changes to digikam/imagedescedit.h

  • Committer: Bazaar Package Importer
  • Author(s): Achim Bohnet
  • Date: 2005-03-10 02:39:02 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050310023902-023nymfst5mg696c
Tags: 0.7.2-2
* debian/TODO: clean
* digikam manpage: better --detect-camera description

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef IMAGEDESCEDIT_H
2
 
#define IMAGEDESCEDIT_H
3
 
 
4
 
#include <kdialogbase.h>
5
 
#include <qstring.h>
6
 
 
7
 
class QLabel;
8
 
class QTextEdit;
9
 
 
10
 
class ImageDescEdit : public KDialogBase
11
 
{
12
 
    Q_OBJECT
13
 
 
14
 
public:
15
 
 
16
 
    ImageDescEdit(const QString& itemName,
17
 
                  const QString& itemComments,
18
 
                  QWidget *parent=0);
19
 
    ~ImageDescEdit();
20
 
 
21
 
    static bool editComments(const QString& itemName,
22
 
                             QString& itemComments,
23
 
                             QWidget *parent=0);
24
 
 
25
 
private:
26
 
 
27
 
    QLabel* mNameLabel;
28
 
    QTextEdit* mCommentsEdit;
29
 
    QString mItemName;
30
 
 
31
 
private slots:
32
 
 
33
 
    void slot_textChanged();
34
 
 
35
 
};
36
 
 
37
 
#endif