Make toOF/toQt more powerful and complete QtWidget
This commit is contained in:
parent
b37c5f6fc5
commit
d8f3aa90ec
24 changed files with 1047 additions and 385 deletions
|
@ -35,3 +35,20 @@
|
|||
- initWithType: (QChildEvent::Type)type
|
||||
child: (QtObject*)child;
|
||||
@end
|
||||
|
||||
namespace ObjQt {
|
||||
|
||||
static OF_INLINE QtChildEvent*
|
||||
toOF(QChildEvent *qChildEvent)
|
||||
{
|
||||
return [[[QtChildEvent alloc]
|
||||
initWithQChildEvent: qChildEvent] autorelease];
|
||||
}
|
||||
|
||||
static OF_INLINE QChildEvent*
|
||||
toQt(QtChildEvent *childEvent)
|
||||
{
|
||||
return [childEvent qChildEvent];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue