#include <mouseinput.h>
Inheritance diagram for MouseInput:


Public Slots | |
| void | mousePress (QPoint point) |
| Recevied a mouse press event. | |
Signals | |
| void | signalConvertMousePress (QPoint mouse, int &playerNumber, int &cardNumber) |
| Convert mouse coordinate. | |
Public Member Functions | |
| MouseInput (QObject *parent) | |
| Constructor for the input. | |
| virtual InputDevice::InputDeviceType | type () |
| Retrieve the type of device. | |
Definition at line 35 of file mouseinput.h.
|
|
Constructor for the input.
Definition at line 32 of file mouseinput.cpp. |
|
|
Recevied a mouse press event.
Definition at line 39 of file mouseinput.cpp. References AbstractInput::mId, AbstractInput::mInputAllowed, signalConvertMousePress(), and AbstractInput::signalPlayerInput(). |
|
||||||||||||||||
|
Convert mouse coordinate.
Referenced by mousePress(). |
|
|
Retrieve the type of device.
Implements AbstractInput. Definition at line 48 of file mouseinput.h. References InputDevice::TypeMouseInput. |
1.4.6