Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 95 | private: | |||
---|---|---|---|---|---|
100 | QString getGroupName(KGroupId gid) const; | 100 | QString getGroupName(KGroupId gid) const; | ||
101 | bool deleteRecursive(const QString &path); | 101 | bool deleteRecursive(const QString &path); | ||
102 | 102 | | |||
103 | void fileSystemFreeSpace(const QUrl &url); // KF6 TODO: Turn into virtual method in SlaveBase | 103 | void fileSystemFreeSpace(const QUrl &url); // KF6 TODO: Turn into virtual method in SlaveBase | ||
104 | 104 | | |||
105 | PrivilegeOperationReturnValue execWithElevatedPrivilege(ActionType action, const QVariant &arg1, | 105 | PrivilegeOperationReturnValue execWithElevatedPrivilege(ActionType action, const QVariant &arg1, | ||
106 | const QVariant &arg2 = QVariant(), | 106 | const QVariant &arg2 = QVariant(), | ||
107 | const QVariant &arg3 = QVariant()); | 107 | const QVariant &arg3 = QVariant()); | ||
108 | PrivilegeOperationReturnValue tryOpen(QFile &f, const QByteArray &path, int flags, int mode); | ||||
108 | private: | 109 | private: | ||
109 | mutable QHash<KUserId, QString> mUsercache; | 110 | mutable QHash<KUserId, QString> mUsercache; | ||
110 | mutable QHash<KGroupId, QString> mGroupcache; | 111 | mutable QHash<KGroupId, QString> mGroupcache; | ||
111 | QFile *mFile; | 112 | QFile *mFile; | ||
112 | }; | 113 | }; | ||
113 | 114 | | |||
114 | #endif | 115 | #endif |