KWin
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
dbuscall.h File Reference
#include <QObject>
#include <QString>
#include <QVariant>

Go to the source code of this file.

Classes

class  KWin::DBusCall
 Qml export for providing a wrapper for sending a message over the DBus session bus. More...
 

Namespaces

namespace  KWin
 

Macros

#define GENERIC_WRAPPER(type, name, upperName)
 
#define WRAPPER(name, upperName)    GENERIC_WRAPPER(const QString &, name, upperName)
 

Macro Definition Documentation

◆ GENERIC_WRAPPER

#define GENERIC_WRAPPER ( type,
name,
upperName )
Value:
inline type DBusCall::name() const \
{ \
return m_##name; \
} \
inline void DBusCall::set##upperName(type name) \
{ \
if (m_##name == name) { \
return; \
} \
m_##name = name; \
Q_EMIT name##Changed(); \
}

Definition at line 109 of file dbuscall.h.

◆ WRAPPER

#define WRAPPER ( name,
upperName )    GENERIC_WRAPPER(const QString &, name, upperName)

Definition at line 122 of file dbuscall.h.