Logo Search packages:      
Sourcecode: ktechlab version File versions

bool ItemDocument::registerUID ( const QString &  uid  )  [inherited]

Attemtps to register a unique id for the canvas view of an item on the canvas. If the id does not already exist, will return true; otherwise the function will return false.

Definition at line 540 of file itemdocument.cpp.

Referenced by ItemDocument::generateUID(), and Node::Node().

{
      return m_idList.insert(UID).second;
}


Generated by  Doxygen 1.6.0   Back to index