Commit 2bff3717 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Add a method to clear all Profile's set properties

parent f37fbc1a
......@@ -445,6 +445,15 @@ public:
/** Returns true if no properties have been set in this Profile instance. */
bool isEmpty() const;
/**
* Clears all set properties in this profile. Afte calling this, isEmpty()
* will return true.
*/
void clear()
{
_propertyValues.clear();
}
/**
* Returns true if this profile is the built-in profile.
*/
......
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