Example #1
0
void QWidgetProto::grabMouse(const QCursor &cursor)
{
  QWidget *item = qscriptvalue_cast<QWidget*>(thisObject());
  if (item)
    item->grabMouse(cursor);
}
Example #2
0
void QWidgetProto::grabMouse()
{
  QWidget *item = qscriptvalue_cast<QWidget*>(thisObject());
  if (item)
    item->grabMouse();
}