Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/dbus/qdbusconnection_p.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    7171
    7272#include <qdbusmessage.h>
     73
     74#ifndef QT_NO_DBUS
    7375
    7476QT_BEGIN_NAMESPACE
     
    159161    struct WatchedServiceData {
    160162        WatchedServiceData() : refcount(0) {}
     163        WatchedServiceData(const QString &owner, int refcount = 0)
     164            : owner(owner), refcount(refcount)
     165        {}
    161166        QString owner;
    162167        int refcount;
     
    199204                         const QString &path, const QString &interface,
    200205                         QDBusAbstractInterface *receiver, const char *signal);
     206    void registerService(const QString &serviceName);
     207    void unregisterService(const QString &serviceName);
    201208
    202209    bool handleMessage(const QDBusMessage &msg);
     
    243250    void objectDestroyed(QObject *o);
    244251    void relaySignal(QObject *obj, const QMetaObject *, int signalId, const QVariantList &args);
    245     void _q_serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner);
    246     void registerService(const QString &serviceName);
    247     void unregisterService(const QString &serviceName);
     252
     253private slots:
     254    void serviceOwnerChangedNoLock(const QString &name, const QString &oldOwner, const QString &newOwner);
     255    void registerServiceNoLock(const QString &serviceName);
     256    void unregisterServiceNoLock(const QString &serviceName);
    248257
    249258signals:
     
    299308                            bool buildSignature);
    300309    static DBusHandlerResult messageFilter(DBusConnection *, DBusMessage *, void *);
     310    static bool checkReplyForDelivery(QDBusConnectionPrivate *target, QObject *object,
     311                                      int idx, const QList<int> &metaTypes,
     312                                      const QDBusMessage &msg);
    301313    static QDBusCallDeliveryEvent *prepareReply(QDBusConnectionPrivate *target, QObject *object,
    302314                                                int idx, const QList<int> &metaTypes,
     
    308320
    309321    static void setSender(const QDBusConnectionPrivate *s);
    310     static void setConnection(const QString &name, QDBusConnectionPrivate *c);
    311322
    312323    friend class QDBusActivateObjectEvent;
     
    332343QT_END_NAMESPACE
    333344
     345#endif // QT_NO_DBUS
    334346#endif
Note: See TracChangeset for help on using the changeset viewer.