其他分享
首页 > 其他分享> > qt父类的英文定义

qt父类的英文定义

作者:互联网

The parent argument is also added to the constructor as a convenience
because QObject has a function, setParent, which can be used to assign an object instance to
a parent after creation. However, it is common—and recommended—to pass the parent as
an argument to the constructor as the first default argument to avoid having to type setParent
for each instance created from the class.

标签:because,qt,parent,setParent,argument,instance,英文,constructor,父类
来源: https://blog.csdn.net/xxzhaoming/article/details/118752625