PythonQtWrapper_QAccessibleInterface.h
49 lines
| 1.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H | ||
#define PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H | ||||
#include <qaccessible.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qaccessible.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qrect.h> | ||||
florianlink
|
r24 | class PythonQtShell_QAccessibleInterface : public QAccessibleInterface | ||
{ | ||||
public: | ||||
PythonQtShell_QAccessibleInterface():QAccessibleInterface(),_wrapper(NULL) {}; | ||||
virtual QString actionText(int action, QAccessible::Text t, int child) const; | ||||
virtual int childAt(int x, int y) const; | ||||
virtual int childCount() const; | ||||
virtual bool doAction(int action, int child, const QList<QVariant >& params = QVariantList()); | ||||
virtual int indexOfChild(const QAccessibleInterface* arg__1) const; | ||||
virtual bool isValid() const; | ||||
virtual int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface** iface) const; | ||||
virtual QObject* object() const; | ||||
virtual QRect rect(int child) const; | ||||
virtual QAccessible::Relation relationTo(int child, const QAccessibleInterface* other, int otherChild) const; | ||||
virtual QAccessible::Role role(int child) const; | ||||
virtual void setText(QAccessible::Text t, int child, const QString& text); | ||||
virtual QAccessible::State state(int child) const; | ||||
virtual QString text(QAccessible::Text t, int child) const; | ||||
virtual int userActionCount(int child) const; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QAccessibleInterface : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QAccessibleInterface* new_QAccessibleInterface(); | ||
florianlink
|
r13 | void delete_QAccessibleInterface(QAccessibleInterface* obj) { delete obj; } | ||
florianlink
|
r28 | QVariant invokeMethod(QAccessibleInterface* theWrappedObject, QAccessible::Method method, int child = 0, const QList<QVariant >& params = QVariantList()); | ||
florianlink
|
r73 | QSet<QAccessible::Method > supportedMethods(QAccessibleInterface* theWrappedObject); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QACCESSIBLEINTERFACE_H | ||||