SourceForge.net Logo

PythonQtClassInfo Class Reference

a class that stores all required information about a Qt object (and an optional associated C++ class name) More...

#include <PythonQtClassInfo.h>

List of all members.

Public Member Functions

 PythonQtClassInfo (const QMetaObject *meta, const QByteArray &wrappedClassName=QByteArray())
 ~PythonQtClassInfo ()
PythonQtMemberInfo member (const char *member)
 get the Python method definition for a given slot name (without return type and signature)
PythonQtSlotInfoconstructors ()
const char * className ()
 get the Qt classname
const QByteArray & wrappedCPPClassName ()
 get the classname of the wrapped C++ class
bool isCPPWrapper ()
 returns if the object is a CPP wrapper
const QMetaObject * metaObject ()
 get the meta object
void setMetaObject (const QMetaObject *meta)
 set the meta object, this will reset the caching
bool inherits (const char *name)
 returns if the meta object inherits the given classname
QString help ()
 get help string for the metaobject
QStringList memberList (bool metaOnly=false)
 get list of all members


Detailed Description

a class that stores all required information about a Qt object (and an optional associated C++ class name)

for fast lookup of slots when calling the object from Python

Definition at line 79 of file PythonQtClassInfo.h.


Constructor & Destructor Documentation

PythonQtClassInfo::PythonQtClassInfo ( const QMetaObject *  meta,
const QByteArray &  wrappedClassName = QByteArray() 
)

PythonQtClassInfo::~PythonQtClassInfo (  ) 


Member Function Documentation

const char* PythonQtClassInfo::className (  ) 

get the Qt classname

PythonQtSlotInfo* PythonQtClassInfo::constructors (  ) 

QString PythonQtClassInfo::help (  ) 

get help string for the metaobject

bool PythonQtClassInfo::inherits ( const char *  name  ) 

returns if the meta object inherits the given classname

bool PythonQtClassInfo::isCPPWrapper (  )  [inline]

returns if the object is a CPP wrapper

Definition at line 98 of file PythonQtClassInfo.h.

00098 { return !_wrappedClassName.isEmpty(); }

PythonQtMemberInfo PythonQtClassInfo::member ( const char *  member  ) 

get the Python method definition for a given slot name (without return type and signature)

QStringList PythonQtClassInfo::memberList ( bool  metaOnly = false  ) 

get list of all members

const QMetaObject* PythonQtClassInfo::metaObject (  )  [inline]

get the meta object

Definition at line 101 of file PythonQtClassInfo.h.

00101 { return _meta; }

void PythonQtClassInfo::setMetaObject ( const QMetaObject *  meta  ) 

set the meta object, this will reset the caching

const QByteArray& PythonQtClassInfo::wrappedCPPClassName (  ) 

get the classname of the wrapped C++ class


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

Generated on Tue Mar 31 15:35:32 2009 for PythonQt by  doxygen 1.5.8