##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
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