Commit cdcc0dbc authored by Jan Möbius's avatar Jan Möbius

Made the update function protected instead of private. Forgot the hierarchy

parent 80f89fb7
......@@ -96,6 +96,7 @@ class DLLEXPORTONLY BaseObject : public QObject {
Q_OBJECT
friend class BaseObjectData;
friend class Core;
public :
......@@ -292,6 +293,20 @@ class DLLEXPORTONLY BaseObject : public QObject {
//===========================================================================
public:
/// Debugging function, writing the subtree to output
void dumpTree();
/// Returns a full copy of the object
virtual BaseObject* copy();
//===========================================================================
/** @name Update handling
* @{ */
//===========================================================================
protected:
/** \brief This function is called to update the object
*
* If the object changes, the core will call this function. Normally this will update
......@@ -302,12 +317,6 @@ class DLLEXPORTONLY BaseObject : public QObject {
*/
virtual void update(UpdateType _type = UPDATE_ALL);
/// Debugging function, writing the subtree to output
void dumpTree();
/// Returns a full copy of the object
virtual BaseObject* copy();
/** @} */
......
......@@ -289,7 +289,7 @@ class DLLEXPORT BaseObjectData : public BaseObject
* @{ */
//===========================================================================
private:
protected:
/** \brief This function is called to update the object
*
* If the object changes, the core will call this function. Normally this will update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment