2018-09-17 19:51:36 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
#include <QNetworkReply>
|
|
|
|
|
|
2018-10-07 23:03:01 +02:00
|
|
|
#include "zeiterfassungnetworklib_global.h"
|
2018-09-17 19:51:36 +02:00
|
|
|
#include "zeiterfassungreply.h"
|
|
|
|
|
|
2018-10-07 23:03:01 +02:00
|
|
|
class ZEITERFASSUNGNETWORKLIB_EXPORT CreateTimeAssignmentReply : public ZeiterfassungReply
|
2018-09-17 19:51:36 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit CreateTimeAssignmentReply(std::unique_ptr<QNetworkReply> &&reply, ZeiterfassungApi *zeiterfassung);
|
|
|
|
|
|
|
|
|
|
int timeAssignmentId() const;
|
|
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
|
void requestFinished();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
std::unique_ptr<QNetworkReply> m_reply;
|
|
|
|
|
int m_timeAssignmentId;
|
|
|
|
|
};
|