Changeset 651 for trunk/src/corelib/kernel/qobject.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/corelib/kernel/qobject.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 2946 2946 } 2947 2947 2948 2949 2948 /*!\internal 2950 2949 */ … … 2955 2954 return QMetaObjectPrivate::disconnect(sender, signal_index, 2956 2955 receiver, method_index); 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2957 2971 } 2958 2972 … … 2962 2976 bool QMetaObjectPrivate::disconnectHelper(QObjectPrivate::Connection *c, 2963 2977 const QObject *receiver, int method_index, 2964 QMutex *senderMutex )2978 QMutex *senderMutex) 2965 2979 { 2966 2980 bool success = false; … … 2988 3002 2989 3003 success = true; 3004 3005 3006 2990 3007 } 2991 3008 c = c->nextConnectionList; … … 2998 3015 */ 2999 3016 bool 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) 3001 3019 { 3002 3020 if (!sender) … … 3022 3040 QObjectPrivate::Connection *c = 3023 3041 (*connectionLists)[signal_index].first; 3024 if (disconnectHelper(c, receiver, method_index, senderMutex )) {3042 if (disconnectHelper(c, receiver, method_index, senderMutex)) { 3025 3043 success = true; 3026 3044 connectionLists->dirty = true; … … 3030 3048 QObjectPrivate::Connection *c = 3031 3049 (*connectionLists)[signal_index].first; 3032 if (disconnectHelper(c, receiver, method_index, senderMutex )) {3050 if (disconnectHelper(c, receiver, method_index, senderMutex)) { 3033 3051 success = true; 3034 3052 connectionLists->dirty = true;
Note:
See TracChangeset
for help on using the changeset viewer.