equal
deleted
inserted
replaced
97 argument must be either a const reference or a pointer to an instance of |
97 argument must be either a const reference or a pointer to an instance of |
98 the class. Passing by const reference is useful when calling const member |
98 the class. Passing by const reference is useful when calling const member |
99 functions; passing by pointer is useful for calling non-const member |
99 functions; passing by pointer is useful for calling non-const member |
100 functions that modify the instance. |
100 functions that modify the instance. |
101 |
101 |
102 For example, calling QString::split() (a const member function) in a |
102 For example, calling QByteArray::split() (a const member function) in a |
103 separate thread is done like this: |
103 separate thread is done like this: |
104 |
104 |
105 \snippet doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp 4 |
105 \snippet doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp 4 |
106 |
106 |
107 Calling a non-const member function is done like this: |
107 Calling a non-const member function is done like this: |