aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-26 13:43:14 -0400
committerKen Moore <ken@ixsystems.com>2017-09-26 13:43:14 -0400
commit5020077eb17db2dac399b539ee451d3e5fe97a39 (patch)
tree28e215eddd84f7677cbb5df63957e14cf5f8c824 /src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h
parentAdd a bunch of new files specifically for providing a new OpenGL-backed basis... (diff)
parentoops hadn't saved all my changes yet (diff)
downloadlumina-5020077eb17db2dac399b539ee451d3e5fe97a39.tar.gz
lumina-5020077eb17db2dac399b539ee451d3e5fe97a39.tar.bz2
lumina-5020077eb17db2dac399b539ee451d3e5fe97a39.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h36
1 files changed, 36 insertions, 0 deletions
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 <QtCore>
+#include <QtNetwork>
+#include <QNetworkAccessManager>
+
+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
bgstack15