diff --git a/kio/kio/job_p.h b/kio/kio/job_p.h index 9834813f..cc3c8fc3 100644 --- a/kio/kio/job_p.h +++ b/kio/kio/job_p.h @@ -42,38 +42,36 @@ namespace KIO { */ enum Command { CMD_HOST = '0', // 48 - CMD_CONNECT = '1', // 49 - CMD_DISCONNECT = '2', // 50 - CMD_SLAVE_STATUS = '3', // 51 - CMD_SLAVE_CONNECT = '4', // 52 - CMD_NONE = 'A', // 65 - CMD_TESTDIR = 'B', // 66 - CMD_GET = 'C', // 67 - CMD_PUT = 'D', // 68 - CMD_STAT = 'E', // 69 - CMD_MIMETYPE = 'F', // 70 - CMD_LISTDIR = 'G', // 71 - CMD_MKDIR = 'H', // 72 - CMD_RENAME = 'I', // 73 - CMD_COPY = 'J', // 74 - CMD_DEL = 'K', // 75 - CMD_CHMOD = 'L', // 76 - CMD_SPECIAL = 'M', // 77 - CMD_SETMODIFICATIONTIME = 'N', // 78 - CMD_REPARSECONFIGURATION = 'O', // 79 - CMD_META_DATA = 'P', // 80 - CMD_SYMLINK = 'Q', // 81 - CMD_SUBURL = 'R', // 82 Inform the slave about the url it is streaming on. - CMD_MESSAGEBOXANSWER = 'S', // 83 - CMD_RESUMEANSWER = 'T', // 84 - CMD_CONFIG = 'U', // 85 - CMD_SETLINKDEST = 'V', // 86 - CMD_OPEN = 'W', // 87 - CMD_CHOWN = 'X', // 88 - CMD_READ = 'Y', // 89 - CMD_WRITE = 'Z', - CMD_SEEK = 91, - CMD_CLOSE = 92 + CMD_CONNECT = '1', + CMD_DISCONNECT = '2', + CMD_SLAVE_STATUS = '3', + CMD_SLAVE_CONNECT = '4', + CMD_NONE = 'A', + CMD_GET = 'B', + CMD_PUT = 'C', + CMD_STAT = 'D', + CMD_MIMETYPE = 'E', + CMD_LISTDIR = 'F', + CMD_MKDIR = 'G', + CMD_RENAME = 'H', + CMD_COPY = 'I', + CMD_DEL = 'J', + CMD_CHMOD = 'K', + CMD_SPECIAL = 'L', + CMD_SETMODIFICATIONTIME = 'M', + CMD_REPARSECONFIGURATION = 'N', + CMD_META_DATA = 'O', + CMD_SYMLINK = 'P', + CMD_SUBURL = 'Q', // Inform the slave about the url it is streaming on. + CMD_MESSAGEBOXANSWER = 'R', + CMD_RESUMEANSWER = 'S', + CMD_CONFIG = 'T', + CMD_OPEN = 'U', + CMD_CHOWN = 'V', + CMD_READ = 'W', + CMD_WRITE = 'X', + CMD_SEEK = 'Y', + CMD_CLOSE = 'Z' }; class JobPrivate: public KCompositeJobPrivate diff --git a/kio/kio/slavebase.cpp b/kio/kio/slavebase.cpp index d2491275..27f7d05a 100644 --- a/kio/kio/slavebase.cpp +++ b/kio/kio/slavebase.cpp @@ -687,8 +687,6 @@ void SlaveBase::copy(KUrl const &, KUrl const &, int, JobFlags) { error( ERR_UNSUPPORTED_ACTION, unsupportedActionErrorString(mProtocol, CMD_COPY)); } void SlaveBase::del(KUrl const &, bool) { error( ERR_UNSUPPORTED_ACTION, unsupportedActionErrorString(mProtocol, CMD_DEL)); } -void SlaveBase::setLinkDest(const KUrl &, const QString&) -{ error( ERR_UNSUPPORTED_ACTION, unsupportedActionErrorString(mProtocol, CMD_SETLINKDEST)); } void SlaveBase::mkdir(KUrl const &, int) { error( ERR_UNSUPPORTED_ACTION, unsupportedActionErrorString(mProtocol, CMD_MKDIR)); } void SlaveBase::chmod(KUrl const &, int) diff --git a/kio/kio/slavebase.h b/kio/kio/slavebase.h index 08559f59..4157b8e5 100644 --- a/kio/kio/slavebase.h +++ b/kio/kio/slavebase.h @@ -545,13 +545,6 @@ public: */ virtual void del( const KUrl &url, bool isfile); - /** - * Change the destination of a symlink - * @param url the url of the symlink to modify - * @param target the new destination (target) of the symlink - */ - virtual void setLinkDest( const KUrl& url, const QString& target ); - /** * Used for any command that is specific to this slave (protocol) * Examples are : HTTP POST, mount and unmount (kio_file)