67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
@end
namespace ObjQt {
static OF_INLINE QtAction *
toOF(QAction *qAction)
{
return [[[QtAction alloc] initWithQAction: qAction] autorelease];
}
static OF_INLINE QAction *
toQt(QtAction *action)
{
return [action qAction];
|
>
>
>
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
@end
namespace ObjQt {
static OF_INLINE QtAction *
toOF(QAction *qAction)
{
if (qAction == NULL)
return nil;
return [[[QtAction alloc] initWithQAction: qAction] autorelease];
}
static OF_INLINE QAction *
toQt(QtAction *action)
{
return [action qAction];
|