#include <VP1ExternalRequest.h>
Definition at line 20 of file VP1ExternalRequest.h.
◆ Action
◆ VP1ExternalRequest() [1/2]
VP1ExternalRequest::VP1ExternalRequest |
( |
const QString & |
sender, |
|
|
const QString & |
message, |
|
|
const Action & |
action, |
|
|
const QString & |
actioninfo |
|
) |
| |
◆ VP1ExternalRequest() [2/2]
VP1ExternalRequest::VP1ExternalRequest |
( |
const QString & |
serialized | ) |
|
Definition at line 75 of file VP1ExternalRequest.cxx.
80 QStringList sl = serialized.split (
"|");
81 if (sl.count()!=5||sl.at(0)!=
"VP1ExternalRequestV1.0") {
85 if (sl.at(1)==
"SHOWTAB")
87 else if (sl.at(1)==
"SHOWCHANNEL")
89 else if (sl.at(1)==
"SHOWMESSAGE")
◆ ~VP1ExternalRequest()
virtual VP1ExternalRequest::~VP1ExternalRequest |
( |
| ) |
|
|
inlinevirtual |
◆ action()
Action VP1ExternalRequest::action |
( |
| ) |
const |
|
inline |
◆ actioninfo()
QString VP1ExternalRequest::actioninfo |
( |
| ) |
const |
|
inline |
◆ actionToString()
QString VP1ExternalRequest::actionToString |
( |
const Action & |
a | ) |
const |
Definition at line 36 of file VP1ExternalRequest.cxx.
46 assert(0&&
"should never happen");
47 return "Unknown action! (This should never happen)";
◆ isValid()
bool VP1ExternalRequest::isValid |
( |
| ) |
const |
|
inline |
◆ message()
QString VP1ExternalRequest::message |
( |
| ) |
const |
|
inline |
◆ operator<()
◆ operator==()
◆ sender()
QString VP1ExternalRequest::sender |
( |
| ) |
const |
|
inline |
◆ serialize()
QString VP1ExternalRequest::serialize |
( |
| ) |
const |
Definition at line 52 of file VP1ExternalRequest.cxx.
54 QString
s(
"VP1ExternalRequestV1.0|");
58 tmp.replace(
"@",
"@1");
59 tmp.replace(
"|",
"@2");
63 tmp.replace(
"@",
"@1");
64 tmp.replace(
"|",
"@2");
68 tmp.replace(
"@",
"@1");
69 tmp.replace(
"|",
"@2");
◆ m_action
Action VP1ExternalRequest::m_action |
|
private |
◆ m_actioninfo
QString VP1ExternalRequest::m_actioninfo |
|
private |
◆ m_message
QString VP1ExternalRequest::m_message |
|
private |
◆ m_sender
QString VP1ExternalRequest::m_sender |
|
private |
◆ m_valid
bool VP1ExternalRequest::m_valid |
|
private |
The documentation for this class was generated from the following files: