SourceForge.net Logo
Public Types | Public Member Functions | Public Attributes

PythonQtMemberInfo Struct Reference

#include <PythonQtClassInfo.h>

List of all members.

Public Types

enum  Type {
  Invalid, Slot, EnumValue, EnumWrapper,
  Property, NotFound
}

Public Member Functions

 PythonQtMemberInfo ()
 PythonQtMemberInfo (PythonQtSlotInfo *info)
 PythonQtMemberInfo (const PythonQtObjectPtr &enumValue)
 PythonQtMemberInfo (const QMetaProperty &prop)

Public Attributes

Type _type
PythonQtSlotInfo_slot
PyObject_enumWrapper
PythonQtObjectPtr _enumValue
QMetaProperty _property

Detailed Description

Definition at line 45 of file PythonQtClassInfo.h.


Member Enumeration Documentation

Enumerator:
Invalid 
Slot 
EnumValue 
EnumWrapper 
Property 
NotFound 

Definition at line 46 of file PythonQtClassInfo.h.

            {
    Invalid, Slot, EnumValue, EnumWrapper, Property, NotFound 
  };


Constructor & Destructor Documentation

PythonQtMemberInfo::PythonQtMemberInfo (  )  [inline]

Definition at line 50 of file PythonQtClassInfo.h.

:_type(Invalid),_slot(NULL),_enumWrapper(NULL),_enumValue(0) { }

PythonQtMemberInfo::PythonQtMemberInfo ( PythonQtSlotInfo info  )  [inline]

Definition at line 52 of file PythonQtClassInfo.h.

References _enumValue, _slot, and _type.

                                             {
    _type = Slot;
    _slot = info;
    _enumValue = NULL;
  }

PythonQtMemberInfo::PythonQtMemberInfo ( const PythonQtObjectPtr enumValue  )  [inline]

Definition at line 58 of file PythonQtClassInfo.h.

References _enumValue, _enumWrapper, _slot, and _type.

                                                         {
    _type = EnumValue;
    _slot = NULL;
    _enumValue = enumValue;
    _enumWrapper = NULL;
  }

PythonQtMemberInfo::PythonQtMemberInfo ( const QMetaProperty &  prop  )  [inline]

Definition at line 65 of file PythonQtClassInfo.h.

References _enumValue, _enumWrapper, _property, _slot, and _type.

                                                {
    _type = Property;
    _slot = NULL;
    _enumValue = NULL;
    _property = prop;
    _enumWrapper = NULL;
  }


Member Data Documentation

Definition at line 78 of file PythonQtClassInfo.h.

Referenced by PythonQtMemberInfo().

Definition at line 77 of file PythonQtClassInfo.h.

Referenced by PythonQtMemberInfo().

Definition at line 79 of file PythonQtClassInfo.h.

Referenced by PythonQtMemberInfo().

Definition at line 76 of file PythonQtClassInfo.h.

Referenced by PythonQtMemberInfo().

Definition at line 73 of file PythonQtClassInfo.h.

Referenced by PythonQtMemberInfo().


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