| 565 | } |
| 566 | |
| 567 | QImage CFrmViewer::GrabImage(int x, int y, int w, int h) |
| 568 | { |
| 569 | int width = w, height = h; |
| 570 | if(-1 == w) |
| 571 | width = m_DesktopSize.width(); |
| 572 | if(-1 == w) |
| 573 | height = m_DesktopSize.height(); |
| 574 | return m_Desktop.copy(x, y, width, height); |
| 575 | } |
| 576 | |
| 577 | void CFrmViewer::slotRecordVideo(bool bRecord, qreal nRate) |
| 578 | { |