##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QTextFragment.h
29 lines | 1.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTFRAGMENT_H
#define PYTHONQTWRAPPER_QTEXTFRAGMENT_H
#include <qtextobject.h>
#include <QObject>
#include <QVariant>
#include <qtextformat.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextFragment : public QObject
{ Q_OBJECT
public:
public slots:
QTextFragment* new_QTextFragment();
QTextFragment* new_QTextFragment(const QTextFragment& o);
void delete_QTextFragment(QTextFragment* obj) { delete obj; }
QTextCharFormat charFormat(QTextFragment* theWrappedObject) const;
int charFormatIndex(QTextFragment* theWrappedObject) const;
bool contains(QTextFragment* theWrappedObject, int position) const;
bool isValid(QTextFragment* theWrappedObject) const;
int length(QTextFragment* theWrappedObject) const;
bool operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const;
bool operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const;
int position(QTextFragment* theWrappedObject) const;
QString text(QTextFragment* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTFRAGMENT_H