Changeset 7470 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_element.cc
- Timestamp:
- May 2, 2006, 8:21:00 AM (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_element.cc
r7469 r7470 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 20 20 #include "gui_gtk.h" 21 21 22 using namespace std; 22 namespace OrxGui 23 { 23 24 24 25 25 /**26 * standard constructor27 @todo this constructor is not jet implemented - do it28 */29 GuiElement::GuiElement () 30 {31 this->mainWidget = NULL;32 }26 /** 27 * standard constructor 28 @todo this constructor is not jet implemented - do it 29 */ 30 GuiElement::GuiElement () 31 { 32 this->mainWidget = NULL; 33 } 33 34 34 35 35 /**36 * standard deconstructor36 /** 37 * standard deconstructor 37 38 38 */ 39 GuiElement::~GuiElement () 40 { 41 // delete what has to be deleted here 39 */ 40 GuiElement::~GuiElement () 41 { 42 // delete what has to be deleted here 43 } 44 45 /** 46 * Every GuiElement should set this, or it could result in a SegFault. 47 */ 48 void GuiElement::setMainWidget(Widget* widget) 49 { 50 this->mainWidget = widget; 51 } 42 52 } 43 44 /**45 * Every GuiElement should set this, or it could result in a SegFault.46 */47 void GuiElement::setMainWidget(Widget* widget)48 {49 this->mainWidget = widget;50 }
Note: See TracChangeset
for help on using the changeset viewer.