Qt 4.8
Public Functions | List of all members
QReturnArgument< T > Class Template Reference

#include <qobjectdefs.h>

Inheritance diagram for QReturnArgument< T >:
QGenericReturnArgument QGenericArgument

Public Functions

 QReturnArgument (const char *aName, T &aData)
 
- Public Functions inherited from QGenericReturnArgument
 QGenericReturnArgument (const char *aName=0, void *aData=0)
 Constructs a QGenericReturnArgument object with the given name and data. More...
 
- Public Functions inherited from QGenericArgument
void * data () const
 Returns the data set in the constructor. More...
 
const char * name () const
 Returns the name set in the constructor. More...
 
 QGenericArgument (const char *aName=0, const void *aData=0)
 Constructs a QGenericArgument object with the given name and data. More...
 

Detailed Description

template<typename T>
class QReturnArgument< T >

Definition at line 296 of file qobjectdefs.h.

Constructors and Destructors

◆ QReturnArgument()

template<typename T >
QReturnArgument< T >::QReturnArgument ( const char *  aName,
T &  aData 
)
inline

Definition at line 299 of file qobjectdefs.h.

300  : QGenericReturnArgument(aName, static_cast<void *>(&aData))
301  {}
QGenericReturnArgument(const char *aName=0, void *aData=0)
Constructs a QGenericReturnArgument object with the given name and data.
Definition: qobjectdefs.h:272

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