chore: format c++
This commit is contained in:
parent
cf81b3d915
commit
4d3127662f
2 changed files with 4 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
#include "requests.hpp"
|
#include "requests.hpp"
|
||||||
|
|
||||||
|
#include <qjsvalueiterator.h>
|
||||||
#include <qnetworkaccessmanager.h>
|
#include <qnetworkaccessmanager.h>
|
||||||
|
#include <qnetworkcookiejar.h>
|
||||||
#include <qnetworkreply.h>
|
#include <qnetworkreply.h>
|
||||||
#include <qnetworkrequest.h>
|
#include <qnetworkrequest.h>
|
||||||
#include <qjsvalueiterator.h>
|
|
||||||
#include <qnetworkcookiejar.h>
|
|
||||||
|
|
||||||
namespace caelestia {
|
namespace caelestia {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,8 @@ class Requests : public QObject {
|
||||||
public:
|
public:
|
||||||
explicit Requests(QObject* parent = nullptr);
|
explicit Requests(QObject* parent = nullptr);
|
||||||
|
|
||||||
Q_INVOKABLE void get(const QUrl& url, QJSValue callback, QJSValue onError = QJSValue(), QJSValue headers = QJSValue()) const;
|
Q_INVOKABLE void get(
|
||||||
|
const QUrl& url, QJSValue callback, QJSValue onError = QJSValue(), QJSValue headers = QJSValue()) const;
|
||||||
Q_INVOKABLE void resetCookies() const;
|
Q_INVOKABLE void resetCookies() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue