GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • PythonQtCppWrapperFactory.h

This view

  • Original page
  • New address

GeezerVison is showing mevislab.github.io — PythonQt: PythonQtCppWrapperFactory Class Reference

PythonQt
Public Member Functions | List of all members
PythonQtCppWrapperFactory Class Referenceabstract

Factory interface for C++ classes that can be wrapped by QObject objects. More...

#include <PythonQtCppWrapperFactory.h>

Public Member Functions

 PythonQtCppWrapperFactory ()
virtual ~PythonQtCppWrapperFactory ()
virtual QObject * create (const QByteArray &classname, void *ptr)=0
 create a wrapper for the given object

Detailed Description

Factory interface for C++ classes that can be wrapped by QObject objects.

To create your own factory, derive PythonQtCppWrapperFactory and implement the create() method. A factory can be added to PythonQt by PythonQt::addCppWrapperFactory().

Definition at line 56 of file PythonQtCppWrapperFactory.h.

Constructor & Destructor Documentation

◆ PythonQtCppWrapperFactory()

PythonQtCppWrapperFactory::PythonQtCppWrapperFactory ( )
inline

Definition at line 60 of file PythonQtCppWrapperFactory.h.

60{};

◆ ~PythonQtCppWrapperFactory()

virtual PythonQtCppWrapperFactory::~PythonQtCppWrapperFactory ( )
inlinevirtual

Definition at line 61 of file PythonQtCppWrapperFactory.h.

61{};

Member Function Documentation

◆ create()

virtual QObject * PythonQtCppWrapperFactory::create ( const QByteArray & classname,
void * ptr )
pure virtual

create a wrapper for the given object


The documentation for this class was generated from the following file:
  • PythonQtCppWrapperFactory.h

Generated on for PythonQt by doxygen 1.15.0
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.