##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
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();
}