Commit 65267f83 authored by Karel Slaný's avatar Karel Slaný

XmlLayer is no longer derived from QObject.

parent aaf6b61e
......@@ -31,11 +31,6 @@
#include "src/net/isds_const.h"
#include "src/net/xml_layer.h"
XmlLayer::XmlLayer(QObject *parent)
: QObject(parent)
{
}
QByteArray XmlLayer::xmlCreateAuthenticateMessageSoapRequest(
const QByteArray &msg)
{
......
......@@ -24,7 +24,7 @@
#ifndef _XML_LAYER_H_
#define _XML_LAYER_H_
#include <QObject>
#include <QCoreApplication> /* Q_DECLARE_TR_FUNCTIONS */
#include <QXmlReader>
#include <QXmlStreamReader>
......@@ -36,15 +36,10 @@
* Class XmlLayer realizes XML layer of SOAP.
* Class creates SOAP request and parse SOAP responses.
*/
class XmlLayer : public QObject {
Q_OBJECT
class XmlLayer {
Q_DECLARE_TR_FUNCTIONS(XmlLayer)
public:
/*!
* @brief Constructor.
*/
XmlLayer(QObject *parent = Q_NULLPTR);
/*!
* @brief Create authenticate message soap request.
*
......@@ -476,6 +471,12 @@ public:
*/
static
bool parseAuthenticateMessage(const QByteArray &xmlData, QString &txt);
private:
/*!
* @brief Private constructor.
*/
XmlLayer(void);
};
#endif /* _XML_LAYER_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment