##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QTextBlock.h
54 lines | 2.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCK_H
#define PYTHONQTWRAPPER_QTEXTBLOCK_H
#include <qtextobject.h>
#include <QObject>
#include <PythonQt.h>
#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; }
QString text(QTextBlock* theWrappedObject) const;
void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data);
QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const;
int position(QTextBlock* theWrappedObject) const;
QTextBlock::iterator end(QTextBlock* theWrappedObject) const;
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const;
bool operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const;
QTextBlock::iterator begin(QTextBlock* theWrappedObject) const;
int revision(QTextBlock* theWrappedObject) const;
void setUserState(QTextBlock* theWrappedObject, int state);
int userState(QTextBlock* theWrappedObject) const;
int charFormatIndex(QTextBlock* theWrappedObject) const;
QTextLayout* layout(QTextBlock* theWrappedObject) const;
void setRevision(QTextBlock* theWrappedObject, int rev);
const QTextDocument* document(QTextBlock* theWrappedObject) const;
bool contains(QTextBlock* theWrappedObject, int position) const;
QTextCharFormat charFormat(QTextBlock* theWrappedObject) const;
bool isValid(QTextBlock* theWrappedObject) const;
bool operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const;
QTextBlock previous(QTextBlock* theWrappedObject) const;
void setVisible(QTextBlock* theWrappedObject, bool visible);
int blockNumber(QTextBlock* theWrappedObject) const;
int length(QTextBlock* theWrappedObject) const;
void clearLayout(QTextBlock* theWrappedObject);
bool isVisible(QTextBlock* theWrappedObject) const;
QTextBlock next(QTextBlock* theWrappedObject) const;
QTextList* textList(QTextBlock* theWrappedObject) const;
int blockFormatIndex(QTextBlock* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCK_H