WebDAVItem

Search for usage in LXR

WebDAVItem Class Reference

#include <WebDAVItem.hpp>

Public Member Functions

 WebDAVItem (WebDAVClient *webdavClient, QString href, QString creationDate, QString lastModified, QString displayName, QString contentType, QString contentLength, bool isCollection)
 
WebDAVReplycopy (QString destination)
 
WebDAVReplycreateDir (QString dirName)
 
WebDAVReplydownload ()
 
int getContentLength ()
 
QString getContentType ()
 
QDateTime getCreationDate ()
 
QString getDisplayName ()
 
QString getHref ()
 
QString getLastModified ()
 
bool isCollection ()
 
bool isFile ()
 
WebDAVReplylistDir ()
 
WebDAVReplymove (QString destination, bool overwrite=false)
 
WebDAVReplyremove ()
 
QString toString ()
 
WebDAVReplyupload (QString filename, QIODevice *file)
 

Detailed Description

Represents an item in a remote cloud location.

Definition at line 13 of file WebDAVItem.hpp.

Constructor & Destructor Documentation

◆ WebDAVItem()

WebDAVItem::WebDAVItem ( WebDAVClient * webdavClient,
QString href,
QString creationDate,
QString lastModified,
QString displayName,
QString contentType,
QString contentLength,
bool isCollection )

Definition at line 11 of file WebDAVItem.cpp.

Member Function Documentation

◆ copy()

WebDAVReply * WebDAVItem::copy ( QString destination)

Definition at line 48 of file WebDAVItem.cpp.

◆ createDir()

WebDAVReply * WebDAVItem::createDir ( QString dirName)

Definition at line 43 of file WebDAVItem.cpp.

◆ download()

WebDAVReply * WebDAVItem::download ( )

Definition at line 33 of file WebDAVItem.cpp.

◆ getContentLength()

int WebDAVItem::getContentLength ( )

Definition at line 109 of file WebDAVItem.cpp.

◆ getContentType()

QString WebDAVItem::getContentType ( )

Definition at line 104 of file WebDAVItem.cpp.

◆ getCreationDate()

QDateTime WebDAVItem::getCreationDate ( )

Definition at line 89 of file WebDAVItem.cpp.

◆ getDisplayName()

QString WebDAVItem::getDisplayName ( )

Definition at line 99 of file WebDAVItem.cpp.

◆ getHref()

QString WebDAVItem::getHref ( )

Definition at line 84 of file WebDAVItem.cpp.

◆ getLastModified()

QString WebDAVItem::getLastModified ( )

Definition at line 94 of file WebDAVItem.cpp.

◆ isCollection()

bool WebDAVItem::isCollection ( )

Definition at line 23 of file WebDAVItem.cpp.

◆ isFile()

bool WebDAVItem::isFile ( )

Definition at line 28 of file WebDAVItem.cpp.

◆ listDir()

WebDAVReply * WebDAVItem::listDir ( )

Definition at line 63 of file WebDAVItem.cpp.

◆ move()

WebDAVReply * WebDAVItem::move ( QString destination,
bool overwrite = false )

Definition at line 53 of file WebDAVItem.cpp.

◆ remove()

WebDAVReply * WebDAVItem::remove ( )

Definition at line 58 of file WebDAVItem.cpp.

◆ toString()

QString WebDAVItem::toString ( )

Definition at line 68 of file WebDAVItem.cpp.

◆ upload()

WebDAVReply * WebDAVItem::upload ( QString filename,
QIODevice * file )

Definition at line 38 of file WebDAVItem.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.