Go to the documentation of this file.
36 #include <QCoreApplication>
39 (QEvent::Type) QEvent::registerEventType();
41 (QEvent::Type) QEvent::registerEventType();
43 (QEvent::Type) QEvent::registerEventType();
45 (QEvent::Type) QEvent::registerEventType();
47 (QEvent::Type) QEvent::registerEventType();
49 (QEvent::Type) QEvent::registerEventType();
51 (QEvent::Type) QEvent::registerEventType();
53 (QEvent::Type) QEvent::registerEventType();
55 (QEvent::Type) QEvent::registerEventType();
57 (QEvent::Type) QEvent::registerEventType();
59 (QEvent::Type) QEvent::registerEventType();
61 (QEvent::Type) QEvent::registerEventType();
72 QCoreApplication::postEvent(
dest, e);
79 QCoreApplication::postEvent(
dest, e);
87 e->ConfigurableValue(spp);
88 QCoreApplication::postEvent(
dest, e);
95 QObject::deleteLater();
116 QString msg = tr(
"Scanning");
117 if (!status.isEmpty())
118 msg = QString(
"%1 %2").arg(msg, status);
166 if (scanEvent !=
nullptr)
static Type SetPercentComplete
virtual void HandleEvent(const ScannerEvent *)=0
static constexpr int8_t TRANSPORT_PCT
Percentage to set to after the transports have been scanned.
static void error(const char *str,...)
void StatusSignalStrength(const SignalMonitorValue &val) override
Signal to be sent with an actual signal value.
int GetNormalizedValue(int newmin, int newmax) const
Returns the value normalized to the [newmin, newmax] range.
void ScanPercentComplete(int pct)
static Type SetStatusText
void customEvent(QEvent *event) override
void StatusSignalToNoise(const SignalMonitorValue &val) override
virtual void deleteLater(void)
void ScanErrored(const QString &error)
int GetValue() const
Returns the value.
static Type AppendTextToLog
static Type SetStatusSignalToNoise
void StatusRotorPosition(const SignalMonitorValue &val) override
void StatusSignalLock(const SignalMonitorValue &val) override
Signal to be sent as true when it is safe to begin or continue recording, and false if it may not be ...
static Type SetStatusSignalLock
void ScanAppendTextToLog(const QString &status)
static Type SetStatusChannelTuned
void StatusChannelTuned(const SignalMonitorValue &val) override
Signal to be sent with change change status.
static Type SetStatusRotorPosition
ChannelScanner * m_channelScanner
void ScanUpdateStatusText(const QString &status)
static Type SetStatusSignalStrength
void post_event(QObject *dest, QEvent::Type type, int val)
Percentage to set to after the first tune.
static Type SetStatusTitleText
void ScanUpdateStatusTitleText(const QString &status)