diff libgui/graphics/EditControl.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 fb96b7f55242
line wrap: on
line diff
--- 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
 
-//////////////////////////////////////////////////////////////////////////////