diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /MetaDataRegistry.cpp | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'MetaDataRegistry.cpp')
| -rw-r--r-- | MetaDataRegistry.cpp | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/MetaDataRegistry.cpp b/MetaDataRegistry.cpp index 5066947c..bf2aab5d 100644 --- a/MetaDataRegistry.cpp +++ b/MetaDataRegistry.cpp @@ -5,16 +5,16 @@ #include <QStandardItemEditorCreator> #include "Radio.hpp" -#include "FrequencyList.hpp" +#include "models/FrequencyList.hpp" #include "AudioDevice.hpp" #include "Configuration.hpp" -#include "StationList.hpp" +#include "models/StationList.hpp" #include "Transceiver.hpp" #include "TransceiverFactory.hpp" #include "WFPalette.hpp" -#include "IARURegions.hpp" - -#include "FrequencyLineEdit.hpp" +#include "models/IARURegions.hpp" +#include "models/DecodeHighlightingModel.hpp" +#include "widgets/FrequencyLineEdit.hpp" QItemEditorFactory * item_editor_factory () { @@ -47,10 +47,6 @@ void register_types () qRegisterMetaType<AudioDevice::Channel> ("AudioDevice::Channel"); // Configuration -#if QT_VERSION < 0x050500 - qRegisterMetaType<Configuration::DataMode> ("Configuration::DataMode"); - qRegisterMetaType<Configuration::Type2MsgGen> ("Configuration::Type2MsgGen"); -#endif qRegisterMetaTypeStreamOperators<Configuration::DataMode> ("Configuration::DataMode"); qRegisterMetaTypeStreamOperators<Configuration::Type2MsgGen> ("Configuration::Type2MsgGen"); @@ -62,17 +58,8 @@ void register_types () // Transceiver qRegisterMetaType<Transceiver::TransceiverState> ("Transceiver::TransceiverState"); - qRegisterMetaType<Transceiver::MODE> ("Transceiver::MODE"); // Transceiver factory -#if QT_VERSION < 0x050500 - qRegisterMetaType<TransceiverFactory::DataBits> ("TransceiverFactory::DataBits"); - qRegisterMetaType<TransceiverFactory::StopBits> ("TransceiverFactory::StopBits"); - qRegisterMetaType<TransceiverFactory::Handshake> ("TransceiverFactory::Handshake"); - qRegisterMetaType<TransceiverFactory::PTTMethod> ("TransceiverFactory::PTTMethod"); - qRegisterMetaType<TransceiverFactory::TXAudioSource> ("TransceiverFactory::TXAudioSource"); - qRegisterMetaType<TransceiverFactory::SplitMode> ("TransceiverFactory::SplitMode"); -#endif qRegisterMetaTypeStreamOperators<TransceiverFactory::DataBits> ("TransceiverFactory::DataBits"); qRegisterMetaTypeStreamOperators<TransceiverFactory::StopBits> ("TransceiverFactory::StopBits"); qRegisterMetaTypeStreamOperators<TransceiverFactory::Handshake> ("TransceiverFactory::Handshake"); @@ -84,8 +71,9 @@ void register_types () qRegisterMetaTypeStreamOperators<WFPalette::Colours> ("Colours"); // IARURegions -#if QT_VERSION < 0x050500 - qRegisterMetaType<IARURegions::Region> ("IARURegions::Region"); -#endif qRegisterMetaTypeStreamOperators<IARURegions::Region> ("IARURegions::Region"); + + // DecodeHighlightingModel + qRegisterMetaTypeStreamOperators<DecodeHighlightingModel::HighlightInfo> ("HighlightInfo"); + qRegisterMetaTypeStreamOperators<DecodeHighlightingModel::HighlightItems> ("HighlightItems"); } |
