~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to core/utilities/setup/setupicc.h

  • Committer: Package Import Robot
  • Author(s): Felix Geyer, Rohan Garg, Philip Muškovac, Felix Geyer
  • Date: 2011-09-23 18:18:55 UTC
  • mfrom: (1.2.36 upstream)
  • Revision ID: package-import@ubuntu.com-20110923181855-ifs67wxkugshev9k
Tags: 2:2.1.1-0ubuntu1
[ Rohan Garg ]
* New upstream release (LP: #834190)
  - debian/control
    + Build with libqtwebkit-dev
 - debian/kipi-plugins-common
    + Install libkvkontakte required by kipi-plugins
 - debian/digikam
    + Install panoramagui

[ Philip Muškovac ]
* New upstream release
  - debian/control:
    + Add libcv-dev, libcvaux-dev, libhighgui-dev, libboost-graph1.46-dev,
      libksane-dev, libxml2-dev, libxslt-dev, libqt4-opengl-dev, libqjson-dev,
      libgpod-dev and libqca2-dev to build-deps
    + Add packages for kipi-plugins, libmediawiki, libkface, libkgeomap and
      libkvkontakte
  - debian/rules:
    + Don't build with gphoto2 since it doesn't build with it.
  - Add kubuntu_fix_test_linking.diff to fix linking of the dngconverter test
  - update install files
  - update kubuntu_01_mysqld_executable_name.diff for new cmake layout
    and rename to kubuntu_mysqld_executable_name.diff
* Fix typo in digikam-data description (LP: #804894)
* Fix Vcs links

[ Felix Geyer ]
* Move library data files to the new packages libkface-data, libkgeomap-data
  and libkvkontakte-data.
* Override version of the embedded library packages to 1.0~digikam<version>.
* Exclude the library packages from digikam-dbg to prevent file conflicts in
  the future.
* Call dh_install with --list-missing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2005-11-24
 
7
 * Description : Color management setup tab.
 
8
 *
 
9
 * Copyright (C) 2005-2007 by F.J. Cruz <fj.cruz@supercable.es>
 
10
 * Copyright (C) 2005-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
11
 * Copyright (C) 2009-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
 
12
 *
 
13
 * This program is free software; you can redistribute it
 
14
 * and/or modify it under the terms of the GNU General
 
15
 * Public License as published by the Free Software Foundation;
 
16
 * either version 2, or (at your option)
 
17
 * any later version.
 
18
 *
 
19
 * This program is distributed in the hope that it will be useful,
 
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
22
 * GNU General Public License for more details.
 
23
 *
 
24
 * ============================================================ */
 
25
 
 
26
#ifndef SETUPICC_H
 
27
#define SETUPICC_H
 
28
 
 
29
// Qt includes
 
30
 
 
31
#include <QScrollArea>
 
32
#include <QMap>
 
33
#include <QDir>
 
34
 
 
35
// KDE includes
 
36
 
 
37
#include <kurl.h>
 
38
 
 
39
// Local includes
 
40
 
 
41
#include "digikam_export.h"
 
42
 
 
43
class KPageDialog;
 
44
 
 
45
namespace Digikam
 
46
{
 
47
 
 
48
class IccProfile;
 
49
 
 
50
class SetupICC : public QScrollArea
 
51
{
 
52
    Q_OBJECT
 
53
 
 
54
public:
 
55
 
 
56
    explicit SetupICC(QWidget* parent = 0, KPageDialog* dialog = 0);
 
57
    ~SetupICC();
 
58
 
 
59
    void applySettings();
 
60
 
 
61
    static bool iccRepositoryIsValid();
 
62
 
 
63
private:
 
64
 
 
65
    void readSettings(bool restore=false);
 
66
    void fillCombos(bool report);
 
67
    void setWidgetsEnabled(bool enabled);
 
68
    void profileInfo(const IccProfile&);
 
69
 
 
70
private Q_SLOTS:
 
71
 
 
72
    void slotToggledEnabled();
 
73
    void processLcmsUrl(const QString&);
 
74
    void slotUrlChanged();
 
75
    void slotClickedIn();
 
76
    void slotClickedWork();
 
77
    void slotClickedMonitor();
 
78
    void slotClickedProof();
 
79
    void slotShowDefaultSearchPaths();
 
80
    void slotMissingToggled(bool);
 
81
 
 
82
private:
 
83
 
 
84
    class SetupICCPriv;
 
85
    SetupICCPriv* const d;
 
86
};
 
87
 
 
88
}  // namespace Digikam
 
89
 
 
90
#endif // SETUPICC_H