C++ (Qt)SerialPort::SerialPort(QObject *parent) : QIODevice(parent) , d_ptr(new SerialPortPrivate(this)){}
C++ (Qt)SerialPort::SerialPort(QObject *parent) : QObject(parent) , d_ptr(SerialPortPrivate::create(this)){}