qt 之 QObject

来源:互联网 发布:php sql 防注入函数 编辑:程序博客网 时间:2024/05/18 00:50

1) 类型转化

You can use qobject_cast<MyClass*>(instance) on QObject derived classes and check the return value. If instance cannot be cast to MyClass*, the return value will be NULL

2)QObject 私有拷贝构造函数,和赋值操作


0 0