src/dbus/qdbusserver.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    67     d = new QDBusConnectionPrivate(this);
    67     d = new QDBusConnectionPrivate(this);
    68 
    68 
    69     if (address.isEmpty())
    69     if (address.isEmpty())
    70         return;
    70         return;
    71 
    71 
    72     QObject::connect(d, SIGNAL(newServerConnection(const QDBusConnection &)),
    72     QObject::connect(d, SIGNAL(newServerConnection(QDBusConnection)),
    73                      this, SIGNAL(newConnection(const QDBusConnection &)));
    73                      this, SIGNAL(newConnection(QDBusConnection)));
    74 
    74 
    75     // server = q_dbus_server_listen( "unix:tmpdir=/tmp", &error);
    75     // server = q_dbus_server_listen( "unix:tmpdir=/tmp", &error);
    76     QDBusErrorInternal error;
    76     QDBusErrorInternal error;
    77     d->setServer(q_dbus_server_listen(address.toUtf8().constData(), error), error);
    77     d->setServer(q_dbus_server_listen(address.toUtf8().constData(), error), error);
    78 }
    78 }