QWindowKit  1.5.1.0
Cross-platform window customization framework
Loading...
Searching...
No Matches
linuxx11context_p.h
1// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao)
2// Copyright (C) 2023-present Stdware Collections (https://www.github.com/stdware)
3// Copyright (C) 2025-2027 Wing-summer (wingsummer)
4// SPDX-License-Identifier: Apache-2.0
5
6#ifndef LINUXX11CONTEXT_P_H
7#define LINUXX11CONTEXT_P_H
8
9//
10// W A R N I N G !!!
11// -----------------
12//
13// This file is not part of the QWindowKit API. It is used purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or may even be removed.
16//
17
18#include "qtwindowcontext_p.h"
19
20#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
21namespace QWK {
22
23 class LinuxX11Context : public QtWindowContext {
24 Q_OBJECT
25 public:
26 LinuxX11Context();
27 ~LinuxX11Context() override;
28
29 QString key() const override;
30 void virtual_hook(int id, void *data) override;
31 };
32
33}
34#endif // QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
35#endif // LINUXX11CONTEXT_P_H
QWindowKit namespace.
Definition abstractwindowcontext.cpp:13