Changeset 7480 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_saveable.cc
- Timestamp:
- May 2, 2006, 10:23:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.cc
r7479 r7480 24 24 * standard constructor 25 25 */ 26 GuiSaveable::GuiSaveable (const std::string& optionName)26 Saveable::Saveable (const std::string& optionName) 27 27 : BaseObject(optionName) 28 28 { … … 35 35 * standard deconstructor 36 36 */ 37 GuiSaveable::~GuiSaveable ()37 Saveable::~Saveable () 38 38 { 39 39 // delete what has to be deleted here … … 41 41 42 42 43 void GuiSaveable::makeSaveable()43 void Saveable::makeSaveable() 44 44 { 45 45 this->bSaveable = true; … … 48 48 49 49 50 GuiSaveableGroup::GuiSaveableGroup(const std::string& groupName)51 : GuiSaveable(groupName)50 SaveableGroup::SaveableGroup(const std::string& groupName) 51 : Saveable(groupName) 52 52 { 53 53 } … … 56 56 57 57 58 GuiSaveableGroup::~GuiSaveableGroup()58 SaveableGroup::~SaveableGroup() 59 59 { 60 std::vector< GuiSaveableGroup*>::iterator delGroup = std::find(saveableGroups.begin(), saveableGroups.end(), this);60 std::vector<SaveableGroup*>::iterator delGroup = std::find(saveableGroups.begin(), saveableGroups.end(), this); 61 61 62 62 if (delGroup != saveableGroups.end() ) … … 64 64 } 65 65 66 std::vector< GuiSaveableGroup*> GuiSaveableGroup::saveableGroups;66 std::vector<SaveableGroup*> SaveableGroup::saveableGroups; 67 67 68 void GuiSaveableGroup::makingElementSaveable()68 void SaveableGroup::makingElementSaveable() 69 69 { 70 GuiSaveableGroup::saveableGroups.push_back(this);70 SaveableGroup::saveableGroups.push_back(this); 71 71 } 72 72
Note: See TracChangeset
for help on using the changeset viewer.