KWayland
6 #ifndef KWAYLAND_CLIENT_XDGFOREIGN_H 7 #define KWAYLAND_CLIENT_XDGFOREIGN_H 13 #include <KWayland/Client/kwaylandclient_export.h> 15 struct zxdg_exporter_v2;
16 struct zxdg_importer_v2;
17 struct zxdg_exported_v2;
18 struct zxdg_imported_v2;
64 void setup(zxdg_exporter_v2 *);
110 XdgExported *exportTopLevel(
Surface *surface,
QObject *parent =
nullptr);
112 operator zxdg_exporter_v2*();
113 operator zxdg_exporter_v2*()
const;
164 void setup(zxdg_importer_v2 *);
168 bool isValid()
const;
215 XdgImported *importTopLevel(
const QString & handle,
QObject *parent =
nullptr);
217 operator zxdg_importer_v2*();
218 operator zxdg_importer_v2*()
const;
235 class KWAYLANDCLIENT_EXPORT XdgExported :
public QObject 239 virtual ~XdgExported();
246 void setup(zxdg_exported_v2 *);
250 bool isValid()
const;
282 operator zxdg_exported_v2*();
283 operator zxdg_exported_v2*()
const;
295 explicit XdgExported(Private *p,
QObject *parent =
nullptr);
299 class KWAYLANDCLIENT_EXPORT XdgImported :
public QObject 303 virtual ~XdgImported();
310 void setup(zxdg_imported_v2 *);
314 bool isValid()
const;
347 void setParentOf(
Surface *surface);
349 operator zxdg_imported_v2*();
350 operator zxdg_imported_v2*()
const;
357 void importedDestroyed();
362 explicit XdgImported(Private *p,
QObject *parent =
nullptr);
Wrapper for the zxdg_exporter_v2 interface.
Wrapper class for wl_event_queue interface.
Wrapper for the zxdg_importer_v2 interface.
Wrapper for the wl_surface interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Mar 2 2021 23:47:48 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.