7988:c4c17121eff8 | 7989:a21d673a8f99 |
---|---|
301 <dd> | 301 <dd> |
302 name of the directory to store the file into (string) | 302 name of the directory to store the file into (string) |
303 </dd> | 303 </dd> |
304 </dl> | 304 </dl> |
305 <dl> | 305 <dl> |
306 <dt>Returns:</dt> | 306 <dt>Return:</dt> |
307 <dd> | 307 <dd> |
308 proposed filename and original filename (string, string) | 308 proposed filename and original filename (string, string) |
309 </dd> | 309 </dd> |
310 </dl> | 310 </dl> |
311 <a NAME="DownloadItem.__setDateTime" ID="DownloadItem.__setDateTime"></a> | 311 <a NAME="DownloadItem.__setDateTime" ID="DownloadItem.__setDateTime"></a> |
349 | 349 |
350 <p> | 350 <p> |
351 Public method to get the absolute path of the output file. | 351 Public method to get the absolute path of the output file. |
352 </p> | 352 </p> |
353 <dl> | 353 <dl> |
354 <dt>Returns:</dt> | 354 <dt>Return:</dt> |
355 <dd> | 355 <dd> |
356 absolute path of the output file (string) | 356 absolute path of the output file (string) |
357 </dd> | 357 </dd> |
358 </dl> | 358 </dl> |
359 <a NAME="DownloadItem.bytesReceived" ID="DownloadItem.bytesReceived"></a> | 359 <a NAME="DownloadItem.bytesReceived" ID="DownloadItem.bytesReceived"></a> |
362 | 362 |
363 <p> | 363 <p> |
364 Public method to get the number of bytes received. | 364 Public method to get the number of bytes received. |
365 </p> | 365 </p> |
366 <dl> | 366 <dl> |
367 <dt>Returns:</dt> | 367 <dt>Return:</dt> |
368 <dd> | 368 <dd> |
369 number of bytes received (integer) | 369 number of bytes received (integer) |
370 </dd> | 370 </dd> |
371 </dl> | 371 </dl> |
372 <a NAME="DownloadItem.bytesTotal" ID="DownloadItem.bytesTotal"></a> | 372 <a NAME="DownloadItem.bytesTotal" ID="DownloadItem.bytesTotal"></a> |
375 | 375 |
376 <p> | 376 <p> |
377 Public method to get the total number of bytes of the download. | 377 Public method to get the total number of bytes of the download. |
378 </p> | 378 </p> |
379 <dl> | 379 <dl> |
380 <dt>Returns:</dt> | 380 <dt>Return:</dt> |
381 <dd> | 381 <dd> |
382 total number of bytes (integer) | 382 total number of bytes (integer) |
383 </dd> | 383 </dd> |
384 </dl> | 384 </dl> |
385 <a NAME="DownloadItem.cancelDownload" ID="DownloadItem.cancelDownload"></a> | 385 <a NAME="DownloadItem.cancelDownload" ID="DownloadItem.cancelDownload"></a> |
395 | 395 |
396 <p> | 396 <p> |
397 Public method to check, if the user canceled the file selection. | 397 Public method to check, if the user canceled the file selection. |
398 </p> | 398 </p> |
399 <dl> | 399 <dl> |
400 <dt>Returns:</dt> | 400 <dt>Return:</dt> |
401 <dd> | 401 <dd> |
402 flag indicating cancellation (boolean) | 402 flag indicating cancellation (boolean) |
403 </dd> | 403 </dd> |
404 </dl> | 404 </dl> |
405 <a NAME="DownloadItem.currentSpeed" ID="DownloadItem.currentSpeed"></a> | 405 <a NAME="DownloadItem.currentSpeed" ID="DownloadItem.currentSpeed"></a> |
408 | 408 |
409 <p> | 409 <p> |
410 Public method to get an estimation for the download speed. | 410 Public method to get an estimation for the download speed. |
411 </p> | 411 </p> |
412 <dl> | 412 <dl> |
413 <dt>Returns:</dt> | 413 <dt>Return:</dt> |
414 <dd> | 414 <dd> |
415 estimation for the download speed (float) | 415 estimation for the download speed (float) |
416 </dd> | 416 </dd> |
417 </dl> | 417 </dl> |
418 <a NAME="DownloadItem.downloadCanceled" ID="DownloadItem.downloadCanceled"></a> | 418 <a NAME="DownloadItem.downloadCanceled" ID="DownloadItem.downloadCanceled"></a> |
421 | 421 |
422 <p> | 422 <p> |
423 Public method to check, if the download was cancelled. | 423 Public method to check, if the download was cancelled. |
424 </p> | 424 </p> |
425 <dl> | 425 <dl> |
426 <dt>Returns:</dt> | 426 <dt>Return:</dt> |
427 <dd> | 427 <dd> |
428 flag indicating a canceled download (boolean) | 428 flag indicating a canceled download (boolean) |
429 </dd> | 429 </dd> |
430 </dl> | 430 </dl> |
431 <a NAME="DownloadItem.downloadProgress" ID="DownloadItem.downloadProgress"></a> | 431 <a NAME="DownloadItem.downloadProgress" ID="DownloadItem.downloadProgress"></a> |
434 | 434 |
435 <p> | 435 <p> |
436 Public method to get the download progress. | 436 Public method to get the download progress. |
437 </p> | 437 </p> |
438 <dl> | 438 <dl> |
439 <dt>Returns:</dt> | 439 <dt>Return:</dt> |
440 <dd> | 440 <dd> |
441 current download progress | 441 current download progress |
442 </dd> | 442 </dd> |
443 </dl> | 443 </dl> |
444 <dl> | 444 <dl> |
453 | 453 |
454 <p> | 454 <p> |
455 Public method to check for a successful download. | 455 Public method to check for a successful download. |
456 </p> | 456 </p> |
457 <dl> | 457 <dl> |
458 <dt>Returns:</dt> | 458 <dt>Return:</dt> |
459 <dd> | 459 <dd> |
460 flag indicating a successful download (boolean) | 460 flag indicating a successful download (boolean) |
461 </dd> | 461 </dd> |
462 </dl> | 462 </dl> |
463 <a NAME="DownloadItem.downloading" ID="DownloadItem.downloading"></a> | 463 <a NAME="DownloadItem.downloading" ID="DownloadItem.downloading"></a> |
466 | 466 |
467 <p> | 467 <p> |
468 Public method to determine, if a download is in progress. | 468 Public method to determine, if a download is in progress. |
469 </p> | 469 </p> |
470 <dl> | 470 <dl> |
471 <dt>Returns:</dt> | 471 <dt>Return:</dt> |
472 <dd> | 472 <dd> |
473 flag indicating a download is in progress (boolean) | 473 flag indicating a download is in progress (boolean) |
474 </dd> | 474 </dd> |
475 </dl> | 475 </dl> |
476 <a NAME="DownloadItem.fileName" ID="DownloadItem.fileName"></a> | 476 <a NAME="DownloadItem.fileName" ID="DownloadItem.fileName"></a> |
479 | 479 |
480 <p> | 480 <p> |
481 Public method to get the name of the output file. | 481 Public method to get the name of the output file. |
482 </p> | 482 </p> |
483 <dl> | 483 <dl> |
484 <dt>Returns:</dt> | 484 <dt>Return:</dt> |
485 <dd> | 485 <dd> |
486 name of the output file (string) | 486 name of the output file (string) |
487 </dd> | 487 </dd> |
488 </dl> | 488 </dl> |
489 <a NAME="DownloadItem.getData" ID="DownloadItem.getData"></a> | 489 <a NAME="DownloadItem.getData" ID="DownloadItem.getData"></a> |
492 | 492 |
493 <p> | 493 <p> |
494 Public method to get the relevant download data. | 494 Public method to get the relevant download data. |
495 </p> | 495 </p> |
496 <dl> | 496 <dl> |
497 <dt>Returns:</dt> | 497 <dt>Return:</dt> |
498 <dd> | 498 <dd> |
499 dictionary containing the URL, save location, done flag, | 499 dictionary containing the URL, save location, done flag, |
500 the URL of the related web page and the date and time of the | 500 the URL of the related web page and the date and time of the |
501 download | 501 download |
502 </dd> | 502 </dd> |
514 | 514 |
515 <p> | 515 <p> |
516 Public method to get the text of the info label. | 516 Public method to get the text of the info label. |
517 </p> | 517 </p> |
518 <dl> | 518 <dl> |
519 <dt>Returns:</dt> | 519 <dt>Return:</dt> |
520 <dd> | 520 <dd> |
521 text of the info label (string) | 521 text of the info label (string) |
522 </dd> | 522 </dd> |
523 </dl> | 523 </dl> |
524 <a NAME="DownloadItem.getPageUrl" ID="DownloadItem.getPageUrl"></a> | 524 <a NAME="DownloadItem.getPageUrl" ID="DownloadItem.getPageUrl"></a> |
527 | 527 |
528 <p> | 528 <p> |
529 Public method to get the URL of the download page. | 529 Public method to get the URL of the download page. |
530 </p> | 530 </p> |
531 <dl> | 531 <dl> |
532 <dt>Returns:</dt> | 532 <dt>Return:</dt> |
533 <dd> | 533 <dd> |
534 URL of the download page (QUrl) | 534 URL of the download page (QUrl) |
535 </dd> | 535 </dd> |
536 </dl> | 536 </dl> |
537 <a NAME="DownloadItem.on_openButton_clicked" ID="DownloadItem.on_openButton_clicked"></a> | 537 <a NAME="DownloadItem.on_openButton_clicked" ID="DownloadItem.on_openButton_clicked"></a> |
582 | 582 |
583 <p> | 583 <p> |
584 Public method to get an estimation for the remaining time. | 584 Public method to get an estimation for the remaining time. |
585 </p> | 585 </p> |
586 <dl> | 586 <dl> |
587 <dt>Returns:</dt> | 587 <dt>Return:</dt> |
588 <dd> | 588 <dd> |
589 estimation for the remaining time (float) | 589 estimation for the remaining time (float) |
590 </dd> | 590 </dd> |
591 </dl> | 591 </dl> |
592 <a NAME="DownloadItem.setData" ID="DownloadItem.setData"></a> | 592 <a NAME="DownloadItem.setData" ID="DownloadItem.setData"></a> |