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

Made show and hide methods virtual and made visibility protected

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8907 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5f68ba44
...@@ -262,7 +262,7 @@ class DLLEXPORTONLY BaseObject : public QObject { ...@@ -262,7 +262,7 @@ class DLLEXPORTONLY BaseObject : public QObject {
/// Sets visiblity /// Sets visiblity
virtual void visible(bool _visible); virtual void visible(bool _visible);
private : protected :
/** Show/hide/ Object\n /** Show/hide/ Object\n
* Visibility is handled by DataControlPlugin so emit updated_objects if you changed this value * Visibility is handled by DataControlPlugin so emit updated_objects if you changed this value
* defaults to visible * defaults to visible
......
...@@ -172,10 +172,10 @@ class DLLEXPORT BaseObjectData : public BaseObject ...@@ -172,10 +172,10 @@ class DLLEXPORT BaseObjectData : public BaseObject
public : public :
/// Sets the whole Scenegraph subtree of this node to visible /// Sets the whole Scenegraph subtree of this node to visible
void show(); virtual void show();
/// Sets the whole Scenegraph subtree of this node to invisible /// Sets the whole Scenegraph subtree of this node to invisible
void hide(); virtual void hide();
/// return visiblity /// return visiblity
virtual bool visible(); virtual bool visible();
......
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