Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsharedpointer.cpp File Reference

(4f3142bfce0c64d023299f142d14e60ec577b698)

#include "qsharedpointer.h"
#include "qshareddata.h"
#include <qset.h>
#include <qmutex.h>
#include "private/qobject_p.h"
+ Include dependency graph for qsharedpointer.cpp:

Go to the source code of this file.

Classes

struct  QT_END_NAMESPACE::Data
 
class  QT_END_NAMESPACE::KnownPointers
 

Namespaces

namespace  QT_END_NAMESPACE
 
namespace  QtSharedPointer
 

Functions

QT_BEGIN_NAMESPACE QT6_ONLY (void QtSharedPointer::ExternalRefCountData::setQObjectShared(const QObject *, bool) {}) QT6_ONLY(void QtSharedPointer
 
Q_AUTOTEST_EXPORT void QtSharedPointer::internalSafetyCheckCleanCheck ()
 

Function Documentation

◆ QT6_ONLY()

This function is called when a QSharedPointer is created from a QWeakPointer

We check that the QWeakPointer was really created from a QSharedPointer, and not from a QObject.

Definition at line 1423 of file qsharedpointer.cpp.