| 481 | Q_DECLARE_METATYPE(GPUAddressPtr); |
| 482 | |
| 483 | ICaptureContext *getCaptureContext(const QWidget *widget) |
| 484 | { |
| 485 | void *ctxptr = NULL; |
| 486 | |
| 487 | while(widget && !ctxptr) |
| 488 | { |
| 489 | ctxptr = widget->property("ICaptureContext").value<void *>(); |
| 490 | widget = widget->parentWidget(); |
| 491 | } |
| 492 | |
| 493 | return (ICaptureContext *)ctxptr; |
| 494 | } |
| 495 | |
| 496 | QString ResIdTextToString(RichResourceTextPtr ptr) |
| 497 | { |
no test coverage detected