On 03/23/2010 11:02 PM, Zhang, Xing Z wrote:
Hi Marius:
I am trying to write a provider for properties “Screen.TopEdge” and
“Screen.IsCoevered”. When provider starting, it complains “Connecting
to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)”.
From the contextkit-commander, TopEdge/IsCoverded show UNKNOWN and no
provider listed in last column.
I use C-API of libcontextprovider, the code is quite simple:
const char* screen_group[] = {
"Screen.TopEdge",
"Screen.IsCovered",
NULL,
};
context_provider_init (DBUS_BUS_SESSION,
"com.intel.meego.provider");
context_provider_install_group ((char**)screen_group, TRUE,
screen_group_cb, NULL);
………………………..
context_provider_set_string ("Screen.TopEdge", "top");
/* set others when properly */
I am not sure what “deprecated signal” means. Does it indicate
TopEdge/IsCoverded properties are not valid to contextkit? If so,
what replacements for them?
one more thing, will context-commander monitor runtime change of each
property? I assume it will.
I don't think the warning has anything to do with the content (i.e. your
specific signal), but to the
/QDBusConnectionInterface/::/serviceOwnerChanged/ method provided by
dbus. I can see that qt4 is taking advantage of this deprecated method
all over the place, and causing this warning from many applications.
--rusty
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev