Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
55d04219
Commit
55d04219
authored
Mar 10, 2021
by
adrien faveraux
Committed by
Vlad Zahorodnii
Mar 10, 2021
Browse files
migrate ifndef to pragma once
parent
59c86126
Pipeline
#53704
passed with stage
in 7 minutes and 12 seconds
Changes
68
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/server/appmenu_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_APPMENU_INTERFACE_H
#define KWAYLAND_SERVER_APPMENU_INTERFACE_H
#pragma once
#include <KWaylandServer/kwaylandserver_export.h>
#include <QObject>
...
...
@@ -97,5 +96,3 @@ private:
};
}
#endif
src/server/buffer_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_BUFFER_INTERFACE_H
#define WAYLAND_SERVER_BUFFER_INTERFACE_H
#pragma once
#include <QImage>
#include <QObject>
...
...
@@ -175,5 +174,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
BufferInterface
*
)
#endif
src/server/clientconnection.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_CLIENTCONNECTION_H
#define KWAYLAND_SERVER_CLIENTCONNECTION_H
#pragma once
#include <sys/types.h>
...
...
@@ -141,5 +140,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
ClientConnection
*
)
#endif
src/server/compositor_interface.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
#define WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
#pragma once
#include "region_interface.h"
#include "surface_interface.h"
...
...
@@ -53,5 +52,3 @@ private:
};
}
// namespace KWaylandServer
#endif
src/server/contrast_interface.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_CONTRAST_INTERFACE_H
#define KWAYLAND_SERVER_CONTRAST_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -73,5 +72,3 @@ private:
};
}
#endif
src/server/datacontroldevice_v1_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_DEVICE_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_DEVICE_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -55,5 +54,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataControlDeviceV1Interface
*
)
#endif
src/server/datacontroldevicemanager_v1_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -41,5 +40,3 @@ private:
};
}
#endif
src/server/datacontroloffer_v1_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_OFFER_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_OFFER_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -47,5 +46,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataControlOfferV1Interface
*
)
#endif
src/server/datacontrolsource_v1_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_CONTROL_SOURCE_INTERFACE_H
#define WAYLAND_SERVER_DATA_CONTROL_SOURCE_INTERFACE_H
#pragma once
#include "abstract_data_source.h"
...
...
@@ -47,5 +46,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataControlSourceV1Interface
*
)
#endif
src/server/datadevice_interface.h
View file @
55d04219
...
...
@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_DEVICE_INTERFACE_H
#define WAYLAND_SERVER_DATA_DEVICE_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -133,5 +132,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataDeviceInterface
*
)
#endif
src/server/datadevicemanager_interface.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_DEVICE_MANAGER_INTERFACE_H
#define WAYLAND_SERVER_DATA_DEVICE_MANAGER_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -53,5 +52,3 @@ private:
}
Q_DECLARE_OPERATORS_FOR_FLAGS
(
KWaylandServer
::
DataDeviceManagerInterface
::
DnDActions
)
#endif
src/server/dataoffer_interface.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_OFFER_INTERFACE_H
#define WAYLAND_SERVER_DATA_OFFER_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -71,5 +70,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataOfferInterface
*
)
#endif
src/server/datasource_interface.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DATA_SOURCE_INTERFACE_H
#define WAYLAND_SERVER_DATA_SOURCE_INTERFACE_H
#pragma once
#include "abstract_data_source.h"
...
...
@@ -62,5 +61,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
DataSourceInterface
*
)
#endif
src/server/display.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DISPLAY_H
#define WAYLAND_SERVER_DISPLAY_H
#pragma once
#include <QList>
#include <QObject>
...
...
@@ -157,5 +156,3 @@ private:
};
}
#endif
src/server/dpms_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DPMS_INTERFACE_H
#define WAYLAND_SERVER_DPMS_INTERFACE_H
#pragma once
#include <QObject>
...
...
@@ -62,5 +61,3 @@ private:
};
}
#endif
src/server/dpms_interface_p.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_DPMS_INTERFACE_P_H
#define WAYLAND_SERVER_DPMS_INTERFACE_P_H
#pragma once
#include "dpms_interface.h"
...
...
@@ -47,5 +46,3 @@ protected:
};
}
#endif
src/server/eglstream_controller_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
#define WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
#pragma once
#include "global.h"
#include "surface_interface.h"
...
...
@@ -45,5 +44,3 @@ private:
};
}
#endif
src/server/fakeinput_interface.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_FAKEINPUT_INTERFACE_H
#define KWAYLAND_SERVER_FAKEINPUT_INTERFACE_H
#pragma once
#include <QPointF>
#include <QSizeF>
...
...
@@ -172,5 +171,3 @@ private:
}
Q_DECLARE_METATYPE
(
KWaylandServer
::
FakeInputDevice
*
)
#endif
src/server/filtered_display.h
View file @
55d04219
...
...
@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KWAYLAND_SERVER_FILTERED_DISPLAY_H
#define KWAYLAND_SERVER_FILTERED_DISPLAY_H
#pragma once
#include "global.h"
#include "display.h"
...
...
@@ -44,5 +43,3 @@ private:
};
}
#endif
src/server/global.h
View file @
55d04219
...
...
@@ -3,8 +3,7 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef WAYLAND_SERVER_GLOBAL_H
#define WAYLAND_SERVER_GLOBAL_H
#pragma once
#include <QObject>
...
...
@@ -89,5 +88,3 @@ protected:
};
}
#endif
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment