Files
QtZeiterfassung/replies/createtimeassignmentreply.h
T

27 lines
544 B
C++
Raw Permalink Normal View History

2017-12-10 11:56:00 +01:00
#ifndef CREATETIMEASSIGNMENTREPLY_H
#define CREATETIMEASSIGNMENTREPLY_H
#include <memory>
2017-12-10 12:11:58 +01:00
#include <QNetworkReply>
#include "zeiterfassungreply.h"
2017-12-10 12:11:58 +01:00
class 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:
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:
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
};
#endif // CREATETIMEASSIGNMENTREPLY_H