diff options
| author | Christoph Berg <myon@debian.org> | 2020-05-11 22:17:58 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-05-11 22:17:58 +0200 |
| commit | 32a41b1abe1a4aab0892c9c2051be6ba5b379f1e (patch) | |
| tree | c6e107c1ee4d70610e43a7912e57c720334a08c7 /Transceiver.cpp | |
| parent | 08299e8b2bf50ba90daf570f57def529dd29d6e7 (diff) | |
New upstream version 2.2.0~rc1+repackupstream/2.2.0_rc1+repack
Diffstat (limited to 'Transceiver.cpp')
| -rw-r--r-- | Transceiver.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Transceiver.cpp b/Transceiver.cpp deleted file mode 100644 index ce39168b..00000000 --- a/Transceiver.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "Transceiver.hpp" - -#include "moc_Transceiver.cpp" - -#if !defined (QT_NO_DEBUG_STREAM) -QDebug operator << (QDebug d, Transceiver::TransceiverState const& s) -{ - d.nospace () - << "Transceiver::TransceiverState(online: " << (s.online_ ? "yes" : "no") - << " Frequency {" << s.rx_frequency_ << "Hz, " << s.tx_frequency_ << "Hz} " << s.mode_ - << "; SPLIT: " << (Transceiver::TransceiverState::Split::on == s.split_ ? "on" : Transceiver::TransceiverState::Split::off == s.split_ ? "off" : "unknown") - << "; PTT: " << (s.ptt_ ? "on" : "off") - << ')'; - return d.space (); -} -#endif - -ENUM_QDATASTREAM_OPS_IMPL (Transceiver, MODE); - -ENUM_CONVERSION_OPS_IMPL (Transceiver, MODE); - -bool operator != (Transceiver::TransceiverState const& lhs, Transceiver::TransceiverState const& rhs) -{ - return lhs.online_ != rhs.online_ - || lhs.rx_frequency_ != rhs.rx_frequency_ - || lhs.tx_frequency_ != rhs.tx_frequency_ - || lhs.mode_ != rhs.mode_ - || lhs.split_ != rhs.split_ - || lhs.ptt_ != rhs.ptt_; -} - -bool operator == (Transceiver::TransceiverState const& lhs, Transceiver::TransceiverState const& rhs) -{ - return !(lhs != rhs); -} |
