##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QContextMenuEvent.h
30 lines | 1.3 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QContextMenuEvent.h
#ifndef PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H
#define PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qpoint.h>
class PythonQtWrapper_QContextMenuEvent : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Reason )
enum Reason{
Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other};
public slots:
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos);
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos);
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers);
void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; }
const QPoint& globalPos(QContextMenuEvent* theWrappedObject) const;
int globalX(QContextMenuEvent* theWrappedObject) const;
int globalY(QContextMenuEvent* theWrappedObject) const;
const QPoint& pos(QContextMenuEvent* theWrappedObject) const;
QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const;
int x(QContextMenuEvent* theWrappedObject) const;
int y(QContextMenuEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H