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 {
/// Sets visiblity
virtual void visible(bool _visible);
private :
protected :
/** Show/hide/ Object\n
* Visibility is handled by DataControlPlugin so emit updated_objects if you changed this value
* defaults to visible
......
......@@ -172,10 +172,10 @@ class DLLEXPORT BaseObjectData : public BaseObject
public :
/// 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
void hide();
virtual void hide();
/// return visiblity
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