summaryrefslogtreecommitdiff
path: root/sapchannelinfo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sapchannelinfo.cc')
-rw-r--r--sapchannelinfo.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/sapchannelinfo.cc b/sapchannelinfo.cc
index 12ba5b5..530341a 100644
--- a/sapchannelinfo.cc
+++ b/sapchannelinfo.cc
@@ -78,3 +78,12 @@ void SAPChannelInfo::setQoSDataRate(QoSDataRate rate)
{
data->qosDataRate = rate;
}
+
+QDebug operator<<(QDebug debug, const SAPChannelInfo &info)
+{
+ QDebugStateSaver saver(debug);
+ Q_UNUSED(saver);
+ debug.nospace() << "SAPChannelInfo(" << info.channelId() << ", qosType=" << info.qosType() << ", dataRate=" << info.qosDataRate() << ", priority=" << info.qosPriority()
+ << ", payload=" << info.payloadType() << ")";
+ return debug;
+}