mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 15:47:10 -04:00
21 lines
553 B
C++
21 lines
553 B
C++
|
#include "Radio.hpp"
|
||
|
|
||
|
#include <QMetaType>
|
||
|
#include <QDebug>
|
||
|
#include <QDataStream>
|
||
|
|
||
|
namespace Radio
|
||
|
{
|
||
|
void register_types ()
|
||
|
{
|
||
|
qRegisterMetaType<Radio::Frequency> ("Frequency");
|
||
|
qRegisterMetaType<Radio::FrequencyDelta> ("FrequencyDelta");
|
||
|
qRegisterMetaType<Radio::Frequencies> ("Frequencies");
|
||
|
|
||
|
// This is required to preserve v1.5 "frequencies" setting for
|
||
|
// backwards compatibility, without it the setting gets trashed
|
||
|
// by later versions.
|
||
|
qRegisterMetaTypeStreamOperators<Radio::Frequencies> ("Frequencies");
|
||
|
}
|
||
|
}
|