##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QShortcutEvent.h
32 lines | 939 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSHORTCUTEVENT_H
#define PYTHONQTWRAPPER_QSHORTCUTEVENT_H
#include <qevent.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qkeysequence.h>
class PythonQtShell_QShortcutEvent : public QShortcutEvent
{
public:
PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
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