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
2019-09-24 13:01:55 +08:00

39 lines
890 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::lockWindow ( QWidget* target )
{
i_ptr->lockWindow ( target );
}
void QQtMouseLockerPrivate::unlockWindow ( QWidget* target )
{
i_ptr->unlockWindow ( target );
}
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 );
}