connect(proc, SIGNAL(finished(int)), <some_pointer_1>, SLOT(doSomething1()));
connect(proc, SIGNAL(finished(int)), <some_pointer_2>, SLOT(doSomething2()));
connect(proc, SIGNAL(finished(int)), <some_pointer_3>, SLOT(doSomething3()));
connect(proc, SIGNAL(finished(int)), proc, SLOT(deleteLater()));
QProcess* proc = new QProcess();
connect(proc, SIGNAL(finished(int)), <some_pointer_1>, SLOT(doSomething1()));
connect(proc, SIGNAL(finished(int)), <some_pointer_2>, SLOT(doSomething2()));
connect(proc, SIGNAL(finished(int)), <some_pointer_3>, SLOT(doSomething3()));
connect(proc, SIGNAL(finished(int)), proc, SLOT(deleteLater()));
To copy to clipboard, switch view to plain text mode
Bookmarks