[Jahshaka-cvs] jah/jahwidgets/src/qt3/wrapper widget_handle.cpp, 1.22, 1.23
Status: Beta
Brought to you by:
jahshaka
From: tim <tim...@us...> - 2007-04-30 23:33:08
|
Update of /cvsroot/jahshaka/jah/jahwidgets/src/qt3/wrapper In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6620/wrapper Modified Files: widget_handle.cpp Log Message: jahwidgets - notify properties when x, y, width, height change Index: widget_handle.cpp =================================================================== RCS file: /cvsroot/jahshaka/jah/jahwidgets/src/qt3/wrapper/widget_handle.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- widget_handle.cpp 27 Apr 2007 09:46:33 -0000 1.22 +++ widget_handle.cpp 30 Apr 2007 23:33:04 -0000 1.23 @@ -103,6 +103,16 @@ case QEvent::Wheel: return wheelEvent( static_cast< QWheelEvent* >( e ) ); + case QEvent::Move: + emit x_changed(); + emit y_changed(); + return false; + + case QEvent::Resize: + emit width_changed(); + emit height_changed(); + return false; + default: return false; } |