Changeset View
Changeset View
Standalone View
Standalone View
src/core/kprotocolmanager.h
Show First 20 Lines • Show All 470 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
471 | * Returns whether the protocol can be truncated with FileJob::truncate(KIO::filesize_t length). | 471 | * Returns whether the protocol can be truncated with FileJob::truncate(KIO::filesize_t length). | ||
472 | * | 472 | * | ||
473 | * This corresponds to the "truncating=" field in the protocol description file. | 473 | * This corresponds to the "truncating=" field in the protocol description file. | ||
474 | * Valid values for this field are "true" or "false" (default). | 474 | * Valid values for this field are "true" or "false" (default). | ||
475 | * | 475 | * | ||
476 | * @param url the url to check | 476 | * @param url the url to check | ||
477 | * @return true if the protocol supports truncating | 477 | * @return true if the protocol supports truncating | ||
478 | * @since 5.66 | 478 | * @since 5.66 | ||
479 | */ | 479 | */ | ||
dfaure: Missing @since 5.39 | |||||
480 | static bool supportsTruncating(const QUrl &url); | 480 | static bool supportsTruncating(const QUrl &url); | ||
481 | 481 | | |||
482 | /** | 482 | /** | ||
483 | * Returns whether the protocol can copy files/objects directly from the | 483 | * Returns whether the protocol can copy files/objects directly from the | ||
484 | * filesystem itself. If not, the application will read files from the | 484 | * filesystem itself. If not, the application will read files from the | ||
485 | * filesystem using the file-protocol and pass the data on to the destination | 485 | * filesystem using the file-protocol and pass the data on to the destination | ||
486 | * protocol. | 486 | * protocol. | ||
487 | * | 487 | * | ||
▲ Show 20 Lines • Show All 148 Lines • ▼ Show 20 Line(s) | |||||
636 | * "archiveMimetype=application/x-zip" | 636 | * "archiveMimetype=application/x-zip" | ||
637 | * | 637 | * | ||
638 | * @param mimeType the mimetype to check | 638 | * @param mimeType the mimetype to check | ||
639 | * @return the protocol that can handle this archive mimetype, for instance "zip". | 639 | * @return the protocol that can handle this archive mimetype, for instance "zip". | ||
640 | * @since 4.1 | 640 | * @since 4.1 | ||
641 | */ | 641 | */ | ||
642 | static QString protocolForArchiveMimetype(const QString &mimeType); | 642 | static QString protocolForArchiveMimetype(const QString &mimeType); | ||
643 | 643 | | |||
644 | /** | ||||
645 | * Returns whether the protocol can modify file system with elevated privileges. | ||||
646 | * | ||||
647 | * This corresponds to the "privilegeExecution=" field in the protocol description | ||||
648 | * file. Valid values for this field are "true" or "false" (default). | ||||
649 | * | ||||
650 | * @param url the url to check | ||||
651 | * @return true if protocol supports privilege execution | ||||
652 | * @since 5.70 | ||||
653 | */ | ||||
654 | static bool supportsPrivilegeExecution(const QUrl &url); | ||||
655 | | ||||
644 | /*=============================== OTHERS ====================================*/ | 656 | /*=============================== OTHERS ====================================*/ | ||
645 | 657 | | |||
646 | /** | 658 | /** | ||
647 | * Force a reload of the general config file of | 659 | * Force a reload of the general config file of | ||
648 | * io-slaves ( kioslaverc). | 660 | * io-slaves ( kioslaverc). | ||
649 | */ | 661 | */ | ||
650 | static void reparseConfiguration(); | 662 | static void reparseConfiguration(); | ||
651 | 663 | | |||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |
Missing @since 5.39