##// 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_QTextBlock.h
52 lines | 2.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCK_H
#define PYTHONQTWRAPPER_QTEXTBLOCK_H
#include <qtextobject.h>
#include <QObject>
#include <QTextBlock>
#include <QVariant>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextlayout.h>
#include <qtextlist.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextBlock : public QObject
{ Q_OBJECT
public:
public slots:
QTextBlock* new_QTextBlock();
QTextBlock* new_QTextBlock(const QTextBlock& o);
void delete_QTextBlock(QTextBlock* obj) { delete obj; }
QTextBlock::iterator begin(QTextBlock* theWrappedObject) const;
QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const;
int blockFormatIndex(QTextBlock* theWrappedObject) const;
int blockNumber(QTextBlock* theWrappedObject) const;
QTextCharFormat charFormat(QTextBlock* theWrappedObject) const;
int charFormatIndex(QTextBlock* theWrappedObject) const;
void clearLayout(QTextBlock* theWrappedObject);
bool contains(QTextBlock* theWrappedObject, int position) const;
const QTextDocument* document(QTextBlock* theWrappedObject) const;
QTextBlock::iterator end(QTextBlock* theWrappedObject) const;
bool isValid(QTextBlock* theWrappedObject) const;
bool isVisible(QTextBlock* theWrappedObject) const;
QTextLayout* layout(QTextBlock* theWrappedObject) const;
int length(QTextBlock* theWrappedObject) const;
QTextBlock next(QTextBlock* theWrappedObject) const;
bool operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const;
bool operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const;
int position(QTextBlock* theWrappedObject) const;
QTextBlock previous(QTextBlock* theWrappedObject) const;
int revision(QTextBlock* theWrappedObject) const;
void setRevision(QTextBlock* theWrappedObject, int rev);
void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data);
void setUserState(QTextBlock* theWrappedObject, int state);
void setVisible(QTextBlock* theWrappedObject, bool visible);
QString text(QTextBlock* theWrappedObject) const;
QTextList* textList(QTextBlock* theWrappedObject) const;
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const;
int userState(QTextBlock* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCK_H