Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsharedpointer.cpp File Reference

(5627e113793df3df24742d7af502a075c2c9e95d)

#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 1408 of file qsharedpointer.cpp.