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

#include <qobjectdefs.h>

Inheritance diagram for QArgument< T >:
QGenericArgument

Public Functions

 QArgument (const char *aName, const T &aData)
 
- 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<class T>
class QArgument< T >

Definition at line 278 of file qobjectdefs.h.

Constructors and Destructors

◆ QArgument()

template<class T >
QArgument< T >::QArgument ( const char *  aName,
const T &  aData 
)
inline

Definition at line 281 of file qobjectdefs.h.

282  : QGenericArgument(aName, static_cast<const void *>(&aData))
283  {}
QGenericArgument(const char *aName=0, const void *aData=0)
Constructs a QGenericArgument object with the given name and data.
Definition: qobjectdefs.h:259

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