Exemplo n.º 1
0
void DialogBox::clear() {
	clearReplies();
	clearEntry();

	setPortrait("");
	setName("");
}
Exemplo n.º 2
0
DialogBox::~DialogBox() {
	clearReplies();
	clearEntry();

	delete _name;
	delete _portrait;
}
Exemplo n.º 3
0
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;
}
Exemplo n.º 4
0
XWindowsClipboard::~XWindowsClipboard()
{
	clearReplies();
	clearConverters();
}