##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QEvent.cpp
46 lines | 1.0 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QEvent.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type)
{
return new PythonQtShell_QEvent(type); }
bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const
{
return theWrappedObject->isAccepted();
}
void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted)
{
theWrappedObject->setAccepted(accepted);
}
void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject)
{
theWrappedObject->ignore();
}
int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint)
{
return QEvent::registerEventType(hint);
}
bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const
{
return theWrappedObject->spontaneous();
}
void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject)
{
theWrappedObject->accept();
}
QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const
{
return theWrappedObject->type();
}