diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-26 14:04:24 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-26 14:04:24 -0400 |
commit | a8ab0934e4782a14206cba544c846a34947cce36 (patch) | |
tree | f032428eca9b7938b43b6f06f67da554d0faf2b0 /src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h | |
parent | Fix up the close event handling in lumina-textedit. Now it will actually clos... (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-a8ab0934e4782a14206cba544c846a34947cce36.tar.gz lumina-a8ab0934e4782a14206cba544c846a34947cce36.tar.bz2 lumina-a8ab0934e4782a14206cba544c846a34947cce36.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.h | 36 |
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 |