Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_config_notifier.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2007 Adrian Page <adrian@pagenet.plus.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KIS_CONFIG_NOTIFIER_H_
7#define KIS_CONFIG_NOTIFIER_H_
8
9#include <QObject>
10#include <QScopedPointer>
11
12#include "kritaglobal_export.h"
13
18class KRITAGLOBAL_EXPORT KisConfigNotifier : public QObject
19{
20 Q_OBJECT
21public:
23 ~KisConfigNotifier() override;
24
29
34 void notifyConfigChanged(void);
35
36 void notifyDropFramesModeChanged();
37 void notifyPixelGridModeChanged();
38 void notifyColorHistoryModeChanged();
39 void notifyTouchPaintingChanged();
40
41 void notifyColorThemeChanged(const QString &filename);
42 void notifyLongPressChanged(bool enabled);
43
44Q_SIGNALS:
48 void configChanged(void);
53 void signalColorThemeChanged(const QString &filename);
54 void sigLongPressChanged(bool enabled);
55private:
58
59private:
60 struct Private;
61 const QScopedPointer<Private> m_d;
62};
63
64#endif // KIS_CONFIG_NOTIFIER_H_
PythonPluginManager * instance
void touchPaintingChanged()
void sigLongPressChanged(bool enabled)
void signalColorThemeChanged(const QString &filename)
void dropFramesModeChanged()
KisConfigNotifier(const KisConfigNotifier &)
void colorHistoryModeChanged()
const QScopedPointer< Private > m_d
void configChanged(void)
void pixelGridModeChanged()
KisConfigNotifier operator=(const KisConfigNotifier &)