##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
Show More
PythonQtWrapper_QTextList.h
34 lines | 1.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTLIST_H
#define PYTHONQTWRAPPER_QTEXTLIST_H
#include <qtextlist.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextlist.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextList : public QObject
{ Q_OBJECT
public:
public slots:
QTextList* new_QTextList(QTextDocument* doc);
void delete_QTextList(QTextList* obj) { delete obj; }
void add(QTextList* theWrappedObject, const QTextBlock& block);
int count(QTextList* theWrappedObject) const;
QTextListFormat format(QTextList* theWrappedObject) const;
QTextBlock item(QTextList* theWrappedObject, int i) const;
int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
void remove(QTextList* theWrappedObject, const QTextBlock& arg__1);
void removeItem(QTextList* theWrappedObject, int i);
void setFormat(QTextList* theWrappedObject, const QTextListFormat& format);
};
#endif // PYTHONQTWRAPPER_QTEXTLIST_H