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 void notifyColorSamplerPreviewStyleChanged();
41
42 void notifyColorThemeChanged(const QString &filename);
43 void notifyLongPressChanged(bool enabled);
44
45#ifdef Q_OS_ANDROID
46 void notifyUsePageUpDownMouseButtonEmulationWorkaroundChanged(bool enabled);
47 void notifyUseIgnoreHistoricTabletEventsWorkaroundChanged(bool enabled);
48#endif
49
50Q_SIGNALS:
54 void configChanged(void);
60 void signalColorThemeChanged(const QString &filename);
61 void sigLongPressChanged(bool enabled);
62#ifdef Q_OS_ANDROID
63 void sigUsePageUpDownMouseButtonEmulationWorkaroundChanged(bool enabled);
64 void sigUseIgnoreHistoricTabletEventsWorkaroundChanged(bool enabled);
65#endif
66
67private:
70
71private:
72 struct Private;
73 const QScopedPointer<Private> m_d;
74};
75
76#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 sigColorSamplerPreviewStyleChanged()
void pixelGridModeChanged()
KisConfigNotifier operator=(const KisConfigNotifier &)