##// 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_QStyleHintReturn.h
24 lines | 795 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSTYLEHINTRETURN_H
#define PYTHONQTWRAPPER_QSTYLEHINTRETURN_H
#include <qstyleoption.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QStyleHintReturn : public QObject
{ Q_OBJECT
public:
Q_ENUMS(HintReturnType StyleOptionVersion StyleOptionType )
enum HintReturnType{
SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant};
enum StyleOptionVersion{
Version = QStyleHintReturn::Version};
enum StyleOptionType{
Type = QStyleHintReturn::Type};
public slots:
QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default);
void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; }
};
#endif // PYTHONQTWRAPPER_QSTYLEHINTRETURN_H