Libkleo

applicationpalettewatcher.h
1/* -*- mode: c++; c-basic-offset:4 -*-
2 This file is part of libkleopatra
3 SPDX-FileCopyrightText: 2025 g10 Code GmbH
4 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#pragma once
10
11#include "kleo_export.h"
12
13#include <QObject>
14
15class KLEO_EXPORT ApplicationPaletteWatcher : public QObject
16{
17 Q_OBJECT
18public:
19 explicit ApplicationPaletteWatcher(QObject *parent = nullptr);
20 ~ApplicationPaletteWatcher() override;
21
22Q_SIGNALS:
23 void paletteChanged();
24
25private:
26 bool eventFilter(QObject *obj, QEvent *event) override;
27};
virtual bool eventFilter(QObject *watched, QEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:54:06 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.