mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
39 lines
890 B
C++
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 );
|
|
}
|