Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: DBus Qt bindings: msg#00061

freedesktop.dbus

Subject: Re: DBus Qt bindings

On Tuesday 27 January 2004 20:34, Peter Hawkins wrote:
> My first approximation to this is:
> extern "C" {
> void dbus_connection_setup_with_qt_main (DBusConnection *connection)
> {
> // FIXME: actually store the integrator somewhere and dispose of it
> as // necessary =)
> new DBusQt::Internal::Integrator(connection, NULL);
> }
> }

Integrator is internal to the bindings. I don't see a reason for
exposing it really.

> Unfortunately this doesn't seem to work - I tried a modified version
> of tools/dbus-monitor using this function and a QApplication but no
> messages seem to be delivered. My suspicion is that
> dbus_connection_dispatch() is not being called.
>
> Any suggestions?

Of course they're not delivered because you don't have a connection.
Connection dispatches messages.

Zack



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo