Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7447 in orxonox.OLD for branches/qt_gui/src/lib/lang


Ignore:
Timestamp:
Apr 29, 2006, 7:49:19 PM (19 years ago)
Author:
bensch
Message:

qt_gui: some more stuff

Location:
branches/qt_gui/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/lang/base_object.cc

    r7429 r7447  
    2020
    2121#include "util/loading/load_param.h"
    22 #include "compiler.h"
    2322#include "class_list.h"
    2423
     
    3231 * @param root the element to load from
    3332 */
    34 BaseObject::BaseObject()
     33BaseObject::BaseObject(const std::string& objectName)
    3534{
    3635  this->classID = CL_BASE_OBJECT;
    3736  this->className = "BaseObject";
    3837
    39   this->objectName = "";
     38  this->objectName = objectName;
    4039  this->classList = NULL;
    4140  this->xmlElem = NULL;
  • branches/qt_gui/src/lib/lang/base_object.h

    r7221 r7447  
    2727
    2828 public:
    29   BaseObject ();
     29   BaseObject (const std::string& objectName = "");
    3030  virtual ~BaseObject ();
    3131
Note: See TracChangeset for help on using the changeset viewer.