QtRestClient  3.0.0
A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects
Classes | Namespaces | Macros
simple.h File Reference
#include "QtRestClient/qtrestclient_global.h"
#include "QtRestClient/genericrestreply.h"
#include "QtRestClient/restclass.h"
#include <functional>
#include <QtCore/qpointer.h>
#include <QtCore/qsharedpointer.h>
#include <QtCore/qscopedpointer.h>

Go to the source code of this file.

Classes

class  QtRestClient::Simple< T, typename >
 A base class to create a simply type version for a normal one. Check The QObject* or Q_GADGET version. More...
 
class  QtRestClient::Simple< T *, std::enable_if_t< std::is_base_of_v< QObject, T > > >
 A base class to create a simply type version for a normal one. QObject* version. More...
 
class  QtRestClient::Simple< T, std::enable_if_t< std::is_void_v< typename T::QtGadgetHelper > > >
 A base class to create a simply type version for a normal one. Q_GADGET version. More...
 

Namespaces

 QtRestClient
 The Namespace containing all classes of the QtRestClient module.
 

Macros

#define QTRESTCLIENT_EXT_HREF_PROP(x)
 A simple macro to implement Simple::extensionHref by reading the property with the name x. More...
 

Class Documentation

◆ QtRestClient::Simple

class QtRestClient::Simple

template<typename T, typename = void>
class QtRestClient::Simple< T, typename >

A base class to create a simply type version for a normal one. Check The QObject* or Q_GADGET version.

Definition at line 18 of file simple.h.

Macro Definition Documentation

◆ QTRESTCLIENT_EXT_HREF_PROP

#define QTRESTCLIENT_EXT_HREF_PROP (   x)
Value:
inline QUrl extensionHref() const override { \
return property(#x).toUrl();\
}

A simple macro to implement Simple::extensionHref by reading the property with the name x.

Definition at line 157 of file simple.h.

QUrl