Changeset View
Changeset View
Standalone View
Standalone View
src/core/kprotocolmanager.h
Show First 20 Lines • Show All 462 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
463 | * Valid values for this field are "true" or "false" (default). | 463 | * Valid values for this field are "true" or "false" (default). | ||
464 | * | 464 | * | ||
465 | * @param url the url to check | 465 | * @param url the url to check | ||
466 | * @return true if the protocol supports opening | 466 | * @return true if the protocol supports opening | ||
467 | */ | 467 | */ | ||
468 | static bool supportsOpening(const QUrl &url); | 468 | static bool supportsOpening(const QUrl &url); | ||
469 | 469 | | |||
470 | /** | 470 | /** | ||
471 | * Returns whether the protocol can modify file system with elevated privileges. | ||||
472 | * | ||||
473 | * This corresponds to the "privilegeExecution=" field in the protocol description | ||||
474 | * file. Valid values for this field are "true" or "false" (default). | ||||
475 | * | ||||
476 | * @param url the url to check | ||||
477 | * @return true if protocol supports privilege execution | ||||
478 | */ | ||||
479 | static bool supportsPrivilegeExecution(const QUrl &url); | ||||
dfaure: Missing @since 5.39 | |||||
480 | | ||||
481 | /** | ||||
471 | * Returns whether the protocol can copy files/objects directly from the | 482 | * Returns whether the protocol can copy files/objects directly from the | ||
472 | * filesystem itself. If not, the application will read files from the | 483 | * filesystem itself. If not, the application will read files from the | ||
473 | * filesystem using the file-protocol and pass the data on to the destination | 484 | * filesystem using the file-protocol and pass the data on to the destination | ||
474 | * protocol. | 485 | * protocol. | ||
475 | * | 486 | * | ||
476 | * This corresponds to the "copyFromFile=" field in the protocol description file. | 487 | * This corresponds to the "copyFromFile=" field in the protocol description file. | ||
477 | * Valid values for this field are "true" or "false" (default). | 488 | * Valid values for this field are "true" or "false" (default). | ||
478 | * | 489 | * | ||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |
Missing @since 5.39