LeechCraft 0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
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

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

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>
decltype(auto) LC::qobject_ref_cast (Src *obj, std::source_location loc=std::source_location::current())
template<typename Target, std::derived_from< QObject > Src>
decltype(auto) LC::qobject_ref_cast (Src &obj, std::source_location loc=std::source_location::current())