1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/testmouselocker11/qqtmouselocker_p.cpp
tianduanrui 5d2481792c add a testcase.
test qqtmouselocker, support windows now.
2019-08-24 09:01:56 +08:00

29 lines
675 B
C++

#include "qqtmouselocker_p.h"
#include "qqtmouselocker.h"
QQtMouseLockerPrivate::QQtMouseLockerPrivate ( QQtMouseLocker* q )
{
q_ptr = q;
i_ptr = new QQtMouseLockerImpl();
}
QQtMouseLockerPrivate::~QQtMouseLockerPrivate()
{
delete i_ptr;
}
void QQtMouseLockerPrivate::focusInEvent ( QFocusEvent* event, QWidget* target )
{
i_ptr->focusInEvent ( event, target );
}
void QQtMouseLockerPrivate::focusOutEvent ( QFocusEvent* event, QWidget* target )
{
i_ptr->focusOutEvent ( event, target );
}
void QQtMouseLockerPrivate::mouseMoveEvent ( QMouseEvent* event, QWidget* target )
{
i_ptr->mouseMoveEvent ( event, target );
}