Generic InputDevice XML serialization/deserialization helper class Reads data from the supplied InputDevice object and writes it to XML or reads data from an QXmlStreamReader and writes it to the InputDevice object.
More...
#include <inputdevicexml.h>
Generic InputDevice XML serialization/deserialization helper class Reads data from the supplied InputDevice object and writes it to XML or reads data from an QXmlStreamReader and writes it to the InputDevice object.
After serializing or deserializing the device data, it reads/writes all SetJoysticks.
◆ InputDeviceXml()
| InputDeviceXml::InputDeviceXml |
( |
InputDevice * |
inputDevice, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ readConfig
| void InputDeviceXml::readConfig |
( |
QXmlStreamReader * |
xml | ) |
|
|
slot |
Deserializes the given XML stream into an InputDevice object.
- Parameters
-
| [in] | xml | The XML stream to read from |
◆ readConfigSig
| void InputDeviceXml::readConfigSig |
( |
QXmlStreamReader * |
xml | ) |
|
|
signal |
◆ writeConfig
| void InputDeviceXml::writeConfig |
( |
QXmlStreamWriter * |
xml | ) |
|
|
slot |
Serializes an InputDevice object into the the given XML stream.
- Parameters
-
| [in,out] | xml | The XML stream to write to |
◆ m_inputDevice
◆ m_mutex_read_config
| QMutex InputDeviceXml::m_mutex_read_config |
|
private |
The documentation for this class was generated from the following files: