XCB: replace header guards with #pragma once
Following qtbase/1c8884fc277c5916a420a3c14de68547a391f9fc's making syncqt error out when an installable header contains #pragma once, we can now flip the coin and use #pragma once as a static assertion that the given header is not going to be installed, making it easier to understand which headers are "public", which ones are "private" and which ones are "neither, since never installed". Do this for the XCB platform support files. In qxcbglintegration.h, the header guard was actually broken (had only #ifndef and #endif, was missing the actual #define). As a drive-by, normalize vertical whitespace. Pick-to: 6.8 6.5 Change-Id: Iede0605c38cda7606edfc7155bd8bfc95990c5bc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 91f9ba2993a2652bcb349ce639aff67b5bfc8938) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
ae2502b4ad
commit
4e475b5cc2
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLINTEGRATION_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbexport.h"
|
||||
#include "qxcbwindow.h"
|
||||
@ -37,5 +37,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLINTEGRATION_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLINTEGRATIONFACTORY_H
|
||||
#define QXCBGLINTEGRATIONFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/qstringlist.h>
|
||||
|
||||
@ -17,6 +16,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLINTEGRATIONFACTORY_H
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLINTEGRATIONPLUGIN_H
|
||||
#define QXCBGLINTEGRATIONPLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbexport.h"
|
||||
#include <QtCore/qplugin.h>
|
||||
@ -28,5 +27,3 @@ public:
|
||||
QXcbGlIntegration *create(const QString &) { return create(); }
|
||||
};
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLINTEGRATIONPLUGIN_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBNATIVEINTERFACEHANDLER_H
|
||||
#define QXCBNATIVEINTERFACEHANDLER_H
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtGui/qpa/qplatformnativeinterface.h>
|
||||
@ -30,5 +29,3 @@ protected:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBNATIVEINTERFACEHANDLER_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBEGLCONTEXT_H
|
||||
#define QXCBEGLCONTEXT_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbeglwindow.h"
|
||||
#include <QtGui/private/qeglplatformcontext_p.h>
|
||||
@ -52,5 +51,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif //QXCBEGLCONTEXT_H
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBINCLUDE_H
|
||||
#define QXCBINCLUDE_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGui/QPalette>
|
||||
#include <QtCore/QTextStream>
|
||||
@ -14,5 +13,3 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBINCLUDE_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBEGLINTEGRATION_H
|
||||
#define QXCBEGLINTEGRATION_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbglintegration.h"
|
||||
|
||||
@ -51,4 +50,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif //QXCBEGLINTEGRATION_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBEGLNATIVEINTERFACEHANDLER_H
|
||||
#define QXCBEGLNATIVEINTERFACEHANDLER_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbnativeinterfacehandler.h"
|
||||
|
||||
@ -30,5 +29,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBEGLNATIVEINTERFACEHANDLER_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBEGLWINDOW_H
|
||||
#define QXCBEGLWINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbwindow.h"
|
||||
|
||||
@ -34,4 +33,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif //QXCBEGLWINDOW_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QGLXINTEGRATION_H
|
||||
#define QGLXINTEGRATION_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbwindow.h"
|
||||
#include "qxcbscreen.h"
|
||||
@ -76,5 +75,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLXINTEGRATION_H
|
||||
#define QXCBGLXINTEGRATION_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbglintegration.h"
|
||||
|
||||
@ -36,5 +35,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLXINTEGRATION_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLXNATIVEINTERFACEHANDLER_H
|
||||
#define QXCBGLXNATIVEINTERFACEHANDLER_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbnativeinterfacehandler.h"
|
||||
|
||||
@ -25,5 +24,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLXNATIVEINTERFACEHANDLER_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBGLXWINDOW_H
|
||||
#define QXCBGLXWINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbglxintegration.h"
|
||||
#include "qxcbwindow.h"
|
||||
@ -20,5 +19,3 @@ protected:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QXCBGLXWINDOW_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QBACKINGSTORE_X11_H
|
||||
#define QBACKINGSTORE_X11_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformbackingstore.h>
|
||||
|
||||
@ -36,5 +35,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QBACKINGSTORE_X11_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QCOLORMAP_X11_H
|
||||
#define QCOLORMAP_X11_H
|
||||
#pragma once
|
||||
|
||||
#include <QColor>
|
||||
#include <QList>
|
||||
@ -41,5 +40,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QCOLORMAP_X11_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QPAINTENGINE_X11_H
|
||||
#define QPAINTENGINE_X11_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGui/QPaintEngine>
|
||||
|
||||
@ -84,5 +83,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QPAINTENGINE_X11_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QX11PLATFORMPIXMAP_H
|
||||
#define QX11PLATFORMPIXMAP_H
|
||||
#pragma once
|
||||
|
||||
#include <QBitmap>
|
||||
#include <QPixmap>
|
||||
@ -129,5 +128,3 @@ int qt_x11SetDefaultScreen(int screen);
|
||||
void qt_x11SetScreen(QPixmap &pixmap, int screen);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QX11PLATFORMPIXMAP_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QPOLYGONCLIPPER_P_H
|
||||
#define QPOLYGONCLIPPER_P_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@ -276,5 +275,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QPOLYGONCLIPPER_P_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QT_X11_P_H
|
||||
#define QT_X11_P_H
|
||||
#pragma once
|
||||
|
||||
#define register /* C++17 deprecated register */
|
||||
#include <X11/Xlib.h>
|
||||
@ -161,5 +160,3 @@ constexpr inline int lowest_bit(T v) noexcept
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QT_X11_P_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QTESSELATOR_P_H
|
||||
#define QTESSELATOR_P_H
|
||||
#pragma once
|
||||
|
||||
#include <QPoint>
|
||||
#include <QRect>
|
||||
@ -49,5 +48,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBNATIVEPAINTING_H
|
||||
#define QXCBNATIVEPAINTING_H
|
||||
#pragma once
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
#include "qt_x11_p.h"
|
||||
@ -62,5 +61,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBNATIVEPAINTING_H
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QT_XLIB_WRAPPER_H
|
||||
#define QT_XLIB_WRAPPER_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -13,5 +12,3 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // QT_XLIB_WRAPPER_H
|
||||
|
@ -1,7 +1,6 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QXCBATOM_H
|
||||
#define QXCBATOM_H
|
||||
#pragma once
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
@ -230,5 +229,3 @@ protected:
|
||||
private:
|
||||
xcb_atom_t m_allAtoms[QXcbAtom::NAtoms];
|
||||
};
|
||||
|
||||
#endif // QXCBATOM_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBBACKINGSTORE_H
|
||||
#define QXCBBACKINGSTORE_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformbackingstore.h>
|
||||
#include <QtCore/QStack>
|
||||
@ -77,5 +76,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBCLIPBOARD_H
|
||||
#define QXCBCLIPBOARD_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformclipboard.h>
|
||||
#include <qxcbobject.h>
|
||||
@ -110,5 +109,3 @@ private:
|
||||
#endif // QT_NO_CLIPBOARD
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBCLIPBOARD_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBCONNECTION_H
|
||||
#define QXCBCONNECTION_H
|
||||
#pragma once
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/randr.h>
|
||||
@ -376,5 +375,3 @@ template <typename T>
|
||||
struct alignas(32) q_padded_xcb_event : T { };
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QXCBBASICCONNECTION_H
|
||||
#define QXCBBASICCONNECTION_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qxcbatom.h"
|
||||
#include "qxcbexport.h"
|
||||
@ -137,5 +137,3 @@ struct QStdFreeDeleter {
|
||||
)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBBASICCONNECTION_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBCURSOR_H
|
||||
#define QXCBCURSOR_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformcursor.h>
|
||||
#include "qxcbscreen.h"
|
||||
@ -93,5 +92,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -3,8 +3,7 @@
|
||||
|
||||
// copied from <X11/cursorfont.h>
|
||||
|
||||
#ifndef QXCBCURSORFONT_H
|
||||
#define QXCBCURSORFONT_H
|
||||
#pragma once
|
||||
|
||||
#define XC_num_glyphs 154
|
||||
#define XC_X_cursor 0
|
||||
@ -84,5 +83,3 @@
|
||||
#define XC_ur_angle 148
|
||||
#define XC_watch 150
|
||||
#define XC_xterm 152
|
||||
|
||||
#endif /* QXCBCURSORFONT_H */
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBDRAG_H
|
||||
#define QXCBDRAG_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformdrag.h>
|
||||
#include <private/qsimpledrag_p.h>
|
||||
@ -155,5 +154,3 @@ private:
|
||||
Q_DECLARE_TYPEINFO(QXcbDrag::Transaction, Q_RELOCATABLE_TYPE);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QXCBEVENTDISPATCHER_H
|
||||
#define QXCBEVENTDISPATCHER_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QEventLoop>
|
||||
@ -68,5 +68,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBEVENTDISPATCHER_H
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2018 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QXCBEVENTQUEUE_H
|
||||
#define QXCBEVENTQUEUE_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QThread>
|
||||
#include <QtCore/QHash>
|
||||
@ -147,5 +147,3 @@ xcb_generic_event_t *QXcbEventQueue::peek(PeekOption option, Peeker &&peeker)
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBEXPORT_H
|
||||
#define QXCBEXPORT_H
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
@ -15,5 +14,3 @@ QT_BEGIN_NAMESPACE
|
||||
# endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif //QXCBEXPORT_H
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBIMAGE_H
|
||||
#define QXCBIMAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbscreen.h"
|
||||
#include <QtGui/QImage>
|
||||
@ -21,5 +20,3 @@ xcb_cursor_t qt_xcb_createCursorXRender(QXcbScreen *screen, const QImage &image,
|
||||
const QPoint &spot);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBINTEGRATION_H
|
||||
#define QXCBINTEGRATION_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGui/private/qtguiglobal_p.h>
|
||||
#include <qpa/qplatformintegration.h>
|
||||
@ -127,5 +126,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBKEYBOARD_H
|
||||
#define QXCBKEYBOARD_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbobject.h"
|
||||
|
||||
@ -105,5 +104,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBMIME_H
|
||||
#define QXCBMIME_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGui/private/qinternalmimedata_p.h>
|
||||
|
||||
@ -30,5 +29,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBMIME_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBNATIVEINTERFACE_H
|
||||
#define QXCBNATIVEINTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
#include <xcb/xcb.h>
|
||||
@ -119,5 +118,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBNATIVEINTERFACE_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBOBJECT_H
|
||||
#define QXCBOBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbconnection.h"
|
||||
|
||||
@ -24,5 +23,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBSCREEN_H
|
||||
#define QXCBSCREEN_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformscreen.h>
|
||||
#include <qpa/qplatformscreen_p.h>
|
||||
@ -228,5 +227,3 @@ Q_GUI_EXPORT QDebug operator<<(QDebug, const QXcbScreen *);
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2020 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBSCROLLINGDEVICE_P_H
|
||||
#define QXCBSCROLLINGDEVICE_P_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGui/private/qpointingdevice_p.h>
|
||||
|
||||
@ -52,5 +51,3 @@ public:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBSCROLLINGDEVICE_P_H
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBSESSIONMANAGER_H
|
||||
#define QXCBSESSIONMANAGER_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// W A R N I N G
|
||||
@ -54,5 +53,3 @@ private:
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif //QT_NO_SESSIONMANAGER
|
||||
|
||||
#endif //QXCBSESSIONMANAGER_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBSYSTEMTRAYTRACKER_H
|
||||
#define QXCBSYSTEMTRAYTRACKER_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbconnection.h"
|
||||
|
||||
@ -45,5 +44,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBSYSTEMTRAYTRACKER_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2017 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBVULKANINSTANCE_H
|
||||
#define QXCBVULKANINSTANCE_H
|
||||
#pragma once
|
||||
|
||||
#if defined(VULKAN_H_) && !defined(VK_USE_PLATFORM_XCB_KHR)
|
||||
#error "vulkan.h included without xcb WSI"
|
||||
@ -36,5 +35,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBVULKANINSTANCE_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2017 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBVULKANWINDOW_H
|
||||
#define QXCBVULKANWINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbwindow.h"
|
||||
#include "qxcbvulkaninstance.h"
|
||||
@ -25,5 +24,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBVULKANWINDOW_H
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBWINDOW_H
|
||||
#define QXCBWINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include <qpa/qplatformwindow.h>
|
||||
#include <qpa/qplatformwindow_p.h>
|
||||
@ -281,5 +280,3 @@ QList<xcb_rectangle_t> qRegionToXcbRectangleList(const QRegion ®ion);
|
||||
QT_END_NAMESPACE
|
||||
|
||||
Q_DECLARE_METATYPE(QXcbWindow*)
|
||||
|
||||
#endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
#ifndef QXCBWMSUPPORT_H
|
||||
#define QXCBWMSUPPORT_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qxcbobject.h"
|
||||
#include "qxcbconnection.h"
|
||||
@ -28,5 +28,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QXCBXSETTINGS_H
|
||||
#define QXCBXSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "qxcbscreen.h"
|
||||
|
||||
@ -31,5 +30,3 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QXCBXSETTINGS_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user