ObjQt  Diff

Differences From Artifact [f1590706d2]:

To Artifact [4e3baa2d62]:


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

#import "helpers.h"

using ObjQt::toOF;
using ObjQt::toQt;

@implementation QtAbstractButton
- initWithQWidget: (QWidget *)qWidget
{
	OF_INVALID_INIT_METHOD
}

- initWithQAbstractButton: (QAbstractButton *)qAbstractButton
{
	return [super initWithQWidget: qAbstractButton];
}

- (QAbstractButton *)qAbstractButton
{
	return qobject_cast<QAbstractButton *>(_qObject);







|




|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

#import "helpers.h"

using ObjQt::toOF;
using ObjQt::toQt;

@implementation QtAbstractButton
- (instancetype)initWithQWidget: (QWidget *)qWidget
{
	OF_INVALID_INIT_METHOD
}

- (instancetype)initWithQAbstractButton: (QAbstractButton *)qAbstractButton
{
	return [super initWithQWidget: qAbstractButton];
}

- (QAbstractButton *)qAbstractButton
{
	return qobject_cast<QAbstractButton *>(_qObject);