Files
QtZeroConf/qzeroconfservice.cpp
T

11 lines
347 B
C++
Raw Normal View History

#include <QDebug>
#include "qzeroconfservice.h"
2017-11-02 14:12:21 -04:00
QDebug operator<<(QDebug debug, const QZeroConfService &service)
{
QDebugStateSaver saver(debug);
debug.nospace() << "Zeroconf Service: " + service->name() + " @ " + service->host() + " ("+ service->ip().toString() + ":" + QString::number( service->port()) + ")";
2017-11-02 14:12:21 -04:00
return debug.maybeSpace();
}