Obsolete Members for QSerialPortInfo

The following members of class QSerialPortInfo are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

公有函数

(obsolete) bool isValid() const

成员函数

bool QSerialPortInfo::isValid() const

Returns true if serial port is present on system; otherwise returns false.

参见 isNull() and isBusy().