~ubuntu-branches/ubuntu/edgy/digikam/edgy-updates

« back to all changes in this revision

Viewing changes to utilities/setup/setupcamera.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
 
/* ============================================================
2
 
 * File  : setupcamera.h
3
 
 * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
4
 
 * Date  : 2003-02-10
5
 
 * Description : 
6
 
 * 
7
 
 * Copyright 2003 by Renchi Raju
8
 
 
9
 
 * This program is free software; you can redistribute it
10
 
 * and/or modify it under the terms of the GNU General
11
 
 * Public License as published bythe Free Software Foundation;
12
 
 * either version 2, or (at your option)
13
 
 * any later version.
14
 
 * 
15
 
 * This program is distributed in the hope that it will be useful,
16
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
 * GNU General Public License for more details.
19
 
 * 
20
 
 * ============================================================ */
21
 
 
22
 
#ifndef SETUPCAMERA_H
23
 
#define SETUPCAMERA_H
24
 
 
25
 
#include <qwidget.h>
26
 
 
27
 
class QListView;
28
 
class QListViewItem;
29
 
class QPushButton;
30
 
 
31
 
class SetupCamera : public QWidget
32
 
{
33
 
    Q_OBJECT
34
 
 
35
 
public:
36
 
 
37
 
    SetupCamera( QWidget* parent = 0 );
38
 
    ~SetupCamera();
39
 
 
40
 
    void applySettings();
41
 
    
42
 
private:
43
 
    
44
 
    QListView*    listView_;
45
 
    QPushButton* addButton_;
46
 
    QPushButton* removeButton_;
47
 
    QPushButton* editButton_;
48
 
    QPushButton* autoDetectButton_;
49
 
 
50
 
private slots:
51
 
 
52
 
    void slotSelectionChanged();
53
 
 
54
 
    void slotAddCamera();
55
 
    void slotRemoveCamera();
56
 
    void slotEditCamera();
57
 
    void slotAutoDetectCamera();
58
 
 
59
 
    void slotAddedCamera(const QString& title, const QString& model,
60
 
                         const QString& port,  const QString& path);
61
 
    void slotEditedCamera(const QString& title, const QString& model,
62
 
                          const QString& port,  const QString& path);
63
 
};
64
 
 
65
 
#endif /* SETUPCAMERA_H */