30 bool registered()
const {
return !registerKey.isEmpty(); }
33 void registerMonitorRegion();
34 void unregisterMonitorRegion();
36 void _q_ButtonPress(
const int flag,
const int x,
const int y,
const QString &key);
37 void _q_ButtonRelease(
const int flag,
const int x,
const int y,
const QString &key);
38 void _q_CursorMove(
const int x,
const int y,
const QString &key);
39 void _q_CursorEnter(
const int x,
const int y,
const QString &key);
40 void _q_CursorLeave(
const int x,
const int y,
const QString &key);
41 void _q_KeyPress(
const QString &keyname,
const int x,
const int y,
const QString &key);
42 void _q_KeyRelease(
const QString &keyname,
const int x,
const int y,
const QString &key);
44 const QPoint deviceScaledCoordinate(
const QPoint &p,
const double ratio)
const;
47 QRegion watchedRegion;
49 DRegionMonitor::CoordinateType type = DRegionMonitor::ScaleRatio;
50 DRegionMonitor::RegisterdFlags registerdFlags = DRegionMonitor::Motion | DRegionMonitor::Button | DRegionMonitor::Key;