| 284 | } |
| 285 | |
| 286 | QT_BEGIN_NAMESPACE |
| 287 | /** |
| 288 | * @brief operator << |
| 289 | * 重定向全局Debug打印PluginDepend对象的函数 |
| 290 | * @param out |
| 291 | * @param depend |
| 292 | * @return |
| 293 | */ |
| 294 | Q_CORE_EXPORT QDebug operator<<(QDebug out, const DPF_NAMESPACE::PluginDepend &depend) |
| 295 | { |
| 296 | DPF_USE_NAMESPACE |
| 297 | out << "PluginDepend(" << QString("0x%0").arg(qint64(&depend),0,16) << "){"; |
| 298 | out << PLUGIN_NAME << " : " << depend.name() << "; "; |
| 299 | out << PLUGIN_VERSION << " : " << depend.version() << "; "; |
| 300 | out << "}"; |
| 301 | return out; |
| 302 | } |
| 303 | |
| 304 | Q_CORE_EXPORT QDebug operator<<(QDebug out, const DPF_NAMESPACE::PluginInstallDepend &depend) |
| 305 | { |
nothing calls this directly
no test coverage detected