KWayland

idleinhibit_interface.cpp
1 /*
2  SPDX-FileCopyrightText: 2017 Martin Flöser <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 #include "idleinhibit_interface_p.h"
7 
8 namespace KWayland
9 {
10 namespace Server
11 {
12 
13 IdleInhibitManagerInterface::Private::Private(IdleInhibitManagerInterface *q, Display *d, const wl_interface *interface, quint32 version, IdleInhibitManagerInterfaceVersion interfaceVersion)
14  : Global::Private(d, interface, version)
15  , interfaceVersion(interfaceVersion)
16  , q(q)
17 {
18 }
19 
20 IdleInhibitManagerInterface::IdleInhibitManagerInterface(Private *d, QObject *parent)
21  : Global(d, parent)
22 {
23 }
24 
25 IdleInhibitManagerInterface::~IdleInhibitManagerInterface() = default;
26 
27 IdleInhibitManagerInterfaceVersion IdleInhibitManagerInterface::interfaceVersion() const
28 {
29  Q_D();
30  return d->interfaceVersion;
31 }
32 
33 IdleInhibitManagerInterface::Private *IdleInhibitManagerInterface::d_func() const
34 {
35  return reinterpret_cast<Private*>(d.data());
36 }
37 
38 }
39 }
T * data() const const
IdleInhibitManagerInterfaceVersion
Enum describing the interface versions the IdleInhibitManagerInterface can support.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 22:53:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.