1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : Icc profile settings view.
9
* Copyright (C) 2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
24
#ifndef ICCPROFILESETTINGS_H
25
#define ICCPROFILESETTINGS_H
38
#include "digikam_export.h"
39
#include "iccprofile.h"
44
class IccProfilesSettingsPriv;
46
class DIGIKAM_EXPORT IccProfilesSettings : public KVBox
52
IccProfilesSettings(QWidget* parent=0);
53
~IccProfilesSettings();
55
IccProfile defaultProfile() const;
56
void resetToDefault();
58
IccProfile currentProfile() const;
59
void setCurrentProfile(const IccProfile& prof);
61
void readSettings(KConfigGroup& group);
62
void writeSettings(KConfigGroup& group);
64
static QStringList favoriteProfiles(KConfigGroup& group);
68
void signalSettingsChanged();
72
void slotNewProfInfo();
73
void slotProfileChanged();
77
IccProfilesSettingsPriv* const d;
80
} // namespace Digikam
82
#endif /* ICCPROFILESETTINGS_H */