##// 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_QShortcutEvent.h
21 lines | 656 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSHORTCUTEVENT_H
#define PYTHONQTWRAPPER_QSHORTCUTEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qkeysequence.h>
class PythonQtWrapper_QShortcutEvent : public QObject
{ Q_OBJECT
public:
public slots:
QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false);
void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; }
bool isAmbiguous(QShortcutEvent* theWrappedObject) const;
const QKeySequence& key(QShortcutEvent* theWrappedObject) const;
int shortcutId(QShortcutEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSHORTCUTEVENT_H