void DialogBox::clear() { clearReplies(); clearEntry(); setPortrait(""); setName(""); }
DialogBox::~DialogBox() { clearReplies(); clearEntry(); delete _name; delete _portrait; }
bool XWindowsClipboard::destroyRequest(Window requestor) { ReplyMap::iterator index = m_replies.find(requestor); if (index == m_replies.end()) { // unknown requestor window return false; } // destroy all replies for this window clearReplies(index->second); m_replies.erase(index); // note -- we don't stop watching the window for events because // we're called in response to the window being destroyed. return true; }
XWindowsClipboard::~XWindowsClipboard() { clearReplies(); clearConverters(); }