3 #include <QCryptographicHash>
18 m_Process.setProcessChannelMode(QProcess::MergedChannels);
40 QByteArray hash = QCryptographicHash::hash(
m_TransferredFile, QCryptographicHash::Md5);
44 .arg(QString(hash.toHex())));
60 printMessage(tr(
"(%1) : \"%2\"").arg(line.count()).arg(QString(line)));
73 printMessage(tr(
"QxrdDetectorPilatusRemote::interpretLine(\"%1\")").arg(line));
75 if (line.startsWith(
"transfer:")) {
76 QStringList fields = line.split(QRegExp(
"\\s+"));
78 printMessage(tr(
"transfer: %1 args").arg(fields.count()));
80 foreach(QString f, fields) {
void interpretLine(QString line)
qint64 qcepDebug(int cond)
void connectToRemote(QString sshCmd)
QxrdDetectorPilatusRemote(QcepObject *owner)
QByteArray m_TransferredFile
void executeRemote(QString cmd)
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime()) const