generic: adjust to KIO protocol changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-01-01 02:42:24 +02:00
parent 054f0cb760
commit fab1ea4289
11 changed files with 2 additions and 26 deletions

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_filenamesearch
protocol=filenamesearch
input=none
output=filesystem
listing=true
reading=true
writing=false

View file

@ -79,11 +79,8 @@ void DolphinRemoteEncoding::slotAboutToOpenUrl()
m_currentURL = m_actionHandler->currentView()->url();
if (m_currentURL.protocol() != oldURL.protocol()) {
// This plugin works on ftp, fish, etc.
// everything whose type is T_FILESYSTEM except for local files
if (!m_currentURL.isLocalFile() &&
KProtocolManager::outputType(m_currentURL) == KProtocolInfo::T_FILESYSTEM) {
// This works on ftp, sftp, etc.
if (!m_currentURL.isLocalFile() && KProtocolManager::isSourceProtocol(m_currentURL)) {
m_menu->setEnabled(true);
loadSettings();
} else {

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_camera
protocol=camera
input=none
output=filesystem
listing=true
reading=true
writing=false

View file

@ -2,8 +2,6 @@
exec=kio_desktop
protocol=desktop
Icon=user-desktop
input=none
output=filesystem
listing=true
reading=true
writing=true

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_floppy
protocol=floppy
input=none
output=filesystem
listing=true
reading=true
writing=true

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_mtp
protocol=mtp
input=none
output=filesystem
listing=true
reading=true
writing=true

View file

@ -1,9 +1,6 @@
[Protocol]
protocol=network
input=none
output=filesystem
X-DocPath=kioslave/network/index.html
Icon=network-workgroup

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_remote
protocol=remote
input=none
output=filesystem
listing=true
reading=true
writing=false

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_sftp
protocol=sftp
input=none
output=filesystem
listing=true
reading=true
writing=true

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_thumbnail
protocol=thumbnail
input=stream
output=stream
reading=true
source=false
X-DocPath=kioslave/thumbnail/index.html

View file

@ -1,8 +1,6 @@
[Protocol]
exec=kio_trash
protocol=trash
input=none
output=filesystem
listing=true
reading=true
writing=true