ZIMA CAD Parts
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Static Public Member Functions | List of all members
PtrVariant< T > Class Template Reference

A helpter template class to convert any pointer to QVariant and vice versa. More...

Static Public Member Functions

static T * asPtr (QVariant v)
 
static QVariant asQVariant (T *ptr)
 

Detailed Description

template<class T>
class PtrVariant< T >

A helpter template class to convert any pointer to QVariant and vice versa.

Member Function Documentation

template<class T >
static T* PtrVariant< T >::asPtr ( QVariant  v)
inlinestatic
template<class T >
static QVariant PtrVariant< T >::asQVariant ( T *  ptr)
inlinestatic

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