Fix overloading, add writeCommand(QString cmd, const char *param)