Hi all,

In objC i can create custom object like this


Car.h

@interface Car

@property (nonatomic) NSString *make;
@property (nonatomic) NSString *model;

@end

-(id)init;

Car.m

@interface Car

@implementation

-(id)init {
self = [super init];
if (self) {

}
return self;
}

@end


Question is how to make similar thing in Qt (in c++ i guess)