Mercurial > octave-nkf
comparison libgui/graphics/CheckBoxControl.cc @ 18501:523878f76518 gui-release
style fix: eliminate lines of slashes to separate functions.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Feb 2014 15:10:07 -0500 |
parents | 49877d3be064 |
children | fe0e34be5576 |
comparison
equal
deleted
inserted
replaced
18500:49877d3be064 | 18501:523878f76518 |
---|---|
27 #include <QCheckBox> | 27 #include <QCheckBox> |
28 | 28 |
29 #include "CheckBoxControl.h" | 29 #include "CheckBoxControl.h" |
30 #include "Container.h" | 30 #include "Container.h" |
31 | 31 |
32 ////////////////////////////////////////////////////////////////////////////// | |
33 | |
34 namespace QtHandles | 32 namespace QtHandles |
35 { | 33 { |
36 | |
37 ////////////////////////////////////////////////////////////////////////////// | |
38 | 34 |
39 CheckBoxControl* CheckBoxControl::create (const graphics_object& go) | 35 CheckBoxControl* CheckBoxControl::create (const graphics_object& go) |
40 { | 36 { |
41 Object* parent = Object::parentObject (go); | 37 Object* parent = Object::parentObject (go); |
42 | 38 |
49 } | 45 } |
50 | 46 |
51 return 0; | 47 return 0; |
52 } | 48 } |
53 | 49 |
54 ////////////////////////////////////////////////////////////////////////////// | |
55 | |
56 CheckBoxControl::CheckBoxControl (const graphics_object& go, QCheckBox* box) | 50 CheckBoxControl::CheckBoxControl (const graphics_object& go, QCheckBox* box) |
57 : ButtonControl (go, box) | 51 : ButtonControl (go, box) |
58 { | 52 { |
59 box->setAutoFillBackground (true); | 53 box->setAutoFillBackground (true); |
60 } | 54 } |
61 | 55 |
62 ////////////////////////////////////////////////////////////////////////////// | |
63 | |
64 CheckBoxControl::~CheckBoxControl (void) | 56 CheckBoxControl::~CheckBoxControl (void) |
65 { | 57 { |
66 } | 58 } |
67 | 59 |
68 ////////////////////////////////////////////////////////////////////////////// | |
69 | |
70 }; | 60 }; |