SetJoystick XML serialization/deserialization helper class Reads data from the supplied SetJoystick object and writes it to XML or reads data from an QXmlStreamReader and writes it to the SetJoystick object.
More...
#include <setjoystickxml.h>
SetJoystick XML serialization/deserialization helper class Reads data from the supplied SetJoystick object and writes it to XML or reads data from an QXmlStreamReader and writes it to the SetJoystick object.
◆ SetJoystickXml()
SetJoystickXml::SetJoystickXml |
( |
SetJoystick * |
setJoystick, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ readConfig()
void SetJoystickXml::readConfig |
( |
QXmlStreamReader * |
xml | ) |
|
|
virtual |
Deserializes the given XML stream into a SetJoystick object.
- Parameters
-
[in] | xml | The XML stream to read from |
Reimplemented in GameControllerSet.
◆ writeConfig()
void SetJoystickXml::writeConfig |
( |
QXmlStreamWriter * |
xml | ) |
|
|
virtual |
Serializes a SetJoystick object into the the given XML stream.
- Parameters
-
[in,out] | xml | The XML stream to write to |
◆ joyAxisXml
◆ joyButtonXml
◆ m_setJoystick
The documentation for this class was generated from the following files: