From e92185222ea652436d0f5a36de25cbbd66347ea1 Mon Sep 17 00:00:00 2001 From: q5sys Date: Sun, 24 Sep 2017 20:25:21 -0400 Subject: prototype webdav functionality for lumina-fm --- src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h') diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h new file mode 100644 index 00000000..04d29e3b --- /dev/null +++ b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h @@ -0,0 +1,36 @@ +#ifndef FMWEBDAV_H +#define FMWEBDAV_H + +#include +#include +#include + +public: + + enum QWebdavConnectionType {HTTP = 1, HTTPS}; + + QString hostname() const; + int port() const; + QString rootPath() const; + QString username() const; + QString password() const; + QWebdavConnectionType connectionType() const; + bool isSSL() const; + + void setConnectionSettings( const QWebdavConnectionType connectionType, const QString *hostname, const QString *rootPath = "/", const QString *username = "", const QString *password = "", int *port = 0; + + +private: + + QString wdRootPath; + QString wdUsername; + QString wdPassword; + QUrl wdBaseUrl; + QWebdavConnectionType wdCurrentConnectionType; + + + + + + +#endif // FMWEBDAV -- cgit