[maemo-developers] Open new browser window using Qt

From: Iñigo Illán Aranburu kodeport at terra.es
Date: Mon Jan 18 01:16:23 EET 2010
Hi! 

I want to open a new browser window programatically using Qt/C++. I have
this little piece of code which doesn't seem to work.

QDBusInterface browserProxy (OSSO_BROWSER_SERVICE,
OSSO_BROWSER_REQ_PATH, OSSO_BROWSER_REQ_INTERFACE,
QDBusConnection::systemBus());
browserProxy.call (OSSO_BROWSER_OPEN_NEW_WINDOW_REQ, url, true);

I can't make it work although it seems to me there's nothing wrong. I
have try both using session bus and system bus. Does someone see
something wrong here?


Bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100118/dc6e282a/attachment.htm>
More information about the maemo-developers mailing list