##// 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_QXmlStreamEntityResolver.h
38 lines | 1.5 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_core / PythonQtWrapper_QXmlStreamEntityResolver.h
#ifndef PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H
#define PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H
#include <qxmlstream.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver
{
public:
PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {};
virtual QString resolveEntity(const QString& publicId, const QString& systemId);
virtual QString resolveUndeclaredEntity(const QString& name);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver
{ public:
inline QString promoted_resolveEntity(const QString& publicId, const QString& systemId) { return QXmlStreamEntityResolver::resolveEntity(publicId, systemId); }
inline QString promoted_resolveUndeclaredEntity(const QString& name) { return QXmlStreamEntityResolver::resolveUndeclaredEntity(name); }
};
class PythonQtWrapper_QXmlStreamEntityResolver : public QObject
{ Q_OBJECT
public:
public slots:
QXmlStreamEntityResolver* new_QXmlStreamEntityResolver();
void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; }
QString resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId);
QString resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name);
};
#endif // PYTHONQTWRAPPER_QXMLSTREAMENTITYRESOLVER_H