data: split off inner classes of SearchIndex

This commit is contained in:
Eberhard Graether
2014-10-28 22:06:22 +01:00
parent 86f4629b0d
commit 2c84bf20ed
32 changed files with 723 additions and 670 deletions
@@ -18,10 +18,11 @@ void SearchController::handleMessage(MessageActivateToken* message)
{
if (!m_ignoreNextMessageActivateToken && message->tokenId)
{
std::string name = m_graphAccess->getNameForNodeWithId(message->tokenId);
std::stringstream ss;
ss << '"' << name << ',' << message->tokenId << '"';
getView()->setText(ss.str());
SearchMatch match;
match.fullName = m_graphAccess->getNameForNodeWithId(message->tokenId);
match.tokenIds.insert(message->tokenId);
getView()->setText(match.encodeForQuery());
}
m_ignoreNextMessageActivateToken = false;