Changeset View
Changeset View
Standalone View
Standalone View
src/core/slavebase.h
Show First 20 Lines • Show All 937 Lines • ▼ Show 20 Line(s) | 886 | #endif | |||
---|---|---|---|---|---|
938 | /** | 938 | /** | ||
939 | * Checks with job if privilege operation is allowed. | 939 | * Checks with job if privilege operation is allowed. | ||
940 | * @return privilege operation status. | 940 | * @return privilege operation status. | ||
941 | * @see PrivilegeOperationStatus | 941 | * @see PrivilegeOperationStatus | ||
942 | * @since 5.43 | 942 | * @since 5.43 | ||
943 | */ | 943 | */ | ||
944 | PrivilegeOperationStatus requestPrivilegeOperation(); | 944 | PrivilegeOperationStatus requestPrivilegeOperation(); | ||
945 | 945 | | |||
946 | /** | ||||
947 | * Adds @p action to the list of PolicyKit actions which the | ||||
948 | * slave is authorized to perform. | ||||
949 | * | ||||
950 | * @param action the PolicyKit action | ||||
951 | * @since 5.45 | ||||
952 | */ | ||||
953 | void addTemporaryAuthorization(const QString &action); | ||||
954 | | ||||
946 | protected: | 955 | protected: | ||
947 | /** | 956 | /** | ||
948 | * Name of the protocol supported by this slave | 957 | * Name of the protocol supported by this slave | ||
949 | */ | 958 | */ | ||
950 | QByteArray mProtocol; | 959 | QByteArray mProtocol; | ||
951 | //Often used by TcpSlaveBase and unlikely to change | 960 | //Often used by TcpSlaveBase and unlikely to change | ||
952 | MetaData mOutgoingMetaData; | 961 | MetaData mOutgoingMetaData; | ||
953 | MetaData mIncomingMetaData; | 962 | MetaData mIncomingMetaData; | ||
Show All 26 Lines |