MythTV master
Variables
mythfexml.cpp File Reference
#include <QTextStream>
#include "libmythbase/configuration.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythdbcon.h"
#include "libmythbase/mythlogging.h"
#include "libmythui/mythmainwindow.h"
#include "libmythupnp/httprequest.h"
#include "libmythupnp/upnpresultcode.h"
#include "mythfexml.h"
#include "services/frontend.h"
Include dependency graph for mythfexml.cpp:

Go to the source code of this file.

Variables

static const QString PROCESS_ACTION
 
static const QString HIDDEN_IFRAME
 

Variable Documentation

◆ HIDDEN_IFRAME

const QString HIDDEN_IFRAME
static
Initial value:
=
" <iframe id=\"hidden_target\" name=\"post_target\" src=\"\""
" style=\"width:0;height:0;border:0px solid #fff;\"></iframe>\n"

Definition at line 153 of file mythfexml.cpp.

Referenced by MythFEXML::GetActionListTest().

◆ PROCESS_ACTION

const QString PROCESS_ACTION
static
Initial value:
=
" <script type =\"text/javascript\">\n"
" function postaction(action) {\n"
" var myForm = document.createElement(\"form\");\n"
" myForm.method =\"Post\";\n"
" myForm.action =\"../Frontend/SendAction?\";\n"
" myForm.target =\"post_target\";\n"
" var myInput = document.createElement(\"input\");\n"
" myInput.setAttribute(\"name\", \"Action\");\n"
" myInput.setAttribute(\"value\", action);\n"
" myForm.appendChild(myInput);\n"
" document.body.appendChild(myForm);\n"
" myForm.submit();\n"
" document.body.removeChild(myForm);\n"
" }\n"
" </script>\n"

Definition at line 136 of file mythfexml.cpp.

Referenced by MythFEXML::GetActionListTest().