##// END OF EJS Templates
added new tests for new PythonQt features...
added new tests for new PythonQt features git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@73 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r37:5bd99c632a3f
Show More
PythonQtWrapper_QDropEvent.cpp
64 lines | 1.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QDropEvent.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qmimedata.h>
#include <qpoint.h>
#include <qwidget.h>
QDropEvent* PythonQtWrapper_QDropEvent::new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type)
{
return new PythonQtShell_QDropEvent(pos, actions, data, buttons, modifiers, type); }
Qt::MouseButtons PythonQtWrapper_QDropEvent::mouseButtons(QDropEvent* theWrappedObject) const
{
return theWrappedObject->mouseButtons();
}
void PythonQtWrapper_QDropEvent::acceptProposedAction(QDropEvent* theWrappedObject)
{
theWrappedObject->acceptProposedAction();
}
Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const
{
return theWrappedObject->proposedAction();
}
QWidget* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const
{
return theWrappedObject->source();
}
const QPoint& PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const
{
return theWrappedObject->pos();
}
Qt::DropAction PythonQtWrapper_QDropEvent::dropAction(QDropEvent* theWrappedObject) const
{
return theWrappedObject->dropAction();
}
Qt::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const
{
return theWrappedObject->possibleActions();
}
const QMimeData* PythonQtWrapper_QDropEvent::mimeData(QDropEvent* theWrappedObject) const
{
return theWrappedObject->mimeData();
}
Qt::KeyboardModifiers PythonQtWrapper_QDropEvent::keyboardModifiers(QDropEvent* theWrappedObject) const
{
return theWrappedObject->keyboardModifiers();
}
void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action)
{
theWrappedObject->setDropAction(action);
}