js8call/.svn/pristine/c8/c85182676ccb598ad401235c14ac4e6710b284d0.svn-base
2018-02-08 21:28:33 -05:00

21 lines
553 B
Plaintext

#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");
}
}