##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QFocusEvent.h
20 lines | 595 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFOCUSEVENT_H
#define PYTHONQTWRAPPER_QFOCUSEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QFocusEvent : public QObject
{ Q_OBJECT
public:
public slots:
QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason);
void delete_QFocusEvent(QFocusEvent* obj) { delete obj; }
bool gotFocus(QFocusEvent* theWrappedObject) const;
bool lostFocus(QFocusEvent* theWrappedObject) const;
Qt::FocusReason reason(QFocusEvent* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QFOCUSEVENT_H