From f674e179d602d3ccb9818d28fe06f371059449dc Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 22 Jun 2025 16:54:02 +0200 Subject: parse and insert feeds and items --- src/playground.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/playground.h (limited to 'src/playground.h') diff --git a/src/playground.h b/src/playground.h new file mode 100644 index 0000000..784b06b --- /dev/null +++ b/src/playground.h @@ -0,0 +1,27 @@ +#pragma once + +#include +#include +#include +#include + +class QNetworkAccessManager; +class QNetworkReply; + +class AtomChannel; + +class Playground : public QObject +{ + Q_OBJECT + +public: + explicit Playground(); + +public slots: + void fetchUrl(const QUrl &url); + void onReplyFinished(QNetworkReply *reply); + std::shared_ptr parseFeed(QIODevice *ioDevice); + +private: + QNetworkAccessManager *m_networkManager{nullptr}; +}; -- cgit v1.2.3-70-g09d2