Changeset View
Changeset View
Standalone View
Standalone View
src/core/slaveinterface.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 67 | enum Message { | |||
---|---|---|---|---|---|
79 | MSG_NET_REQUEST, | 79 | MSG_NET_REQUEST, | ||
80 | MSG_NET_DROP, | 80 | MSG_NET_DROP, | ||
81 | MSG_NEED_SUBURL_DATA, | 81 | MSG_NEED_SUBURL_DATA, | ||
82 | MSG_CANRESUME, | 82 | MSG_CANRESUME, | ||
83 | MSG_AUTH_KEY, ///< @deprecated | 83 | MSG_AUTH_KEY, ///< @deprecated | ||
84 | MSG_DEL_AUTH_KEY, ///< @deprecated | 84 | MSG_DEL_AUTH_KEY, ///< @deprecated | ||
85 | MSG_OPENED, | 85 | MSG_OPENED, | ||
86 | MSG_WRITTEN, | 86 | MSG_WRITTEN, | ||
87 | MSG_HOST_INFO_REQ | 87 | MSG_HOST_INFO_REQ, | ||
88 | MSG_PRIVILEGE_EXEC | ||||
88 | // add new ones here once a release is done, to avoid breaking binary compatibility | 89 | // add new ones here once a release is done, to avoid breaking binary compatibility | ||
dfaure: Move the new value above the "add new ones here" comment, otherwise the next person will break… | |||||
89 | }; | 90 | }; | ||
90 | 91 | | |||
91 | /** | 92 | /** | ||
92 | * @class KIO::SlaveInterface slaveinterface.h <KIO/SlaveInterface> | 93 | * @class KIO::SlaveInterface slaveinterface.h <KIO/SlaveInterface> | ||
93 | * | 94 | * | ||
94 | * There are two classes that specifies the protocol between application | 95 | * There are two classes that specifies the protocol between application | ||
95 | * ( KIO::Job) and kioslave. SlaveInterface is the class to use on the application | 96 | * ( KIO::Job) and kioslave. SlaveInterface is the class to use on the application | ||
96 | * end, SlaveBase is the one to use on the slave end. | 97 | * end, SlaveBase is the one to use on the slave end. | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 128 | Q_SIGNALS: | |||
139 | void statEntry(const KIO::UDSEntry &); | 140 | void statEntry(const KIO::UDSEntry &); | ||
140 | void needSubUrlData(); | 141 | void needSubUrlData(); | ||
141 | 142 | | |||
142 | void canResume(KIO::filesize_t); | 143 | void canResume(KIO::filesize_t); | ||
143 | 144 | | |||
144 | void open(); | 145 | void open(); | ||
145 | void written(KIO::filesize_t); | 146 | void written(KIO::filesize_t); | ||
146 | 147 | | |||
148 | void privilegeOperationRequested(); | ||||
149 | | ||||
147 | /////////// | 150 | /////////// | ||
148 | // Info sent by the slave | 151 | // Info sent by the slave | ||
149 | ////////// | 152 | ////////// | ||
150 | void metaData(const KIO::MetaData &); | 153 | void metaData(const KIO::MetaData &); | ||
151 | void totalSize(KIO::filesize_t); | 154 | void totalSize(KIO::filesize_t); | ||
152 | void processedSize(KIO::filesize_t); | 155 | void processedSize(KIO::filesize_t); | ||
153 | void redirection(const QUrl &); | 156 | void redirection(const QUrl &); | ||
154 | void position(KIO::filesize_t); | 157 | void position(KIO::filesize_t); | ||
Show All 39 Lines |
Move the new value above the "add new ones here" comment, otherwise the next person will break BC.