#include <QSignalSpy>
#include <QTest>
#include "wayland/compositor.h"
#include "wayland/display.h"
#include "wayland/plasmashell.h"
#include "KWayland/Client/compositor.h"
#include "KWayland/Client/connection_thread.h"
#include "KWayland/Client/event_queue.h"
#include "KWayland/Client/plasmashell.h"
#include "KWayland/Client/registry.h"
#include "KWayland/Client/surface.h"
#include "test_plasmashell.moc"
Go to the source code of this file.
|
#define | CREATE(variable, factory, iface) |
|
#define | DELETE(name) |
|
◆ CREATE
#define CREATE |
( |
| variable, |
|
|
| factory, |
|
|
| iface ) |
Value: variable = \
m_registry->create##factory(m_registry->interface(KWayland::Client::Registry::Interface::iface).name, m_registry->interface(KWayland::Client::Registry::Interface::iface).version, this); \
QVERIFY(variable);
◆ DELETE
Value: if (name) { \
delete name; \
name = nullptr; \
}