diff options
author | deva <deva> | 2006-04-12 13:41:45 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-12 13:41:45 +0000 |
commit | 6da7cc9bd16bb16f03bf0695b79cb41f9f23f58f (patch) | |
tree | a8f94dd7ff7e10a308d0ce0787a8070a621c4fa6 /client/videowidget.cc | |
parent | c9a7d3ecf5a5e979c4503dbf1f072898ffd72574 (diff) |
*** empty log message ***
Diffstat (limited to 'client/videowidget.cc')
-rw-r--r-- | client/videowidget.cc | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/client/videowidget.cc b/client/videowidget.cc index f6fc430..f679a3a 100644 --- a/client/videowidget.cc +++ b/client/videowidget.cc @@ -85,53 +85,3 @@ void VideoWidget::mouseReleaseEvent(QMouseEvent *event) } */ } - -void VideoWidget::moveEvent(QMoveEvent *event) -{ - mutex.lock(); - myposition = mapToGlobal(event->pos()); - mutex.unlock(); -} - -void VideoWidget::resizeEvent(QResizeEvent *event) -{ - mutex.lock(); - mysize = event->size(); - mutex.unlock(); -} - -int VideoWidget::getX() -{ - int val; - mutex.lock(); - val = myposition.x(); - mutex.unlock(); - return val; -} - -int VideoWidget::getY() -{ - int val; - mutex.lock(); - val = myposition.y(); - mutex.unlock(); - return val; -} - -int VideoWidget::getWidth() -{ - int val; - mutex.lock(); - val = mysize.width();//>720?720:mysize.width(); - mutex.unlock(); - return val; -} - -int VideoWidget::getHeight() -{ - int val; - mutex.lock(); - val = mysize.height();//>576?576:mysize.height(); - mutex.unlock(); - return val; -} |