Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtPrivate::QCallableObject< Func, Args, R > Class Template Reference

#include <qobjectdefs_impl.h>

+ Inheritance diagram for QtPrivate::QCallableObject< Func, Args, R >:
+ Collaboration diagram for QtPrivate::QCallableObject< Func, Args, R >:

Public Member Functions

 QCallableObject (Func &&f)
 
 QCallableObject (const Func &f)
 
- Public Member Functions inherited from QtPrivate::QSlotObjectBase
 QSlotObjectBase (ImplFn fn)
 
int ref () noexcept
 
void destroyIfLastRef () noexcept
 
bool compare (void **a)
 
void call (QObject *r, void **a)
 
bool isImpl (ImplFn f) const
 

Additional Inherited Members

- Protected Types inherited from QtPrivate::QSlotObjectBase
enum  Operation { Destroy , Call , Compare , NumOperations }
 
- Protected Member Functions inherited from QtPrivate::QSlotObjectBase
 ~QSlotObjectBase ()
 

Detailed Description

template<typename Func, typename Args, typename R>
class QtPrivate::QCallableObject< Func, Args, R >

Definition at line 445 of file qobjectdefs_impl.h.

Constructor & Destructor Documentation

◆ QCallableObject() [1/2]

template<typename Func , typename Args , typename R >
QtPrivate::QCallableObject< Func, Args, R >::QCallableObject ( Func &&  f)
inlineexplicit

Definition at line 487 of file qobjectdefs_impl.h.

◆ QCallableObject() [2/2]

template<typename Func , typename Args , typename R >
QtPrivate::QCallableObject< Func, Args, R >::QCallableObject ( const Func &  f)
inlineexplicit

Definition at line 488 of file qobjectdefs_impl.h.


The documentation for this class was generated from the following file: