25 lines
858 B
C++
25 lines
858 B
C++
#include "process/show_software_status_command.h"
|
|
#include "worker.h"
|
|
|
|
|
|
ShowSoftwareStatusCommand::ShowSoftwareStatusCommand(QString const &command,
|
|
Worker *worker,
|
|
int start_timeout,
|
|
int finish_timeout)
|
|
: UpdateCommand(command, worker, start_timeout, finish_timeout) {
|
|
}
|
|
|
|
void ShowSoftwareStatusCommand::readyReadStandardOutput() {
|
|
//QProcess *p = (QProcess *)sender();
|
|
//if (p) {
|
|
// QString s = p->readAllStandardOutput();
|
|
//
|
|
// TODO
|
|
// Worker *w = worker();
|
|
//if (w) {
|
|
// static constexpr const char *EXEC_OPKG_COMMANDS_SUCCESS{"success"};
|
|
// emit w->showExecOpkgStatus(UpdateCommand::EXEC_OPKG_COMMANDS_SUCCESS);
|
|
// }
|
|
//}
|
|
}
|