Worked much on the Medialib.

This commit is contained in:
Tobias Rundstrom 2006-03-06 00:34:28 -03:00
parent 28f9bd246b
commit b7d5afc0ca
18 changed files with 737 additions and 155 deletions

View file

@ -261,11 +261,12 @@ XMMSHandler::PropDictToQHash (XMMSResultDict *res)
return h;
}
void
uint
XMMSHandler::medialibQuery (QString q)
{
XMMSResultDictList *r = m_xmmsc->medialib_select (q.toUtf8 ());
r->connect (sigc::mem_fun (this, &XMMSHandler::medialib_select));
return r->getCID ();
}
void
@ -278,7 +279,7 @@ XMMSHandler::medialib_select (XMMSResultDictList *res)
l.append (h);
}
emit medialibResponse (l);
emit medialibResponse (res->getCID (), l);
}
void