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
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)
 
bool 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 548 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 587 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 588 of file qobjectdefs_impl.h.


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