##// 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_QKeyEvent.h
29 lines | 1.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QKEYEVENT_H
#define PYTHONQTWRAPPER_QKEYEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qevent.h>
class PythonQtWrapper_QKeyEvent : public QObject
{ Q_OBJECT
public:
public slots:
QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1);
void delete_QKeyEvent(QKeyEvent* obj) { delete obj; }
int count(QKeyEvent* theWrappedObject) const;
QKeyEvent* static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1);
bool hasExtendedInfo(QKeyEvent* theWrappedObject) const;
bool isAutoRepeat(QKeyEvent* theWrappedObject) const;
int key(QKeyEvent* theWrappedObject) const;
bool matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const;
Qt::KeyboardModifiers modifiers(QKeyEvent* theWrappedObject) const;
unsigned int nativeModifiers(QKeyEvent* theWrappedObject) const;
unsigned int nativeScanCode(QKeyEvent* theWrappedObject) const;
unsigned int nativeVirtualKey(QKeyEvent* theWrappedObject) const;
QString text(QKeyEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QKEYEVENT_H