KGuiAddons

kcolorschemewatcher_mac.h
1/*
2 * SPDX-FileCopyrightText: 2022 Georg Gadinger <nilsding@nilsding.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KCOLORSCHEMEWATCHER_MAC_H
8#define KCOLORSCHEMEWATCHER_MAC_H
9
10#include "kcolorschemewatcherbackend.h"
11
12class KColorSchemeWatcherMac : public KColorSchemeWatcherBackend
13{
15
16public:
17 explicit KColorSchemeWatcherMac();
18 ~KColorSchemeWatcherMac();
19
20 KColorSchemeWatcher::ColorPreference systemPreference() const override;
21
22private:
23 // not ideal, in obj-c++ this would be an `id`, but since this header is
24 // included from pure C++ files the compiler will not know what to do with
25 // an `id`
26 void *m_observer;
27};
28
29#endif
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 10 2024 11:48:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.