Krita Source Code Documentation
Loading...
Searching...
No Matches
KoFontChangeTracker.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KOFONTCHANGETRACKER_H
7#define KOFONTCHANGETRACKER_H
8
9#include <QObject>
10
16class KoFontChangeTracker : public QObject
17{
18 Q_OBJECT
19public:
20 explicit KoFontChangeTracker(QStringList paths, QObject *parent = nullptr);
22
24 void resetChangeTracker();
25Q_SIGNALS:
27private Q_SLOTS:
28 void directoriesChanged(QString path);
29private:
30 struct Private;
31 QScopedPointer<Private> d;
32};
33
34#endif // KOFONTCHANGETRACKER_H
The KoFontChangeTracker class This class keeps track of the paths FontConfig is looking at,...
void resetChangeTracker()
This should be called after fontregistry initialization is done to start the signal compressor.
KoFontChangeTracker(QStringList paths, QObject *parent=nullptr)
QScopedPointer< Private > d
void directoriesChanged(QString path)