Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2017 Dmitry Kazakov <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KISIMAGECONFIGNOTIFIER_H
#define KISIMAGECONFIGNOTIFIER_H
#include <QObject>
#include "kritaimage_export.h"
class KRITAIMAGE_EXPORT KisImageConfigNotifier : public QObject
{
Q_OBJECT
public:
explicit KisImageConfigNotifier();
~KisImageConfigNotifier() override;
static KisImageConfigNotifier* instance();
/**
* Notify that the configuration has changed. This will cause the
* configChanged() signal to be emitted.
*/
void notifyConfigChanged(void);
/**
* Notify that the animation keyframing configuration has changed.
* This will cause the autoKeyFrameConfigurationChanged() signal
* to be emitted.
*/
void notifyAutoKeyFrameConfigurationChanged();
/**
* Notify that the global proofing configuration stored in
* KisImageConfig has been changed
*/
void notifyGlobalProofingConfigChanged();
Q_SIGNALS:
/**
* This signal is emitted whenever notifyConfigChanged() is called.
*/
void configChanged(void);
/**
* This signal is also emitted whenever notifyConfigChanged() is called.
*/
void autoKeyFrameConfigurationChanged();
/**
* This signal is also emitted whenever notifyConfigChanged() is called.
*/
void globalProofingConfigChanged();
private:
Q_DISABLE_COPY(KisImageConfigNotifier)
private:
struct Private;
const QScopedPointer<Private> m_d;
};
#endif // KISIMAGECONFIGNOTIFIER_H