##// 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_QFontInfo.h
35 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFONTINFO_H
#define PYTHONQTWRAPPER_QFONTINFO_H
#include <qfontinfo.h>
#include <QObject>
#include <QVariant>
#include <qfont.h>
#include <qfontinfo.h>
class PythonQtWrapper_QFontInfo : public QObject
{ Q_OBJECT
public:
public slots:
QFontInfo* new_QFontInfo(const QFont& arg__1);
QFontInfo* new_QFontInfo(const QFontInfo& arg__1);
void delete_QFontInfo(QFontInfo* obj) { delete obj; }
bool bold(QFontInfo* theWrappedObject) const;
bool exactMatch(QFontInfo* theWrappedObject) const;
QString family(QFontInfo* theWrappedObject) const;
bool fixedPitch(QFontInfo* theWrappedObject) const;
bool italic(QFontInfo* theWrappedObject) const;
bool overline(QFontInfo* theWrappedObject) const;
int pixelSize(QFontInfo* theWrappedObject) const;
int pointSize(QFontInfo* theWrappedObject) const;
qreal pointSizeF(QFontInfo* theWrappedObject) const;
bool rawMode(QFontInfo* theWrappedObject) const;
bool strikeOut(QFontInfo* theWrappedObject) const;
QFont::Style style(QFontInfo* theWrappedObject) const;
QFont::StyleHint styleHint(QFontInfo* theWrappedObject) const;
bool underline(QFontInfo* theWrappedObject) const;
int weight(QFontInfo* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QFONTINFO_H