Commit 5b132abb authored by saubatn's avatar saubatn
Browse files

UPDATED PropertyObject constructor now demands a name.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@2148 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 167521d6
......@@ -28,7 +28,9 @@
namespace camitk {
// -------------------- Constructor --------------------
PropertyObject::PropertyObject() : QObject(){}
PropertyObject::PropertyObject(QString name) : QObject(){
setObjectName(name);
}
// -------------------- Destructor --------------------
PropertyObject::~PropertyObject(){
......
......@@ -53,9 +53,10 @@ class CAMITK_API PropertyObject : public QObject{
public:
/**
* Default and empty constructor
* Default constructor
* @param name The name of the PropertyObject instance. This one would be displayed in any SettingsDialog entries.
*/
PropertyObject();
PropertyObject(QString name);
/// Destructor
virtual ~PropertyObject();
......
Supports Markdown
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