OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TerminalRequest Class Reference

#include "Terminal.h"

Inheritance diagram for TerminalRequest:
TerminalCollectionItem

Public Member Functions

 TerminalRequest (Terminal *_owner, const QString &_title)
 
virtual ~TerminalRequest (void)
 
virtual bool setFromJsonObject (const QJsonObject &_object) override
 
virtual void addToJsonObject (QJsonObject &_object) const override
 
void setUrl (const QString &_url)
 
const QString & url (void) const
 
void setMessageBody (const QString &_messageBody)
 
const QString & messageBody (void) const
 
void setEndpoint (ot::MessageType _endpoint)
 
ot::MessageType endpoint (void) const
 
- Public Member Functions inherited from TerminalCollectionItem
 TerminalCollectionItem (Terminal *_owner, const QString &_title)
 
virtual ~TerminalCollectionItem ()
 
void setTitle (const QString &_title)
 
const QString & title (void) const
 
TerminalownerTerminal (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from TerminalCollectionItem
static TerminalCollectionItemcreateFromJsonObject (Terminal *_owner, const QJsonObject &_object)
 

Constructor & Destructor Documentation

◆ TerminalRequest()

TerminalRequest::TerminalRequest ( Terminal * _owner,
const QString & _title )

◆ ~TerminalRequest()

TerminalRequest::~TerminalRequest ( void )
virtual

Member Function Documentation

◆ addToJsonObject()

void TerminalRequest::addToJsonObject ( QJsonObject & _object) const
overridevirtual

◆ endpoint()

ot::MessageType TerminalRequest::endpoint ( void ) const
inline

◆ messageBody()

const QString & TerminalRequest::messageBody ( void ) const
inline

◆ setEndpoint()

void TerminalRequest::setEndpoint ( ot::MessageType _endpoint)
inline

◆ setFromJsonObject()

bool TerminalRequest::setFromJsonObject ( const QJsonObject & _object)
overridevirtual

◆ setMessageBody()

void TerminalRequest::setMessageBody ( const QString & _messageBody)
inline

◆ setUrl()

void TerminalRequest::setUrl ( const QString & _url)
inline

◆ url()

const QString & TerminalRequest::url ( void ) const
inline

The documentation for this class was generated from the following files: