libkipi from trunk (KDE 4.3) : add support of kipi host settings "file timestamp...
[kdegraphics.git] / kamera / kcontrol / kameraconfigdialog.h
blob722a00460c7503e121717a61c584fde3f1a23d9a
1 /*
3 Copyright (C) 2001 The Kompany
4 2002-2003 Ilya Konstantinov <kde-devel@future.shiny.co.il>
5 2002-2003 Marcus Meissner <marcus@jet.franken.de>
6 2003 Nadeem Hasan <nhasan@nadmm.com>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #ifndef __kameraconfigdialog_h__
24 #define __kameraconfigdialog_h__
26 #include <qmap.h>
27 #include <kdialog.h>
28 #include <qtabwidget.h>
30 extern "C" {
31 #include <gphoto2.h>
34 class KameraConfigDialog : public KDialog
36 Q_OBJECT
37 public:
38 KameraConfigDialog(Camera *camera, CameraWidget *widget,
39 QWidget *parent = 0, const char *name = 0);
41 private slots:
42 void slotOk();
44 private:
45 void appendWidget(QWidget *parent, CameraWidget *widget);
46 void updateWidgetValue(CameraWidget *widget);
48 QMap<CameraWidget *, QWidget *> m_wmap;
49 CameraWidget *m_widgetRoot;
50 QTabWidget *m_tabWidget;
53 #endif