Changeset View
Changeset View
Standalone View
Standalone View
kioslave/remote/kio_remote.h
Show All 20 Lines | |||||
21 | #define KIO_REMOTE_H | 21 | #define KIO_REMOTE_H | ||
22 | 22 | | |||
23 | #include <kio/slavebase.h> | 23 | #include <kio/slavebase.h> | ||
24 | #include "remoteimpl.h" | 24 | #include "remoteimpl.h" | ||
25 | 25 | | |||
26 | class RemoteProtocol : public KIO::SlaveBase | 26 | class RemoteProtocol : public KIO::SlaveBase | ||
27 | { | 27 | { | ||
28 | public: | 28 | public: | ||
29 | RemoteProtocol(const QByteArray &protocol, const QByteArray &pool, | 29 | RemoteProtocol(const QByteArray &protocol, const QByteArray &pool, const QByteArray &app); | ||
30 | const QByteArray &app); | | |||
31 | ~RemoteProtocol() override; | 30 | ~RemoteProtocol() override; | ||
32 | void listDir(const QUrl &url) override; | 31 | void listDir(const QUrl &url) override; | ||
33 | void stat(const QUrl &url) override; | 32 | void stat(const QUrl &url) override; | ||
34 | void del(const QUrl &url, bool isFile) override; | 33 | void del(const QUrl &url, bool isFile) override; | ||
35 | void get(const QUrl &url) override; | 34 | void get(const QUrl &url) override; | ||
36 | void rename(const QUrl &src, const QUrl &dest, KIO::JobFlags flags) override; | 35 | void rename(const QUrl &src, const QUrl &dest, KIO::JobFlags flags) override; | ||
37 | void symlink(const QString &target, const QUrl &dest, KIO::JobFlags flags) override; | 36 | void symlink(const QString &target, const QUrl &dest, KIO::JobFlags flags) override; | ||
38 | 37 | | |||
39 | private: | 38 | private: | ||
40 | void listRoot(); | 39 | void listRoot(); | ||
41 | 40 | | |||
42 | RemoteImpl m_impl; | 41 | RemoteImpl m_impl; | ||
43 | }; | 42 | }; | ||
44 | 43 | | |||
45 | #endif | 44 | #endif |