LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
qobjectrefcast.h File Reference
#include <concepts>
#include <source_location>
#include <stdexcept>
#include <QObject>
#include "sllconfig.h"
+ Include dependency graph for qobjectrefcast.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Util::BadQObjectCast
 

Namespaces

 LC::Util
 
 LC::Util::detail
 
 LC
 

Functions

void LC::Util::detail::NotifyCastError (const QObject *object, const char *target, const std::source_location &loc)
 
template<typename Target , std::derived_from< QObject > Src>
 LC::requires (!std::is_pointer_v< Target >) decltype(auto) qobject_ref_cast(Src *obj
 
std::source_location std::derived_from< QObject > Src LC::requires (!std::is_pointer_v< Target >) decltype(auto) qobject_ref_cast(Src &obj
 

Variables

std::source_location LC::loc