summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-10-20 07:01:48 +0200
committerMontel Laurent <[email protected]>2015-10-20 07:01:48 +0200
commit0e8563a98d7b92122fffbf1bccbc1700124e144c (patch)
tree6e5c07df34b122fbb50e898566df158f827328e1
parentdc1c0294411648b3915e79a12ae5a80aaa4de664 (diff)
Fix plugin
-rw-r--r--pimcommon/src/storageservice/webdavplugin/webdavplugin.cpp20
1 files changed, 17 insertions, 3 deletions
diff --git a/pimcommon/src/storageservice/webdavplugin/webdavplugin.cpp b/pimcommon/src/storageservice/webdavplugin/webdavplugin.cpp
index b1c46d9..7765b7a 100644
--- a/pimcommon/src/storageservice/webdavplugin/webdavplugin.cpp
+++ b/pimcommon/src/storageservice/webdavplugin/webdavplugin.cpp
@@ -36,24 +36,38 @@ WebDavPlugin::~WebDavPlugin()
QString WebDavPlugin::storageServiceName() const
{
- return QStringLiteral("hubic");
+ return QStringLiteral("webdav");
}
StorageServicePlugin::Capabilities WebDavPlugin::capabilities() const
{
StorageServicePlugin::Capabilities cap;
+ cap |= AccountInfoCapability;
+ cap |= UploadFileCapability;
+ cap |= DownloadFileCapability;
+ cap |= CreateFolderCapability;
+ cap |= DeleteFolderCapability;
+ cap |= ListFolderCapability;
+ //cap |= ShareLinkCapability;
+ cap |= DeleteFileCapability;
+ cap |= RenameFolderCapability;
+ cap |= RenameFileCapabilitity;
+ cap |= MoveFileCapability;
+ cap |= MoveFolderCapability;
+ cap |= CopyFileCapability;
+ cap |= CopyFolderCapability;
return cap;
}
QString WebDavPlugin::description() const
{
- return i18n("WebDav is a file hosting service operated by Ovh, Inc. that offers cloud storage, file synchronization, and client software.");
+ return i18n("The WebDAV service allows access to any Web application that uses the WebDAV protocol, such as ownCloud, Kolab, and others.");
}
QUrl WebDavPlugin::serviceUrl() const
{
- return QUrl(QStringLiteral("https://hubic.com"));
+ return QUrl();
}