Commit d15998a8 authored by Karel Slaný's avatar Karel Slaný

IsdsSession is no longer derived from QObject.

parent 75b49a88
/*
* Copyright (C) 2014-2017 CZ.NIC
* Copyright (C) 2014-2018 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -28,9 +28,8 @@
#include "src/net/isds_const.h"
#include "src/net/isds_session.h"
IsdsSession::IsdsSession(QObject *parent)
: QObject(parent),
isdsCtxMap()
IsdsSession::IsdsSession(void)
: isdsCtxMap()
{
}
......
/*
* Copyright (C) 2014-2017 CZ.NIC
* Copyright (C) 2014-2018 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -24,7 +24,7 @@
#ifndef _ISDS_SESSION_H_
#define _ISDS_SESSION_H_
#include <QObject>
#include <QCoreApplication> /* Q_DECLARE_TR_FUNCTIONS */
#include <QNetworkCookie>
#include <QSslCertificate>
#include <QSslKey>
......@@ -41,8 +41,8 @@
* Class IsdsSession holds and manages isds contexts of accounts.
* Class is initialised and used in the IsdsWrapper class (isds_wrapper.h)
*/
class IsdsSession : public QObject {
Q_OBJECT
class IsdsSession {
Q_DECLARE_TR_FUNCTIONS(IsdsSession)
public:
/*!
......@@ -69,7 +69,7 @@ public:
/*!
* @brief Constructor.
*/
explicit IsdsSession(QObject *parent = Q_NULLPTR);
IsdsSession(void);
/*!
* @brief Holds isds context for all accounts (username = key)
......
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