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.cpp

    r769 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)
     
    5555#include "qdbusthreaddebug_p.h"
    5656
     57#ifndef QT_NO_DBUS
     58
    5759QT_BEGIN_NAMESPACE
    5860
     
    124126}
    125127
    126 QDBUS_EXPORT void qDBusBindToApplication();
     128Q_DBUS_EXPORT void qDBusBindToApplication();
    127129void qDBusBindToApplication()
    128130{
     
    139141    \relates QDBusConnection
    140142
    141     Returns a QDBusConnection object opened with the session bus. The object reference returned
    142     by this function is valid until the QCoreApplication's destructor is run, when the
    143     connection will be closed and the object, deleted.
     143    Returns a QDBusConnection object opened with the session bus. The object
     144    reference returned by this function is valid until the application terminates,
     145    at which point the connection will be closed and the object deleted.
    144146*/
    145147/*!
     
    172174    function.
    173175
     176    Once disconnected, calling connectToBus() will not reestablish a
     177    connection, you must create a new QDBusConnection instance.
     178
    174179    As a convenience for the two most common connection types, the
    175180    sessionBus() and systemBus() functions return open connections to
     
    208213    \value ExportScriptableSignals              export this object's scriptable signals
    209214    \value ExportScriptableProperties           export this object's scriptable properties
     215    \value ExportScriptableInvokables           export this object's scriptable invokables
    210216    \value ExportScriptableContents             shorthand form for ExportScriptableSlots |
    211217                                                ExportScriptableSignals |
     
    215221    \value ExportNonScriptableSignals           export this object's non-scriptable signals
    216222    \value ExportNonScriptableProperties        export this object's non-scriptable properties
     223    \value ExportNonScriptableInvokables        export this object's non-scriptable invokables
    217224    \value ExportNonScriptableContents          shorthand form for ExportNonScriptableSlots |
    218225                                                ExportNonScriptableSignals |
     
    222229    \value ExportAllSignals                     export all of this object's signals
    223230    \value ExportAllProperties                  export all of this object's properties
     231    \value ExportAllInvokables                  export all of this object's invokables
    224232    \value ExportAllContents                    export all of this object's contents
    225 
    226233    \value ExportChildObjects                   export this object's child objects
    227234
     
    852859/*!
    853860    Returns true if this QDBusConnection object is connected.
    854 
    855     If it isn't connected, calling connectToBus() on the same
    856     connection name will not make be connected. You need to call the
    857     QDBusConnection constructor again.
    858861*/
    859862bool QDBusConnection::isConnected() const
     
    915918/*!
    916919    Attempts to register the \a serviceName on the D-Bus server and
    917     returns true if the registration succeded. The registration will
     920    returns true if the registration succeeded. The registration will
    918921    fail if the name is already registered by another application.
    919922
     
    9971000{
    9981001    _q_manager()->setSender(s);
    999 }
    1000 
    1001 /*!
    1002   \internal
    1003 */
    1004 void QDBusConnectionPrivate::setConnection(const QString &name, QDBusConnectionPrivate *c)
    1005 {
    1006     _q_manager()->setConnection(name, c);
    10071002}
    10081003
     
    10491044
    10501045QT_END_NAMESPACE
     1046
     1047#endif // QT_NO_DBUS
Note: See TracChangeset for help on using the changeset viewer.