mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Rename all header files with .h extension Fix function declaration in HamlibTransceiver.h that overrode member function but was not marked override Remove unused variable in Modulator.cpp Remove unused files from source tree Remove duplicate LazyFillComboBox files Reformat codebase to LLVM C++ standard
20 lines
609 B
C++
20 lines
609 B
C++
#include "Radio.h"
|
|
|
|
#include <QDataStream>
|
|
#include <QDebug>
|
|
#include <QMetaType>
|
|
|
|
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.
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
|
qRegisterMetaTypeStreamOperators<Radio::Frequencies>("Frequencies");
|
|
#endif
|
|
}
|
|
} // namespace Radio
|