28 lines
563 B
C++
28 lines
563 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include <QNetworkReply>
|
|
#include <QByteArray>
|
|
|
|
#include "zeiterfassungnetworklib_global.h"
|
|
#include "zeiterfassungreply.h"
|
|
|
|
class ZEITERFASSUNGNETWORKLIB_EXPORT GetReportReply : public ZeiterfassungReply
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit GetReportReply(std::unique_ptr<QNetworkReply> &&reply, ZeiterfassungApi *zeiterfassung);
|
|
|
|
const QByteArray &content() const;
|
|
|
|
private Q_SLOTS:
|
|
void request0Finished();
|
|
void request1Finished();
|
|
|
|
private:
|
|
std::unique_ptr<QNetworkReply> m_reply;
|
|
QByteArray m_content;
|
|
};
|