changeset 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 554be77a60fb
files libgui/graphics/Backend.cc libgui/graphics/Backend.h libgui/graphics/BaseControl.cc libgui/graphics/BaseControl.h libgui/graphics/ButtonControl.cc libgui/graphics/ButtonControl.h libgui/graphics/Canvas.cc libgui/graphics/Canvas.h libgui/graphics/CheckBoxControl.cc libgui/graphics/CheckBoxControl.h libgui/graphics/Container.cc libgui/graphics/Container.h libgui/graphics/ContextMenu.cc libgui/graphics/ContextMenu.h libgui/graphics/EditControl.cc libgui/graphics/EditControl.h libgui/graphics/Figure.cc libgui/graphics/Figure.h libgui/graphics/FigureWindow.cc libgui/graphics/FigureWindow.h libgui/graphics/GLCanvas.cc libgui/graphics/GLCanvas.h libgui/graphics/GenericEventNotify.h libgui/graphics/KeyMap.cc libgui/graphics/KeyMap.h libgui/graphics/ListBoxControl.cc libgui/graphics/ListBoxControl.h libgui/graphics/Logger.cc libgui/graphics/Logger.h libgui/graphics/Menu.cc libgui/graphics/Menu.h libgui/graphics/MenuContainer.h libgui/graphics/MouseModeActionGroup.cc libgui/graphics/MouseModeActionGroup.h libgui/graphics/Object.cc libgui/graphics/Object.h libgui/graphics/ObjectFactory.cc libgui/graphics/ObjectFactory.h libgui/graphics/ObjectProxy.cc libgui/graphics/ObjectProxy.h libgui/graphics/Panel.cc libgui/graphics/Panel.h libgui/graphics/PopupMenuControl.cc libgui/graphics/PopupMenuControl.h libgui/graphics/PushButtonControl.cc libgui/graphics/PushButtonControl.h libgui/graphics/PushTool.cc libgui/graphics/PushTool.h libgui/graphics/RadioButtonControl.cc libgui/graphics/RadioButtonControl.h libgui/graphics/SliderControl.cc libgui/graphics/SliderControl.h libgui/graphics/TextControl.cc libgui/graphics/TextControl.h libgui/graphics/TextEdit.cc libgui/graphics/TextEdit.h libgui/graphics/ToggleButtonControl.cc libgui/graphics/ToggleButtonControl.h libgui/graphics/ToggleTool.cc libgui/graphics/ToggleTool.h libgui/graphics/ToolBar.cc libgui/graphics/ToolBar.h libgui/graphics/ToolBarButton.cc libgui/graphics/ToolBarButton.h libgui/graphics/Utils.cc libgui/graphics/Utils.h libgui/graphics/__init_qt__.cc libgui/graphics/__init_qt__.h
diffstat 68 files changed, 0 insertions(+), 889 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/graphics/Backend.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Backend.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -45,13 +45,9 @@
 # define OCTAVE_PTR_SCALAR uint64_scalar_value
 //#endif
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static std::string toolkitObjectProperty (const graphics_object& go)
 {
   if (go.isa ("figure"))
@@ -71,8 +67,6 @@
   return std::string ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Backend::Backend (void)
   : QObject (), base_graphics_toolkit ("qt")
 {
@@ -82,14 +76,10 @@
 	   factory, SLOT (createObject (double)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Backend::~Backend (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool Backend::initialize (const graphics_object& go)
 {
   if (go.isa ("figure")
@@ -118,8 +108,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Backend::update (const graphics_object& go, int pId)
 {
   // Rule out obvious properties we want to ignore.
@@ -155,8 +143,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Backend::finalize (const graphics_object& go)
 {
   Logger::debug ("Backend::finalize %s from thread %08x",
@@ -175,8 +161,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Backend::redraw_figure (const graphics_object& go) const
 {
   if (go.get_properties ().is_visible ())
@@ -188,8 +172,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Object* Backend::toolkitObject (const graphics_object& go)
 {
   ObjectProxy* proxy = toolkitObjectProxy (go);
@@ -200,8 +182,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ObjectProxy* Backend::toolkitObjectProxy (const graphics_object& go)
 {
   if (go)
@@ -220,6 +200,4 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/Backend.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Backend.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 #include "graphics.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Object;
 class ObjectProxy;
 
@@ -66,10 +62,6 @@
   void createObject (double handle);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif 
--- a/libgui/graphics/BaseControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/BaseControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -33,13 +33,9 @@
 #include "ContextMenu.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static void updatePalette (const uicontrol::properties& props, QWidget* w)
 {
   QPalette p = w->palette ();
@@ -72,16 +68,12 @@
   w->setPalette (p);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 BaseControl::BaseControl (const graphics_object& go, QWidget* w)
   : Object (go, w), m_normalizedFont (false), m_keyPressHandlerDefined (false)
 {
   init (w);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void BaseControl::init (QWidget* w, bool callBase)
 {
   if (callBase)
@@ -104,14 +96,10 @@
   m_normalizedFont = up.fontunits_is ("normalized");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 BaseControl::~BaseControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void BaseControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -159,8 +147,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool BaseControl::eventFilter (QObject* watched, QEvent* event)
 {
   switch (event->type ())
@@ -229,6 +215,4 @@
   return Object::eventFilter (watched, event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/BaseControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/BaseControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 class QEvent;
 class QObject;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class BaseControl : public Object
 {
 public:
@@ -54,10 +50,6 @@
   bool m_keyPressHandlerDefined;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ButtonControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ButtonControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "Container.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 ButtonControl::ButtonControl (const graphics_object& go, QAbstractButton* btn)
     : BaseControl (go, btn), m_blockCallback (false)
 {
@@ -57,14 +53,10 @@
   connect (btn, SIGNAL (toggled (bool)), SLOT (toggled (bool)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ButtonControl::~ButtonControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ButtonControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -99,8 +91,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ButtonControl::toggled (bool checked)
 {
   QAbstractButton* btn = qWidget<QAbstractButton> ();
@@ -121,8 +111,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ButtonControl::clicked (void)
 {
   QAbstractButton* btn = qWidget<QAbstractButton> ();
@@ -131,6 +119,4 @@
     gh_manager::post_callback (m_handle, "callback");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/ButtonControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ButtonControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QAbstractButton;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class ButtonControl : public BaseControl
 {
   Q_OBJECT
@@ -53,10 +49,6 @@
   bool m_blockCallback;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Canvas.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Canvas.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -35,13 +35,9 @@
 #include "GLCanvas.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::redraw (bool sync)
 {
   if (sync)
@@ -50,15 +46,11 @@
     qWidget ()->update ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::blockRedraw (bool block)
 {
   m_redrawBlocked = block;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::canvasPaintEvent (void)
 {
   if (! m_redrawBlocked)
@@ -72,8 +64,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::canvasMouseMoveEvent (QMouseEvent* event)
 {
   gh_manager::auto_lock lock;
@@ -146,8 +136,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::canvasMousePressEvent (QMouseEvent* event)
 {
   gh_manager::auto_lock lock;
@@ -293,8 +281,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Canvas::canvasMouseReleaseEvent (QMouseEvent* event)
 {
   if (m_mouseMode == ZoomMode
@@ -347,8 +333,6 @@
   m_mouseMode = NoMode;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool Canvas::canvasKeyPressEvent (QKeyEvent* event)
 {
   if (m_eventMask & KeyPress)
@@ -365,8 +349,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool Canvas::canvasKeyReleaseEvent (QKeyEvent* event)
 {
   if (! event->isAutoRepeat () && (m_eventMask & KeyRelease))
@@ -380,8 +362,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Canvas* Canvas::create (const std::string& /* name */, QWidget* parent,
 			const graphics_handle& handle)
 {
@@ -389,6 +369,4 @@
   return new GLCanvas (parent, handle);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Canvas.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Canvas.h	Thu Feb 20 15:10:07 2014 -0500
@@ -33,13 +33,9 @@
 class QMouseEvent;
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Canvas
 {
 public:
@@ -96,10 +92,6 @@
   int m_eventMask;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/CheckBoxControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/CheckBoxControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -29,13 +29,9 @@
 #include "CheckBoxControl.h"
 #include "Container.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 CheckBoxControl* CheckBoxControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -51,20 +47,14 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 CheckBoxControl::CheckBoxControl (const graphics_object& go, QCheckBox* box)
     : ButtonControl (go, box)
 {
   box->setAutoFillBackground (true);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 CheckBoxControl::~CheckBoxControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/CheckBoxControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/CheckBoxControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QCheckBox;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class CheckBoxControl : public ButtonControl
 {
 public:
@@ -43,10 +39,6 @@
   static CheckBoxControl* create (const graphics_object& go);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Container.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Container.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -33,27 +33,19 @@
 #include "Object.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 Container::Container (QWidget* parent)
   : ContainerBase (parent), m_canvas (0)
 {
   setFocusPolicy (Qt::ClickFocus);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Container::~Container (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Canvas* Container::canvas (const graphics_handle& handle, bool create)
 {
   if (! m_canvas && create)
@@ -78,8 +70,6 @@
   return m_canvas;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Container::resizeEvent (QResizeEvent* /* event */)
 {
   if (m_canvas)
@@ -105,6 +95,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Container.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Container.h	Thu Feb 20 15:10:07 2014 -0500
@@ -29,13 +29,9 @@
 
 #include "graphics.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 DECLARE_GENERICEVENTNOTIFY_SENDER(ContainerBase, QWidget);
 
 class Canvas;
@@ -55,10 +51,6 @@
   Canvas* m_canvas;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ContextMenu.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ContextMenu.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "ContextMenu.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 ContextMenu* ContextMenu::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -51,8 +47,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ContextMenu::ContextMenu (const graphics_object& go, QMenu* menu)
     : Object (go, menu)
 {
@@ -64,14 +58,10 @@
   connect (menu, SIGNAL (aboutToHide (void)), SLOT (aboutToHide (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ContextMenu::~ContextMenu (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ContextMenu::update (int pId)
 {
   uicontextmenu::properties& up = properties<uicontextmenu> ();
@@ -101,30 +91,22 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ContextMenu::aboutToShow (void)
 {
   gh_manager::post_callback (m_handle, "callback");
   gh_manager::post_set (m_handle, "visible", "on", false);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ContextMenu::aboutToHide (void)
 {
   gh_manager::post_set (m_handle, "visible", "off", false);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QWidget* ContextMenu::menu (void)
 {
   return qWidget<QWidget> ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ContextMenu::executeAt (const base_properties& props, const QPoint& pt)
 {
   graphics_handle h = props.get_uicontextmenu ();
@@ -149,6 +131,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/ContextMenu.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ContextMenu.h	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 
 class QMenu;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class ContextMenu : public Object, public MenuContainer
 {
   Q_OBJECT
@@ -60,10 +56,6 @@
   void aboutToHide (void);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/EditControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/EditControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -31,13 +31,9 @@
 #include "TextEdit.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 EditControl* EditControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -60,16 +56,12 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 EditControl::EditControl (const graphics_object& go, QLineEdit* edit)
      : BaseControl (go, edit), m_multiLine (false), m_textChanged (false)
 {
   init (edit);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::init (QLineEdit* edit, bool callBase)
 {
   if (callBase)
@@ -90,16 +82,12 @@
 	   SLOT (editingFinished (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 EditControl::EditControl (const graphics_object& go, TextEdit* edit)
      : BaseControl (go, edit), m_multiLine (true), m_textChanged (false)
 {
   init (edit);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::init (TextEdit* edit, bool callBase)
 {
   if (callBase)
@@ -120,21 +108,15 @@
 	   SLOT (editingFinished (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 EditControl::~EditControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::initCommon (QWidget*)
 {
   m_textChanged = false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::update (int pId)
 {
   bool handled = false;
@@ -155,8 +137,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool EditControl::updateSingleLine (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -189,8 +169,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool EditControl::updateMultiLine (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -218,15 +196,11 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::textChanged (void)
 {
   m_textChanged = true;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void EditControl::editingFinished (void)
 {
   if (m_textChanged)
@@ -242,8 +216,5 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
--- a/libgui/graphics/EditControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/EditControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 class QLineEdit;
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class TextEdit;
 
 class EditControl : public BaseControl
@@ -67,10 +63,6 @@
   bool m_textChanged;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Figure.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Figure.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -45,21 +45,13 @@
 #include "MouseModeActionGroup.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 #define ABOUT_TEXT "<b>QtHandles</b> - a Qt-based toolkit for <a href=\"http://www.octave.org\">Octave</a>.<br><br>Copyright (C) 2011-2014 Michael Goffioul"
 
-//////////////////////////////////////////////////////////////////////////////
-
 DECLARE_GENERICEVENTNOTIFY_SENDER(MenuBar, QMenuBar);
 
-//////////////////////////////////////////////////////////////////////////////
-
 static bool hasUiControlChildren (const figure::properties& fp)
 {
   Matrix kids = fp.get_all_children ();
@@ -76,8 +68,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 static bool hasUiMenuChildren (const figure::properties& fp)
 {
   Matrix kids = fp.get_all_children ();
@@ -93,8 +83,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 static QRect boundingBoxToRect (const Matrix& bb)
 {
   QRect r;
@@ -110,15 +98,11 @@
   return r;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Figure* Figure::create (const graphics_object& go)
 {
   return new Figure (go, new FigureWindow ());
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Figure::Figure (const graphics_object& go, FigureWindow* win)
      : Object (go, win), m_blockUpdates (false), m_mouseMode (NoMode),
        m_lastMouseMode (NoMode), m_figureToolBar (0), m_menuBar (0),
@@ -169,14 +153,10 @@
   m_container->addReceiver (this);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Figure::~Figure (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::createFigureToolBarAndMenuBar (void)
 {
   QMainWindow* win = qWidget<QMainWindow> ();
@@ -224,15 +204,11 @@
   m_menuBar->addReceiver (this);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Container* Figure::innerContainer (void)
 {
   return m_container;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::redraw (void)
 {
   Canvas* canvas = m_container->canvas (m_handle);
@@ -253,8 +229,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::beingDeleted (void)
 {
   Canvas* canvas = m_container->canvas (m_handle.value (), false);
@@ -267,8 +241,6 @@
   qWidget<FigureWindow> ()->removeReceiver (this);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::update (int pId)
 {
   if (m_blockUpdates)
@@ -337,8 +309,6 @@
   m_blockUpdates = false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::showFigureToolBar (bool visible)
 {
   if ((! m_figureToolBar->isHidden ()) != visible)
@@ -368,8 +338,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::showMenuBar (bool visible)
 {
   int h1 = m_menuBar->sizeHint ().height ();
@@ -404,8 +372,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::updateMenuBar (void)
 {
   gh_manager::auto_lock lock;
@@ -415,15 +381,11 @@
     showMenuBar (Utils::properties<figure> (go).menubar_is ("figure"));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QWidget* Figure::menu (void)
 {
   return qWidget<QMainWindow> ()->menuBar ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 struct UpdateBoundingBoxData
 {
   Matrix m_bbox;
@@ -454,8 +416,6 @@
   delete d;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::updateBoundingBox (bool internal, int flags)
 {
   QWidget* win = qWidget<QWidget> ();
@@ -518,8 +478,6 @@
   gh_manager::post_function (Figure::updateBoundingBoxHelper, d);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool Figure::eventNotifyBefore (QObject* obj, QEvent* event)
 {
   if (! m_blockUpdates)
@@ -562,8 +520,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::eventNotifyAfter (QObject* watched, QEvent* event)
 {
   if (! m_blockUpdates)
@@ -623,47 +579,33 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::helpAboutQtHandles (void)
 {
   QMessageBox::about (qWidget<QMainWindow> (), tr ("About QtHandles"),
 		      ABOUT_TEXT);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::fileNewFigure (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::fileCloseFigure (void)
 {
   qWidget<QMainWindow> ()->close ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::editCopy (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::editCut (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::editPaste (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::addCustomToolBar (QToolBar* bar, bool visible)
 {
   QMainWindow* win = qWidget<QMainWindow> ();
@@ -689,8 +631,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::showCustomToolBar (QToolBar* bar, bool visible)
 {
   QMainWindow* win = qWidget<QMainWindow> ();
@@ -714,13 +654,9 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Figure::updateContainer (void)
 {
   redraw ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Figure.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Figure.h	Thu Feb 20 15:10:07 2014 -0500
@@ -32,13 +32,9 @@
 class QMainWindow;
 class QToolBar;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 enum MouseMode
 {
   NoMode	= 0,
@@ -48,8 +44,6 @@
   SelectMode	= 4
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Container;
 class FigureWindow;
 class MenuBar;
@@ -125,10 +119,6 @@
   QRect m_outerRect;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/FigureWindow.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/FigureWindow.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -28,32 +28,22 @@
 
 #include "FigureWindow.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 FigureWindow::FigureWindow (QWidget* parent)
   : FigureWindowBase (parent)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 FigureWindow::~FigureWindow (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QMenu* FigureWindow::createPopupMenu (void)
 {
   // For the time being, disable menubar/toolbar popup menu
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/FigureWindow.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/FigureWindow.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 #include "GenericEventNotify.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 DECLARE_GENERICEVENTNOTIFY_SENDER(FigureWindowBase, QMainWindow);
 
 class FigureWindow : public FigureWindowBase
@@ -47,10 +43,6 @@
   QMenu* createPopupMenu (void);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/GLCanvas.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/GLCanvas.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -34,27 +34,19 @@
 #include "GLCanvas.h"
 #include "gl-select.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 GLCanvas::GLCanvas (QWidget* parent, const graphics_handle& handle)
   : QGLWidget (parent), Canvas (handle)
 {
   setFocusPolicy (Qt::ClickFocus);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 GLCanvas::~GLCanvas (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::draw (const graphics_handle& handle)
 {
   graphics_object go = gh_manager::get_object (handle);
@@ -68,8 +60,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 graphics_object GLCanvas::selectFromAxes (const graphics_object& ax,
                                           const QPoint& pt)
 {
@@ -86,8 +76,6 @@
   return graphics_object ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 inline void glDrawZoomBox (const QPoint& p1, const QPoint& p2)
 {
   glVertex2d (p1.x (), p1.y ());
@@ -126,50 +114,36 @@
   glPopMatrix ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::paintGL (void)
 {
   canvasPaintEvent ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mouseMoveEvent (QMouseEvent* event)
 {
   canvasMouseMoveEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mousePressEvent (QMouseEvent* event)
 {
   canvasMousePressEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mouseReleaseEvent (QMouseEvent* event)
 {
   canvasMouseReleaseEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::keyPressEvent (QKeyEvent* event)
 {
   if (! canvasKeyPressEvent (event))
     QGLWidget::keyPressEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::keyReleaseEvent (QKeyEvent* event)
 {
   if (! canvasKeyReleaseEvent (event))
     QGLWidget::keyReleaseEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/GLCanvas.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/GLCanvas.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 #include "Canvas.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class GLCanvas : public QGLWidget, public Canvas
 {
 public:
@@ -57,10 +53,6 @@
   void keyReleaseEvent (QKeyEvent* event);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/GenericEventNotify.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/GenericEventNotify.h	Thu Feb 20 15:10:07 2014 -0500
@@ -29,13 +29,9 @@
 class QObject;
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class GenericEventNotifyReceiver;
 
 class GenericEventNotifySender
@@ -58,8 +54,6 @@
   QSet<GenericEventNotifyReceiver*> m_receivers;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 class GenericEventNotifyReceiver
 {
 public:
@@ -70,8 +64,6 @@
   virtual void eventNotifyAfter (QObject* obj, QEvent* evt) = 0;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 inline
 bool GenericEventNotifySender::notifyReceiversBefore (QObject* obj,
                                                       QEvent* evt)
@@ -82,8 +74,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 inline
 void GenericEventNotifySender::notifyReceiversAfter (QObject* obj,
                                                      QEvent* evt)
@@ -92,8 +82,6 @@
     r->eventNotifyAfter (obj, evt);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 #define DECLARE_GENERICEVENTNOTIFY_SENDER(T,B) \
 class T : public B, public GenericEventNotifySender \
 { \
@@ -111,10 +99,6 @@
     } \
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/KeyMap.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/KeyMap.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -29,18 +29,12 @@
 
 #include "KeyMap.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace KeyMap
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 std::string qKeyToKeyString (int key)
 {
   static QMap<int, std::string> keyMapper;
@@ -259,10 +253,6 @@
   return keyMapper.value (key, std::string ("<unknown key>"));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; //namespace KeyMap
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/KeyMap.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/KeyMap.h	Thu Feb 20 15:10:07 2014 -0500
@@ -23,28 +23,16 @@
 #ifndef __QtHandles__KeyMap__
 #define __QtHandles__KeyMap__ 1
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace KeyMap
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 std::string qKeyToKeyString (int key);
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace KeyMap
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ListBoxControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ListBoxControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "ListBoxControl.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static void updateSelection (QListWidget* list, const Matrix& value)
 {
   octave_idx_type n = value.numel ();
@@ -64,8 +60,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ListBoxControl* ListBoxControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -81,8 +75,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ListBoxControl::ListBoxControl (const graphics_object& go, QListWidget* list)
      : BaseControl (go, list), m_blockCallback (false)
 {
@@ -121,14 +113,10 @@
 	   SLOT (itemSelectionChanged (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ListBoxControl::~ListBoxControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ListBoxControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -161,8 +149,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ListBoxControl::itemSelectionChanged (void)
 {
   if (! m_blockCallback)
@@ -181,6 +167,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/ListBoxControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ListBoxControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QListWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class ListBoxControl : public BaseControl
 {
   Q_OBJECT
@@ -54,10 +50,6 @@
   bool m_blockCallback;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Logger.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Logger.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -32,18 +32,12 @@
 
 #include "Logger.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 Logger* Logger::s_instance = 0;
 QMutex* Logger::s_mutex = 0;
 
-//////////////////////////////////////////////////////////////////////////////
-
 Logger::Logger (void)
     : m_debugEnabled (false)
 {
@@ -53,14 +47,10 @@
     m_debugEnabled = true;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Logger::~Logger (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Logger* Logger::instance (void)
 {
   if (! s_instance)
@@ -72,8 +62,6 @@
   return s_instance;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 #define STATIC_LOGGER(fun) \
 void Logger::fun (const char* fmt, ...) \
 { \
@@ -86,8 +74,6 @@
 
 STATIC_LOGGER (debug)
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Logger::debugV (const char* fmt, va_list arg)
 {
   if (m_debugEnabled)
@@ -97,6 +83,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Logger.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Logger.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QMutex;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Logger
 {
 public:
@@ -54,10 +50,6 @@
   void debugV (const char* fmt, va_list arg);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Menu.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Menu.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -33,13 +33,9 @@
 #include "Menu.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static QKeySequence accelSequence (const uimenu::properties& up)
 {
   std::string s (up.get_accelerator ());
@@ -60,8 +56,6 @@
   return QKeySequence ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Menu* Menu::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -77,8 +71,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Menu::Menu (const graphics_object& go, QAction* action, Object* parent)
     : Object (go, action), m_parent (0), m_separator (0)
 {
@@ -155,14 +147,10 @@
   connect (action, SIGNAL (triggered (bool)), SLOT (actionTriggered (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Menu::~Menu (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Menu::update (int pId)
 {
   uimenu::properties& up = properties<uimenu> ();
@@ -252,8 +240,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QWidget* Menu::menu (void)
 {
   QAction* action = qWidget<QAction> ();
@@ -271,8 +257,6 @@
   return _menu;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Menu::actionTriggered (void)
 {
   QAction* action = qWidget<QAction> ();
@@ -282,15 +266,11 @@
   gh_manager::post_callback (m_handle, "callback");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Menu::actionHovered (void)
 {
   gh_manager::post_callback (m_handle, "callback");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Menu::updateSiblingPositions (void)
 {
   if (m_parent)
@@ -324,6 +304,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Menu.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Menu.h	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 class QMenu;
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Menu : public Object, public MenuContainer
 {
   Q_OBJECT
@@ -66,10 +62,6 @@
   QAction* m_separator;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/MenuContainer.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/MenuContainer.h	Thu Feb 20 15:10:07 2014 -0500
@@ -25,23 +25,15 @@
 
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class MenuContainer
 {
 public:
   virtual QWidget* menu (void) = 0;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/MouseModeActionGroup.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/MouseModeActionGroup.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "Figure.h"
 #include "MouseModeActionGroup.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 MouseModeActionGroup::MouseModeActionGroup (QObject* parent)
   : QObject (parent), m_current (0)
 {
@@ -58,14 +54,10 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 MouseModeActionGroup::~MouseModeActionGroup (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void MouseModeActionGroup::actionToggled (bool checked)
 {
   if (! checked)
@@ -91,8 +83,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 MouseMode MouseModeActionGroup::mouseMode (void) const
 {
   int i = (m_current ? -1 : m_actions.indexOf (m_current));
@@ -100,6 +90,4 @@
   return static_cast<MouseMode> (i+1);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/MouseModeActionGroup.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/MouseModeActionGroup.h	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 
 class QAction;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class MouseModeActionGroup : public QObject
 {
   Q_OBJECT
@@ -59,10 +55,6 @@
   QAction* m_current;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Object.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Object.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "Object.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 Object::Object (const graphics_object& go, QObject* obj)
   : QObject (), m_handle (go.get_handle ()), m_qobject (0)
 {
@@ -50,8 +46,6 @@
   init (obj);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::init (QObject* obj, bool)
 {
   if (m_qobject)
@@ -69,14 +63,10 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Object::~Object (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 graphics_object Object::object (void) const
 {
   gh_manager::auto_lock lock (false);
@@ -89,8 +79,6 @@
   return gh_manager::get_object (m_handle);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::slotUpdate (int pId)
 {
   gh_manager::auto_lock lock;
@@ -110,8 +98,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::slotFinalize (void)
 {
   gh_manager::auto_lock lock;
@@ -119,8 +105,6 @@
   finalize ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::slotRedraw (void)
 {
   gh_manager::auto_lock lock;
@@ -129,14 +113,10 @@
     redraw ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::update (int /* pId */)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::finalize (void)
 {
   if (m_qobject)
@@ -147,28 +127,20 @@
   deleteLater ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::redraw (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::beingDeleted (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Object::objectDestroyed (QObject* obj)
 {
   if (obj && obj == m_qobject)
     m_qobject = 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Object* Object::parentObject (const graphics_object& go)
 {
   Object* parent = Backend::toolkitObject
@@ -177,8 +149,6 @@
   return parent;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Object* Object::fromQObject (QObject* obj)
 {
   QVariant v = obj->property ("QtHandles::Object");
@@ -189,6 +159,4 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Object.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Object.h	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 class QObject;
 class QWidget;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Container;
 class ObjectProxy;
 
@@ -102,10 +98,6 @@
   QObject* m_qobject;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ObjectFactory.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ObjectFactory.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -51,13 +51,9 @@
 #include "ToolBar.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 ObjectFactory* ObjectFactory::instance (void)
 {
   static ObjectFactory s_instance;
@@ -73,8 +69,6 @@
   return &s_instance;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ObjectFactory::createObject (double handle)
 {
   gh_manager::auto_lock lock;
@@ -152,6 +146,4 @@
 	      handle);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/ObjectFactory.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ObjectFactory.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class graphics_object;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Object;
 
 class ObjectFactory : public QObject
@@ -52,10 +48,6 @@
     { }
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- 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 ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/ObjectProxy.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ObjectProxy.h	Thu Feb 20 15:10:07 2014 -0500
@@ -25,13 +25,9 @@
 
 #include <QObject>
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Object;
 
 class ObjectProxy : public QObject
@@ -60,10 +56,6 @@
    Object* m_object;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Panel.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Panel.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -36,13 +36,9 @@
 #include "Panel.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static int frameStyleFromProperties (const uipanel::properties& pp)
 {
   if (pp.bordertype_is ("none"))
@@ -59,8 +55,6 @@
     return (QFrame::Panel | QFrame::Plain);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 static void setupPalette (const uipanel::properties& pp, QPalette& p)
 {
   p.setColor (QPalette::Window,
@@ -73,8 +67,6 @@
 	      Utils::fromRgb (pp.get_shadowcolor_rgb ()));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 static int borderWidthFromProperties (const uipanel::properties& pp)
 {
   int bw = 0;
@@ -89,8 +81,6 @@
   return bw;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Panel* Panel::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -106,8 +96,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Panel::Panel (const graphics_object& go, QFrame* frame)
     : Object (go, frame), m_container (0), m_title (0), m_blockUpdates (false)
 {
@@ -146,14 +134,10 @@
     frame->hide ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Panel::~Panel (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool Panel::eventFilter (QObject* watched, QEvent* event)
 {
   if (! m_blockUpdates)
@@ -224,8 +208,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Panel::update (int pId)
 {
   uipanel::properties& pp = properties<uipanel> ();
@@ -321,8 +303,6 @@
   m_blockUpdates = false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Panel::redraw (void)
 {
   Canvas* canvas = m_container->canvas (m_handle);
@@ -331,8 +311,6 @@
     canvas->redraw ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void Panel::updateLayout (void)
 {
   uipanel::properties& pp = properties<uipanel> ();
@@ -371,6 +349,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/Panel.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Panel.h	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 class QFrame;
 class QLabel;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Container;
 
 class Panel : public Object
@@ -62,10 +58,6 @@
   bool m_blockUpdates;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/PopupMenuControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PopupMenuControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "PopupMenuControl.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 PopupMenuControl* PopupMenuControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -52,8 +48,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PopupMenuControl::PopupMenuControl (const graphics_object& go, QComboBox *box)
      : BaseControl (go, box), m_blockUpdate (false)
 {
@@ -65,14 +59,10 @@
 	   SLOT (currentIndexChanged (int)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PopupMenuControl::~PopupMenuControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void PopupMenuControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -126,8 +116,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void PopupMenuControl::currentIndexChanged (int index)
 {
   if (! m_blockUpdate)
@@ -139,6 +127,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/PopupMenuControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PopupMenuControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QComboBox;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class PopupMenuControl : public BaseControl
 {
   Q_OBJECT
@@ -54,10 +50,6 @@
   bool m_blockUpdate;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/PushButtonControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PushButtonControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -31,13 +31,9 @@
 #include "Container.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushButtonControl* PushButtonControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -53,22 +49,16 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushButtonControl::PushButtonControl (const graphics_object& go, QPushButton* btn)
   : ButtonControl (go, btn)
 {
   btn->setAutoFillBackground (true);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushButtonControl::~PushButtonControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void PushButtonControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -85,6 +75,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespave QtHandles
--- a/libgui/graphics/PushButtonControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PushButtonControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QPushButton;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class PushButtonControl : public ButtonControl
 {
 public:
@@ -46,10 +42,6 @@
   void update (int pId);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/PushTool.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PushTool.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 
 #include "ToolBarButton.cc"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushTool* PushTool::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -50,22 +46,16 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushTool::PushTool (const graphics_object& go, QAction* action)
     : ToolBarButton<uipushtool> (go, action)
 {
   connect (action, SIGNAL (triggered (bool)), this, SLOT (clicked (void)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 PushTool::~PushTool (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void PushTool::update (int pId)
 {
   switch (pId)
@@ -76,13 +66,9 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void PushTool::clicked (void)
 {
   gh_manager::post_callback (m_handle, "clickedcallback");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/PushTool.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/PushTool.h	Thu Feb 20 15:10:07 2014 -0500
@@ -25,13 +25,9 @@
 
 #include "ToolBarButton.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class PushTool : public ToolBarButton<uipushtool>
 {
   Q_OBJECT
@@ -49,10 +45,6 @@
   void clicked (void);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/RadioButtonControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/RadioButtonControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "Container.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 RadioButtonControl* RadioButtonControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -52,8 +48,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 RadioButtonControl::RadioButtonControl (const graphics_object& go,
 					QRadioButton* radio)
     : ButtonControl (go, radio)
@@ -62,12 +56,8 @@
   radio->setAutoExclusive (false);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 RadioButtonControl::~RadioButtonControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/RadioButtonControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/RadioButtonControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QRadioButton;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class RadioButtonControl : public ButtonControl
 {
 public:
@@ -43,10 +39,6 @@
   static RadioButtonControl* create (const graphics_object& go);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/SliderControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/SliderControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -32,13 +32,9 @@
 
 #define RANGE_INT_MAX 1000000
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 SliderControl* SliderControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -54,8 +50,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 SliderControl::SliderControl (const graphics_object& go,
 			      QAbstractSlider* slider)
     : BaseControl (go, slider), m_blockUpdates (false)
@@ -82,14 +76,10 @@
   connect (slider, SIGNAL (valueChanged (int)), SLOT (valueChanged (int)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 SliderControl::~SliderControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void SliderControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -127,8 +117,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void SliderControl::valueChanged (int ival)
 {
   if (! m_blockUpdates)
@@ -159,6 +147,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/SliderControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/SliderControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QAbstractSlider;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class SliderControl : public BaseControl
 {
   Q_OBJECT
@@ -54,10 +50,6 @@
   bool m_blockUpdates;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/TextControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/TextControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "TextControl.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 TextControl* TextControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -52,8 +48,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 TextControl::TextControl (const graphics_object& go, QLabel* label)
      : BaseControl (go, label)
 {
@@ -68,14 +62,10 @@
   label->setText (Utils::fromStdString (up.get_string_string ()));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 TextControl::~TextControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void TextControl::update (int pId)
 {
   uicontrol::properties& up = properties<uicontrol> ();
@@ -98,6 +88,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/TextControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/TextControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QLabel;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class TextControl : public BaseControl
 {
 public:
@@ -46,10 +42,6 @@
   void update (int pId);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/TextEdit.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/TextEdit.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 
 #include "TextEdit.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 void TextEdit::focusOutEvent (QFocusEvent* event)
 {
   QTextEdit::focusOutEvent (event);
@@ -42,8 +38,6 @@
   emit editingFinished ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void TextEdit::keyPressEvent (QKeyEvent* event)
 {
   QTextEdit::keyPressEvent (event);
@@ -54,6 +48,4 @@
     emit editingFinished ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/TextEdit.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/TextEdit.h	Thu Feb 20 15:10:07 2014 -0500
@@ -25,13 +25,9 @@
 
 #include <QTextEdit>
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class TextEdit : public QTextEdit
 {
   Q_OBJECT
@@ -48,10 +44,6 @@
   void keyPressEvent (QKeyEvent* event);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ToggleButtonControl.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToggleButtonControl.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "Container.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleButtonControl* ToggleButtonControl::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -52,8 +48,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleButtonControl::ToggleButtonControl (const graphics_object& go,
 					  QPushButton* btn)
     : ButtonControl (go, btn)
@@ -62,12 +56,8 @@
   btn->setAutoFillBackground (true);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleButtonControl::~ToggleButtonControl (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/ToggleButtonControl.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToggleButtonControl.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QPushButton;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class ToggleButtonControl : public ButtonControl
 {
 public:
@@ -43,10 +39,6 @@
   static ToggleButtonControl* create (const graphics_object& go);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ToggleTool.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToggleTool.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 
 #include "ToolBarButton.cc"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleTool* ToggleTool::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -50,8 +46,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleTool::ToggleTool (const graphics_object& go, QAction* action)
     : ToolBarButton<uitoggletool> (go, action)
 {
@@ -64,14 +58,10 @@
 	   this, SLOT (triggered (bool)));
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToggleTool::~ToggleTool (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ToggleTool::update (int pId)
 {
   uitoggletool::properties& tp = properties<uitoggletool> ();
@@ -88,8 +78,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ToggleTool::triggered (bool checked)
 {
   gh_manager::post_set (m_handle, "state", checked, false);
@@ -100,6 +88,4 @@
   gh_manager::post_callback (m_handle, "clickedcallback");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
--- a/libgui/graphics/ToggleTool.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToggleTool.h	Thu Feb 20 15:10:07 2014 -0500
@@ -25,13 +25,9 @@
 
 #include "ToolBarButton.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class ToggleTool : public ToolBarButton<uitoggletool>
 {
   Q_OBJECT
@@ -49,10 +45,6 @@
   void triggered (bool checked);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ToolBar.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToolBar.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -38,13 +38,9 @@
 #include "ToolBar.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static QAction* addEmptyAction (QToolBar* bar)
 {
   static QIcon _empty;
@@ -66,8 +62,6 @@
   return a;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToolBar* ToolBar::create (const graphics_object& go)
 {
   Object* parent = Object::parentObject (go);
@@ -83,8 +77,6 @@
   return 0;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToolBar::ToolBar (const graphics_object& go, QToolBar* bar)
      : Object (go, bar), m_empty (0), m_figure (0)
 {
@@ -105,14 +97,10 @@
   bar->installEventFilter (this);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 ToolBar::~ToolBar (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ToolBar::update (int pId)
 {
   uitoolbar::properties& tp = properties<uitoolbar> ();
@@ -130,8 +118,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool ToolBar::eventFilter (QObject* watched, QEvent* event)
 {
   if (watched == qObject ())
@@ -167,15 +153,11 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ToolBar::hideEmpty (void)
 {
   m_empty->setVisible (false);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void ToolBar::beingDeleted (void)
 {
   if (m_figure)
@@ -187,6 +169,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/ToolBar.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToolBar.h	Thu Feb 20 15:10:07 2014 -0500
@@ -28,13 +28,9 @@
 class QAction;
 class QToolBar;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Figure;
 
 class ToolBar : public Object
@@ -63,10 +59,6 @@
   Figure* m_figure;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/ToolBarButton.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToolBarButton.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -30,13 +30,9 @@
 #include "ToolBarButton.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 template <class T>
 ToolBarButton<T>::ToolBarButton (const graphics_object& go, QAction* action)
     : Object (go, action), m_separator (0)
@@ -62,15 +58,11 @@
     w->insertAction (action, m_separator);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 template <class T>
 ToolBarButton<T>::~ToolBarButton (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 template <class T>
 void ToolBarButton<T>::update (int pId)
 {
@@ -124,6 +116,4 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/ToolBarButton.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/ToolBarButton.h	Thu Feb 20 15:10:07 2014 -0500
@@ -27,13 +27,9 @@
 
 class QAction;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 class Container;
   
 template <class T>
@@ -52,10 +48,6 @@
   QAction* m_separator;
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/Utils.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Utils.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -39,32 +39,22 @@
 #include "Object.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace Utils
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 QString fromStdString (const std::string& s)
 {
   return QString::fromLocal8Bit (s.c_str ());
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 std::string toStdString (const QString& s)
 {
   return std::string (s.toLocal8Bit ().data ());
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QStringList fromStringVector (const string_vector& v)
 {
   QStringList l;
@@ -76,8 +66,6 @@
   return l;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 string_vector toStringVector (const QStringList& l)
 {
   string_vector v (l.length ());
@@ -89,8 +77,6 @@
   return v;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 template <class T>
 QFont computeFont (const typename T::properties& props, int height)
 {
@@ -126,8 +112,6 @@
 template QFont computeFont<uipanel> (const uipanel::properties& props,
 				     int height);
 
-//////////////////////////////////////////////////////////////////////////////
-
 QColor fromRgb (const Matrix& rgb)
 {
   QColor c;
@@ -138,8 +122,6 @@
   return c;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Matrix toRgb (const QColor& c)
 {
   Matrix rgb (1, 3);
@@ -150,8 +132,6 @@
   return rgb;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 std::string figureSelectionType (QMouseEvent* event, bool isDoubleClick)
 {
   if (isDoubleClick)
@@ -187,8 +167,6 @@
   return std::string ("normal");
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Matrix figureCurrentPoint (const graphics_object& fig, QMouseEvent* event)
 {
   Object* tkFig = Backend::toolkitObject (fig);
@@ -210,8 +188,6 @@
   return Matrix (1, 2, 0.0);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 Qt::Alignment fromHVAlign (const caseless_str& halign,
 			   const caseless_str& valign)
 {
@@ -238,8 +214,6 @@
   return flags;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 QImage makeImageFromCData (const octave_value& v, int width, int height)
 {
   dim_vector dv (v.dims ());
@@ -315,8 +289,6 @@
   return QImage ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 octave_scalar_map makeKeyEventStruct (QKeyEvent* event)
 {
   octave_scalar_map retval;
@@ -347,10 +319,6 @@
   return retval;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace Utils
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
--- a/libgui/graphics/Utils.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/Utils.h	Thu Feb 20 15:10:07 2014 -0500
@@ -36,13 +36,9 @@
 class QKeyEvent;
 class QMouseEvent;
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace Utils
 {
   QString fromStdString (const std::string& s);
@@ -81,10 +77,6 @@
   octave_scalar_map makeKeyEventStruct (QKeyEvent* event);
 };
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif
--- a/libgui/graphics/__init_qt__.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/__init_qt__.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -38,17 +38,11 @@
 #include "Backend.h"
 #include "Utils.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 static bool qtHandlesInitialized = false;
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool __init__ (void)
 {
   if (! qtHandlesInitialized)
@@ -98,8 +92,6 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool __shutdown__ (void)
 {
   if (qtHandlesInitialized)
@@ -118,12 +110,8 @@
   return false;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
-//////////////////////////////////////////////////////////////////////////////
-
 DEFUN (__init_qt__, , , "")
 {
   QtHandles::__init__ ();
@@ -131,8 +119,6 @@
   return octave_value ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 DEFUN (__shutdown_qt__, , , "")
 {
   QtHandles::__shutdown__ ();
@@ -152,8 +138,6 @@
 
 #if 0
 
-//////////////////////////////////////////////////////////////////////////////
-
 static QStringList makeFilterSpecs (const Cell& filters)
 {
   using namespace QtHandles::Utils;
@@ -184,8 +168,6 @@
   return filterSpecs;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 static QString appendDirSep (const QString& d)
 {
   if (! d.endsWith ("/") && ! d.endsWith (QDir::separator ()))
@@ -193,8 +175,6 @@
   return d;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 DEFUN (__uigetfile_qt__, args, , "")
 {
   using namespace QtHandles::Utils;
@@ -277,8 +257,6 @@
   return retval;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 DEFUN (__uiputfile_qt__, args, , "")
 {
   using namespace QtHandles::Utils;
@@ -329,8 +307,6 @@
   return retval;
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 DEFUN (__uigetdir_qt__, args, , "")
 {
   using namespace QtHandles::Utils;
--- a/libgui/graphics/__init_qt__.h	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/__init_qt__.h	Thu Feb 20 15:10:07 2014 -0500
@@ -23,21 +23,13 @@
 #ifndef __QtHandles_init_qt__
 #define __QtHandles_init_qt__ 1
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 bool __init__ (void);
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles
 
 extern void install___init_qt___functions (void);
 
-//////////////////////////////////////////////////////////////////////////////
-
 #endif