|
MythTV master
|
#include <chrono>#include <thread>#include <QCoreApplication>#include <QDir>#include <QEvent>#include <QKeyEvent>#include <QMap>#include <QRegularExpression>#include <QStringConverter>#include <QStringList>#include <QTextStream>#include "config.h"#include "libmythbase/compat.h"#include "libmythbase/mythcorecontext.h"#include "libmythbase/mythdirs.h"#include "libmythbase/mythlogging.h"#include "libmythbase/mythmiscutil.h"#include "libmythbase/mythversion.h"#include "libmythbase/programinfo.h"#include "libmythbase/remoteutil.h"#include "libmythtv/mythsystemevent.h"#include "libmythtv/previewgenerator.h"#include "libmythui/mythmainwindow.h"#include "libmythui/mythuibutton.h"#include "libmythui/mythuibuttontree.h"#include "libmythui/mythuicheckbox.h"#include "libmythui/mythuiclock.h"#include "libmythui/mythuieditbar.h"#include "libmythui/mythuigroup.h"#include "libmythui/mythuiguidegrid.h"#include "libmythui/mythuihelper.h"#include "libmythui/mythuiimage.h"#include "libmythui/mythuiprogressbar.h"#include "libmythui/mythuiscrollbar.h"#include "libmythui/mythuishape.h"#include "libmythui/mythuispinbox.h"#include "libmythui/mythuitextedit.h"#include "libmythui/mythuivideo.h"#include "networkcontrol.h"Go to the source code of this file.
Macros | |
| #define | LOC QString("NetworkControl: ") |
| #define | LOC_ERR QString("NetworkControl Error: ") |
Functions | |
| static bool | is_abbrev (QString const &command, QString const &test, int minchars=1) |
Is test an abbreviation of command ? The test substring must be at least minchars long. More... | |
Variables | |
| static constexpr qint64 | FE_SHORT_TO { 2000 } |
| static constexpr qint64 | FE_LONG_TO { 10000 } |
| static const QEvent::Type | kNetworkControlDataReadyEvent |
| static const QRegularExpression | kChanID1RE { "^\\d+$" } |
| static const QRegularExpression | kStartTimeRE { R"(^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ?$)" } |
| #define LOC QString("NetworkControl: ") |
Definition at line 56 of file networkcontrol.cpp.
| #define LOC_ERR QString("NetworkControl Error: ") |
Definition at line 57 of file networkcontrol.cpp.
|
static |
Is test an abbreviation of command ? The test substring must be at least minchars long.
| command | the full command name |
| test | the string to test against the command name |
| minchars | the minimum length of test in order to declare a match |
test is the initial substring of command Definition at line 78 of file networkcontrol.cpp.
Referenced by NetworkControl::processHelp(), NetworkControl::processNetworkControlCommand(), NetworkControl::processPlay(), and NetworkControl::processQuery().
|
staticconstexpr |
Definition at line 60 of file networkcontrol.cpp.
Referenced by NetworkControl::processPlay().
|
staticconstexpr |
Definition at line 59 of file networkcontrol.cpp.
Referenced by NetworkControl::processJump(), NetworkControl::processPlay(), and NetworkControl::processQuery().
|
static |
Definition at line 67 of file networkcontrol.cpp.
Referenced by NetworkControl::processPlay(), and NetworkControl::processQuery().
|
static |
Definition at line 62 of file networkcontrol.cpp.
Referenced by NetworkControl::customEvent(), and NetworkControl::notifyDataAvailable().
|
static |
Definition at line 68 of file networkcontrol.cpp.
Referenced by NetworkControl::processPlay(), and NetworkControl::processQuery().