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