Mercurial > octave-nkf
diff libgui/graphics/ObjectProxy.cc @ 18501:523878f76518 gui-release
style fix: eliminate lines of slashes to separate functions.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Feb 2014 15:10:07 -0500 |
parents | 49877d3be064 |
children | fe0e34be5576 |
line wrap: on
line diff
--- a/libgui/graphics/ObjectProxy.cc Thu Feb 20 14:58:56 2014 -0500 +++ b/libgui/graphics/ObjectProxy.cc Thu Feb 20 15:10:07 2014 -0500 @@ -29,21 +29,15 @@ #include "Object.h" #include "ObjectProxy.h" -////////////////////////////////////////////////////////////////////////////// - namespace QtHandles { -////////////////////////////////////////////////////////////////////////////// - ObjectProxy::ObjectProxy (Object* obj) : QObject (), m_object (0) { init (obj); } -////////////////////////////////////////////////////////////////////////////// - void ObjectProxy::init (Object* obj) { if (obj != m_object) @@ -72,16 +66,12 @@ } } -////////////////////////////////////////////////////////////////////////////// - void ObjectProxy::setObject (Object* obj) { emit sendFinalize (); init (obj); } -////////////////////////////////////////////////////////////////////////////// - void ObjectProxy::update (int pId) { if (octave_thread::is_octave_thread ()) @@ -90,21 +80,15 @@ m_object->slotUpdate (pId); } -////////////////////////////////////////////////////////////////////////////// - void ObjectProxy::finalize (void) { emit sendFinalize (); init (0); } -////////////////////////////////////////////////////////////////////////////// - void ObjectProxy::redraw (void) { emit sendRedraw (); } -////////////////////////////////////////////////////////////////////////////// - };