Update to recent ObjFW changes
This commit is contained in:
parent
ba805dab97
commit
1e5a65195e
28 changed files with 341 additions and 331 deletions
|
@ -38,20 +38,21 @@
|
|||
@property QKeySequence shortcut;
|
||||
@property (copy) OFString *text;
|
||||
|
||||
- initWithQAbstractButton: (QAbstractButton*)qAbstractButton;
|
||||
- (QButtonGroup*)group;
|
||||
- initWithQWidget: (QWidget *)qWidget OF_UNAVAILABLE;
|
||||
- initWithQAbstractButton: (QAbstractButton *)qAbstractButton;
|
||||
- (QButtonGroup *)group;
|
||||
@end
|
||||
|
||||
namespace ObjQt {
|
||||
|
||||
static OF_INLINE QtAbstractButton*
|
||||
static OF_INLINE QtAbstractButton *
|
||||
toOF(QAbstractButton *qAbstractButton)
|
||||
{
|
||||
return [[[QtAbstractButton alloc]
|
||||
initWithQAbstractButton: qAbstractButton] autorelease];
|
||||
}
|
||||
|
||||
static OF_INLINE QAbstractButton*
|
||||
static OF_INLINE QAbstractButton *
|
||||
toQt(QtAbstractButton *abstractButton)
|
||||
{
|
||||
return [abstractButton qAbstractButton];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue