![]() |
Fotobot
Get data from your photovoltaic plant
|
Signals | |
int | saveInvertor (DBT_INVERTORS) |
void | deleteInvertor (int) |
Public Member Functions | |
InvertorsController () | |
void | servicePrivate (HttpRequest &request) |
![]() | |
WebPage () | |
virtual void | service (HttpRequest &request, HttpResponse &response) |
void | redirect (const QString &location) |
![]() | |
MRequestHandler () | |
Static Public Member Functions | |
static QString | getEditFormContents (HttpRequest &request, DBT_INVERTORS line=DBT_INVERTORS(), bool generator=false) |
static void | readForm (DBT_INVERTORS &invertor, HttpRequest &request) |
![]() | |
static QString | percentEncode (const QString &s) |
Private Member Functions | |
Q_DISABLE_COPY (InvertorsController) | |
void | actionAdd (HttpRequest &request) |
void | actionEdit (HttpRequest &request) |
void | actionDelete (HttpRequest &request) |
Additional Inherited Members | |
![]() | |
void | setStatus (int code, QByteArray description) |
void | setHeader (QByteArray name, QByteArray value) |
void | setHeader (QByteArray name, int value) |
void | write (QByteArray data) |
void | write (QString data) |
void | write (const char *data) |
void | about () |
HttpSession | getSession () |
virtual void | writeHeader (HttpRequest &request, HttpResponse &response) |
virtual void | writeFooter (HttpRequest &request, HttpResponse &response) |
![]() | |
bool | needsLogin (HttpRequest &request, HttpResponse &response) |
![]() | |
QString | m_javascript |
![]() | |
bool | m_needs_access_data |
bool | m_needs_change_settings |
bool | m_cacheable |
Definition at line 16 of file invertorscontroller.h.
InvertorsController::InvertorsController | ( | ) |
Constructor
Definition at line 12 of file invertorscontroller.cpp.
|
private |
Add an invertor action
a form
second page doing the action and redirecting
validation
Definition at line 195 of file invertorscontroller.cpp.
|
private |
Delete invertor action
Definition at line 271 of file invertorscontroller.cpp.
|
private |
Edit invertor action
a form
second page doing the action and redirecting validation
Definition at line 225 of file invertorscontroller.cpp.
|
static |
Generates an edit form contents (html input fields)
Definition at line 109 of file invertorscontroller.cpp.
|
static |
Read form HTTP post reply and load into the invertor
Definition at line 164 of file invertorscontroller.cpp.
|
virtual |
Generates the response
Default action/page
Implements WebPage.
Definition at line 18 of file invertorscontroller.cpp.