summaryrefslogtreecommitdiff
path: root/TransceiverFactory.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /TransceiverFactory.hpp
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'TransceiverFactory.hpp')
-rw-r--r--TransceiverFactory.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/TransceiverFactory.hpp b/TransceiverFactory.hpp
index 4c0cd193..99b934a9 100644
--- a/TransceiverFactory.hpp
+++ b/TransceiverFactory.hpp
@@ -21,7 +21,6 @@ class TransceiverFactory
: public QObject
{
Q_OBJECT
- Q_ENUMS (DataBits StopBits Handshake PTTMethod TXAudioSource SplitMode)
public:
//
@@ -161,28 +160,6 @@ bool operator != (TransceiverFactory::ParameterPack const& lhs, TransceiverFacto
return !(lhs == rhs);
}
-//
-// boilerplate routines to make enum types useable and debuggable in
-// Qt
-//
-#if QT_VERSION < 0x050500
-Q_DECLARE_METATYPE (TransceiverFactory::DataBits);
-Q_DECLARE_METATYPE (TransceiverFactory::StopBits);
-Q_DECLARE_METATYPE (TransceiverFactory::Handshake);
-Q_DECLARE_METATYPE (TransceiverFactory::PTTMethod);
-Q_DECLARE_METATYPE (TransceiverFactory::TXAudioSource);
-Q_DECLARE_METATYPE (TransceiverFactory::SplitMode);
-#endif
-
-#if !defined (QT_NO_DEBUG_STREAM)
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, DataBits);
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, StopBits);
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, Handshake);
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, PTTMethod);
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, TXAudioSource);
-ENUM_QDEBUG_OPS_DECL (TransceiverFactory, SplitMode);
-#endif
-
ENUM_QDATASTREAM_OPS_DECL (TransceiverFactory, DataBits);
ENUM_QDATASTREAM_OPS_DECL (TransceiverFactory, StopBits);
ENUM_QDATASTREAM_OPS_DECL (TransceiverFactory, Handshake);