Commit 958cb177 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use K_DOXYGEN instead of deprecated DOXYGEN_SHOULD_SKIP_THIS

GIT_SILENT
parent 305a657a
......@@ -30,7 +30,7 @@ namespace KWayland
namespace Client
{
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_buffer_listener Buffer::Private::s_listener = {
Buffer::Private::releasedCallback
};
......
......@@ -52,7 +52,7 @@ private:
static const struct wl_data_offer_listener s_listener;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_data_offer_listener DataOffer::Private::s_listener = {
offerCallback,
sourceActionsCallback,
......
......@@ -131,7 +131,7 @@ private:
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const org_kde_kwin_dpms_listener Dpms::Private::s_listener = {
supportedCallback,
modeCallback,
......
......@@ -514,7 +514,7 @@ EventQueue *Registry::eventQueue()
return d->queue;
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_registry_listener Registry::Private::s_registryListener = {
globalAnnounce,
globalRemove
......
......@@ -162,7 +162,7 @@ void RemoteBuffer::Private::paramsCallback(void *data, org_kde_kwin_remote_buffe
emit p->q->parametersObtained();
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
org_kde_kwin_remote_buffer_listener RemoteBuffer::Private::s_listener = {
paramsCallback
};
......
......@@ -67,7 +67,7 @@ private:
ServerSideDecoration *q;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const org_kde_kwin_server_decoration_manager_listener ServerSideDecorationManager::Private::s_listener = {
defaultModeCallback
};
......@@ -178,7 +178,7 @@ ServerSideDecoration *ServerSideDecorationManager::create(wl_surface *surface, Q
return deco;
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const org_kde_kwin_server_decoration_listener ServerSideDecoration::Private::s_listener = {
modeCallback
};
......
......@@ -166,7 +166,7 @@ void Shadow::commit()
org_kde_kwin_shadow_commit(d->shadow);
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
#define attach( __PART__, __WAYLAND_PART__ ) \
void Shadow::attach##__PART__(wl_buffer *buffer) \
{ \
......
......@@ -234,7 +234,7 @@ void ShellSurface::destroy()
d->surface.destroy();
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_shell_surface_listener ShellSurface::Private::s_listener = {
pingCallback,
configureCallback,
......
......@@ -161,7 +161,7 @@ void Surface::Private::handleFrameCallback()
emit q->frameRendered();
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_callback_listener Surface::Private::s_listener = {
frameCallback
};
......
......@@ -55,7 +55,7 @@ private:
const quint32 AppMenuManagerInterface::Private::s_version = 1;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_appmenu_manager_interface AppMenuManagerInterface::Private::s_interface = {
createCallback
};
......@@ -127,7 +127,7 @@ private:
static const struct org_kde_kwin_appmenu_interface s_interface;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_appmenu_interface AppMenuInterface::Private::s_interface = {
setAddressCallback,
resourceDestroyedCallback
......
......@@ -59,7 +59,7 @@ private:
const quint32 BlurManagerInterface::Private::s_version = 1;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_blur_manager_interface BlurManagerInterface::Private::s_interface = {
createCallback,
unsetCallback
......@@ -155,7 +155,7 @@ private:
static const struct org_kde_kwin_blur_interface s_interface;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_blur_interface BlurInterface::Private::s_interface = {
commitCallback,
setRegionCallback,
......
......@@ -59,7 +59,7 @@ CompositorInterface::Private::Private(CompositorInterface *q, Display *d)
{
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_compositor_interface CompositorInterface::Private::s_interface = {
createSurfaceCallback,
createRegionCallback
......
......@@ -60,7 +60,7 @@ private:
const quint32 ContrastManagerInterface::Private::s_version = 1;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_contrast_manager_interface ContrastManagerInterface::Private::s_interface = {
createCallback,
unsetCallback
......@@ -165,7 +165,7 @@ private:
static const struct org_kde_kwin_contrast_interface s_interface;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_contrast_interface ContrastInterface::Private::s_interface = {
commitCallback,
setRegionCallback,
......
......@@ -75,7 +75,7 @@ private:
static const struct wl_data_device_interface s_interface;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_data_device_interface DataDeviceInterface::Private::s_interface = {
startDragCallback,
setSelectionCallback,
......
......@@ -58,7 +58,7 @@ const quint32 DataDeviceManagerInterface::Private::s_version = 3;
const qint32 DataDeviceManagerInterface::Private::s_dataDeviceVersion = 3;
const qint32 DataDeviceManagerInterface::Private::s_dataSourceVersion = 3;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_data_device_manager_interface DataDeviceManagerInterface::Private::s_interface = {
createDataSourceCallback,
getDataDeviceCallback
......
......@@ -32,7 +32,7 @@ namespace KWayland
namespace Server
{
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_data_offer_interface DataOfferInterface::Private::s_interface = {
acceptCallback,
receiveCallback,
......
......@@ -54,7 +54,7 @@ private:
const static struct wl_data_source_interface s_interface;
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_data_source_interface DataSourceInterface::Private::s_interface = {
offerCallback,
resourceDestroyedCallback,
......
......@@ -28,7 +28,7 @@ namespace Server
const quint32 DpmsManagerInterface::Private::s_version = 1;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_dpms_manager_interface DpmsManagerInterface::Private::s_interface = {
getDpmsCallback
};
......@@ -75,7 +75,7 @@ DpmsManagerInterface::DpmsManagerInterface(Display *display, QObject *parent)
DpmsManagerInterface::~DpmsManagerInterface() = default;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_dpms_interface DpmsInterface::Private::s_interface = {
setCallback,
resourceDestroyedCallback
......
......@@ -32,7 +32,7 @@ namespace Server
const quint32 EglStreamControllerInterface::Private::s_version = 1;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct wl_eglstream_controller_interface EglStreamControllerInterface::Private::s_interface = {
attachStreamConsumer,
attachStreamConsumerAttribs
......
......@@ -79,7 +79,7 @@ private:
const quint32 FakeInputInterface::Private::s_version = 4;
QList<quint32> FakeInputInterface::Private::touchIds = QList<quint32>();
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifndef K_DOXYGEN
const struct org_kde_kwin_fake_input_interface FakeInputInterface::Private::s_interface = {
authenticateCallback,
pointerMotionCallback,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment