19#ifndef XMLCONFIGREADER_H
20#define XMLCONFIGREADER_H
Definition joydpadxml.h:27
Main XML config reader class.
Definition xmlconfigreader.h:34
const InputDevice * getJoystick()
Definition xmlconfigreader.cpp:202
~XMLConfigReader()
Definition xmlconfigreader.cpp:50
QString const & getFileName()
Definition xmlconfigreader.cpp:198
void initDeviceTypes()
Definition xmlconfigreader.cpp:189
QXmlStreamReader * xml
Definition xmlconfigreader.h:59
void configJoystick(InputDevice *joystick)
Read input device config from the current XML file into the InputDevice object.
Definition xmlconfigreader.cpp:91
bool hasError()
Definition xmlconfigreader.cpp:187
QStringList deviceTypes
Definition xmlconfigreader.h:63
QFile * configFile
Definition xmlconfigreader.h:61
const QFile * getConfigFile()
Definition xmlconfigreader.cpp:200
const QString getErrorString()
Definition xmlconfigreader.cpp:177
void setJoystick(InputDevice *joystick)
Definition xmlconfigreader.cpp:68
InputDevice * m_joystick
Definition xmlconfigreader.h:62
void setFileName(QString filename)
Sets the filename of the to be read XML file.
Definition xmlconfigreader.cpp:73
QStringList const & getDeviceTypes()
Definition xmlconfigreader.cpp:204
QString fileName
Definition xmlconfigreader.h:60
const QXmlStreamReader * getXml()
Definition xmlconfigreader.cpp:196
bool read()
Definition xmlconfigreader.cpp:97