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

« back to all changes in this revision

Viewing changes to digikam/utilities/setup/setup.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
 * Authors: Renchi Raju <renchi at pooh.tam.uiuc.edu>
 
3
 *          Gilles Caulier <caulier dot gilles at free.fr>
 
4
 * Date   : 2003-02-03
 
5
 * Description : Digikam setup dialog.
 
6
 * 
 
7
 * Copyright 2003-2004 by Renchi Raju and Gilles Caulier
 
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 by the 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 SETUP_H
 
23
#define SETUP_H
 
24
 
 
25
// KDE includes.
 
26
 
 
27
#include <kdialogbase.h>
 
28
 
 
29
class QFrame;
 
30
 
 
31
class SetupGeneral;
 
32
class SetupExif;
 
33
class SetupCollections;
 
34
class SetupMime;
 
35
class SetupEditor;
 
36
class SetupPlugins;
 
37
class SetupCamera;
 
38
class SetupMisc;
 
39
 
 
40
class Setup : public KDialogBase 
 
41
{
 
42
    Q_OBJECT
 
43
 
 
44
public:
 
45
 
 
46
    enum Page {
 
47
        General = 0,
 
48
        Exif,
 
49
        Collections,
 
50
        Mime,
 
51
        Editor,
 
52
        Plugins,
 
53
        Camera,
 
54
        Miscellaneous
 
55
    };
 
56
    
 
57
    Setup(QWidget* parent=0, const char* name=0,
 
58
          Page page=General);
 
59
    ~Setup();
 
60
 
 
61
    SetupPlugins     *pluginsPage_;
 
62
    SetupEditor      *editorPage_;
 
63
    
 
64
private:
 
65
 
 
66
    QFrame           *page_general;
 
67
    QFrame           *page_exif;
 
68
    QFrame           *page_collections;
 
69
    QFrame           *page_mime;
 
70
    QFrame           *page_editor;
 
71
    QFrame           *page_plugins;
 
72
    QFrame           *page_camera;
 
73
    QFrame           *page_misc;
 
74
    
 
75
    SetupGeneral     *generalPage_;
 
76
    SetupExif        *exifPage_;
 
77
    SetupCollections *collectionsPage_;
 
78
    SetupMime        *mimePage_;
 
79
    SetupCamera      *cameraPage_;
 
80
    SetupMisc        *miscPage_;
 
81
 
 
82
private slots:
 
83
 
 
84
    void slotOkClicked();
 
85
};
 
86
 
 
87
#endif  // SETUP_H