The panel now highlights unused title block templates.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1477 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-01-23 20:36:51 +00:00
parent 6d5570404a
commit 7f9d792368
8 changed files with 113 additions and 5 deletions

View File

@@ -153,3 +153,12 @@ bool TitleBlockTemplateLocation::isReadOnly() const {
if (!collection_) return(false);
return(collection_ -> isReadOnly(name_));
}
/**
@param location other location that should be compared to this one
@return true if locations are equal, false otherwise
*/
bool TitleBlockTemplateLocation::operator==(const TitleBlockTemplateLocation &location) const {
return(location.collection_ == collection_ && location.name_ == name_);
}