File indexing completed on 2024-06-16 05:08:52
0001 /* 0002 SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 #include <X11/XKBlib.h> 0012 #include <X11/extensions/XKBgeom.h> 0013 #include <X11/extensions/XKBrules.h> 0014 #include <X11/extensions/XKBstr.h> 0015 0016 // undef generic x stuff. should use kwindowsystem's fixx11h really 0017 #undef Status 0018 #undef None 0019 #undef Bool 0020 #undef CursorShape 0021 #undef KeyPress 0022 #undef KeyRelease 0023 #undef FocusIn 0024 #undef FocusOut 0025 #undef FontChange 0026 #undef Expose 0027 #undef Unsorted 0028 0029 class XkbObject : public QObject 0030 { 0031 protected: 0032 XkbObject(XkbDescPtr xkb_, QObject *parent = nullptr); 0033 0034 XkbDescPtr xkb = nullptr; 0035 };