##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QTextListFormat.h
30 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTLISTFORMAT_H
#define PYTHONQTWRAPPER_QTEXTLISTFORMAT_H
#include <qtextformat.h>
#include <QObject>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
class PythonQtWrapper_QTextListFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Style )
enum Style{
ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListStyleUndefined = QTextListFormat::ListStyleUndefined};
public slots:
QTextListFormat* new_QTextListFormat();
void delete_QTextListFormat(QTextListFormat* obj) { delete obj; }
int indent(QTextListFormat* theWrappedObject) const;
bool isValid(QTextListFormat* theWrappedObject) const;
void setIndent(QTextListFormat* theWrappedObject, int indent);
void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style);
QTextListFormat::Style style(QTextListFormat* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTLISTFORMAT_H