##// 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_QShortcut.h
59 lines | 2.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSHORTCUT_H
#define PYTHONQTWRAPPER_QSHORTCUT_H
#include <qshortcut.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qkeysequence.h>
#include <qlist.h>
#include <qobject.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QShortcut : public QShortcut
{
public:
PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(NULL) {};
PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QShortcut : public QShortcut
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_event(QEvent* e) { return QShortcut::event(e); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QShortcut : public QObject
{ Q_OBJECT
public:
public slots:
QShortcut* new_QShortcut(QWidget* parent);
QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = 0, const char* ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut);
void delete_QShortcut(QShortcut* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool autoRepeat(QShortcut* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QWidget* parentWidget(QShortcut* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setAutoRepeat(QShortcut* theWrappedObject, bool on);
QKeySequence key(QShortcut* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setKey(QShortcut* theWrappedObject, const QKeySequence& key);
bool isEnabled(QShortcut* theWrappedObject) const;
void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context);
void setEnabled(QShortcut* theWrappedObject, bool enable);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setWhatsThis(QShortcut* theWrappedObject, const QString& text);
florianlink
upgraded wrappers to current generator version...
r28 QString whatsThis(QShortcut* theWrappedObject) const;
bool event(QShortcut* theWrappedObject, QEvent* e);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Qt::ShortcutContext context(QShortcut* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 int id(QShortcut* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSHORTCUT_H