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.

Thank you.

Zhang Xin(Wing)
Intel(SSG/OTC) ShangHai China

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to