UID:83532
UID:86314
UID:45495
UID:7394
引用楼主iiiyyyhhhsss于2010-05-29 15:14发表的 QVariant的疑惑 :QVariant主要用于什么场合?即为什么会有这样一个类?
Because C++ forbids unions from including types that have non-default constructors or destructors, most interesting Qt classes cannot be used in unions. Without QVariant, this would be a problem for QObject::property() and for database work, etc.
引用楼主iiiyyyhhhsss于2010-05-29 15:14发表的 QVariant的疑惑 :到底QVariant vv=123; 和 QVariant vv="123"; 有什么区别?我发现他们toInt() , toString() , toByteArray()等等出来的结果 都是一样的..........
UID:88244
UID:96114
UID:115775