| 73 | } |
| 74 | |
| 75 | frmProgress *QNapiApp::progress() { |
| 76 | if (!f_progress) { |
| 77 | f_progress = new frmProgress(); |
| 78 | if (!f_progress) abort(); |
| 79 | connect(this, SIGNAL(request(QString)), f_progress, |
| 80 | SLOT(receiveRequest(QString))); |
| 81 | connect(this, SIGNAL(downloadFile(const QString &)), f_progress, |
| 82 | SLOT(receiveRequest(const QString &))); |
| 83 | } |
| 84 | return f_progress; |
| 85 | } |
| 86 | |
| 87 | void QNapiApp::createTrayIcon() { |
| 88 | getAction = new QAction(tr("Download subtitles"), 0); |