fix build of rules kcm

REVIEW: 126733
This commit is contained in:
Thomas Lübking 2016-01-14 23:34:57 +01:00
parent 69aa80750f
commit f918bc3367
2 changed files with 4 additions and 0 deletions

View file

@ -258,6 +258,7 @@ void Cursor::notifyCursorChanged(uint32_t serial)
emit cursorChanged(serial);
}
#ifndef KCMRULES
class XInputEventFilter : public X11EventFilter
{
public:
@ -276,6 +277,7 @@ public:
private:
X11Cursor *m_x11Cursor;
};
#endif
X11Cursor::X11Cursor(QObject *parent)
: Cursor(parent)

View file

@ -259,7 +259,9 @@ private:
bool m_hasXInput;
int m_xiOpcode;
bool m_needsPoll;
#ifndef KCMRULES
QScopedPointer<XInputEventFilter> m_xiEventFilter;
#endif
friend class Cursor;
};