Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/corelib/kernel/qobject.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    29462946}
    29472947
    2948 
    29492948/*!\internal
    29502949 */
     
    29552954    return QMetaObjectPrivate::disconnect(sender, signal_index,
    29562955                                          receiver, method_index);
     2956
     2957
     2958
     2959
     2960
     2961
     2962
     2963
     2964
     2965
     2966
     2967
     2968
     2969
     2970
    29572971}
    29582972
     
    29622976bool QMetaObjectPrivate::disconnectHelper(QObjectPrivate::Connection *c,
    29632977                                          const QObject *receiver, int method_index,
    2964                                           QMutex *senderMutex)
     2978                                          QMutex *senderMutex)
    29652979{
    29662980    bool success = false;
     
    29883002
    29893003            success = true;
     3004
     3005
     3006
    29903007        }
    29913008        c = c->nextConnectionList;
     
    29983015 */
    29993016bool QMetaObjectPrivate::disconnect(const QObject *sender, int signal_index,
    3000                                     const QObject *receiver, int method_index)
     3017                                    const QObject *receiver, int method_index,
     3018                                    DisconnectType disconnectType)
    30013019{
    30023020    if (!sender)
     
    30223040            QObjectPrivate::Connection *c =
    30233041                (*connectionLists)[signal_index].first;
    3024             if (disconnectHelper(c, receiver, method_index, senderMutex)) {
     3042            if (disconnectHelper(c, receiver, method_index, senderMutex)) {
    30253043                success = true;
    30263044                connectionLists->dirty = true;
     
    30303048        QObjectPrivate::Connection *c =
    30313049            (*connectionLists)[signal_index].first;
    3032         if (disconnectHelper(c, receiver, method_index, senderMutex)) {
     3050        if (disconnectHelper(c, receiver, method_index, senderMutex)) {
    30333051            success = true;
    30343052            connectionLists->dirty = true;
Note: See TracChangeset for help on using the changeset viewer.