#include "previewclient.h"
#include <KDecoration2/DecoratedClient>
#include <KDecoration2/Decoration>
#include <QCoreApplication>
#include <QDebug>
#include <QEvent>
#include <QModelIndex>
#include "moc_previewclient.cpp"
Go to the source code of this file.
|
#define | SETTER(type, name, variable) |
|
#define | SETTER2(name, variable) SETTER(bool, name, variable) |
|
◆ SETTER
#define SETTER |
( |
| type, |
|
|
| name, |
|
|
| variable ) |
Value: void PreviewClient::name(type variable) \
{ \
if (m_##variable == variable) { \
return; \
} \
m_##variable = variable; \
Q_EMIT variable##Changed(m_##variable); \
}
Definition at line 393 of file previewclient.cpp.
◆ SETTER2
#define SETTER2 |
( |
| name, |
|
|
| variable ) SETTER(bool, name, variable) |