2017-12-20 21:25:33 +01:00
|
|
|
#pragma once
|
2017-12-10 11:56:00 +01:00
|
|
|
|
2017-12-13 23:59:14 +01:00
|
|
|
#include <memory>
|
2017-12-10 12:11:58 +01:00
|
|
|
|
2017-12-13 23:59:14 +01:00
|
|
|
#include <QNetworkReply>
|
|
|
|
|
|
2017-12-20 21:44:41 +01:00
|
|
|
#include "zeiterfassungcorelib_global.h"
|
2017-12-13 23:59:14 +01:00
|
|
|
#include "zeiterfassungreply.h"
|
2017-12-10 12:11:58 +01:00
|
|
|
|
2017-12-20 21:44:41 +01:00
|
|
|
class ZEITERFASSUNGCORELIBSHARED_EXPORT CreateTimeAssignmentReply : public ZeiterfassungReply
|
2017-12-10 11:56:00 +01:00
|
|
|
{
|
2017-12-10 12:11:58 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
2017-12-10 11:56:00 +01:00
|
|
|
public:
|
2017-12-13 23:59:14 +01:00
|
|
|
CreateTimeAssignmentReply(std::unique_ptr<QNetworkReply> &&reply, ZeiterfassungApi *zeiterfassung);
|
2017-12-10 16:52:30 +01:00
|
|
|
|
|
|
|
|
int timeAssignmentId() const;
|
|
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
|
void requestFinished();
|
|
|
|
|
|
|
|
|
|
private:
|
2017-12-13 23:59:14 +01:00
|
|
|
std::unique_ptr<QNetworkReply> m_reply;
|
2017-12-10 16:52:30 +01:00
|
|
|
int m_timeAssignmentId;
|
2017-12-10 11:56:00 +01:00
|
|
|
};
|