Mercurial > octave-nkf
diff libgui/graphics/PushButtonControl.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/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