QWebdav Class Reference

Main class used to handle the webdav protocol. More...

#include <webdav.h>

List of all members.

Public Types

typedef QMap< QString, QMap
< QString, QVariant > > 
PropValues
typedef QMap< QString,
QStringList > 
PropNames

Signals

void listInfo (const QWebdavUrlInfo &i)

Public Member Functions

 QWebdav (QObject *parent=0)
 QWebdav (const QString &hostName, quint16 port=80, QObject *parent=0)
 QWebdav (const QString &hostName, ConnectionMode mode, quint16 port=0, QObject *parent=0)
 ~QWebdav ()
int list (const QString &dir=QString())
int search (const QString &path, const QString &query)
int put (const QString &path, QIODevice *data)
int put (const QString &path, const QByteArray &data)
int mkcol (const QString &dir)
int mkdir (const QString &dir)
int copy (const QString &oldname, const QString &newname, bool overwrite=false)
int rename (const QString &oldname, const QString &newname, bool overwrite=false)
int move (const QString &oldname, const QString &newname, bool overwrite=false)
int rmdir (const QString &dir)
int remove (const QString &path)
int propfind (const QString &path, const QByteArray &query, int depth=0)
int propfind (const QString &path, const QWebdav::PropNames &props, int depth=0)
int proppatch (const QString &path, const QWebdav::PropValues &props)
int proppatch (const QString &path, const QByteArray &query)
int setHost (const QString &, quint16)
int setHost (const QString &, ConnectionMode, quint16)


Detailed Description

Main class used to handle the webdav protocol.

Member Typedef Documentation

typedef QMap< QString , QStringList > QWebdav::PropNames

typedef QMap< QString, QMap < QString, QVariant > > QWebdav::PropValues


Constructor & Destructor Documentation

QWebdav::QWebdav ( QObject *  parent = 0  ) 

QWebdav::QWebdav ( const QString &  hostName,
quint16  port = 80,
QObject *  parent = 0 
)

QWebdav::QWebdav ( const QString &  hostName,
ConnectionMode  mode,
quint16  port = 0,
QObject *  parent = 0 
)

QWebdav::~QWebdav (  ) 


Member Function Documentation

int QWebdav::copy ( const QString &  oldname,
const QString &  newname,
bool  overwrite = false 
)

int QWebdav::list ( const QString &  dir = QString()  ) 

void QWebdav::listInfo ( const QWebdavUrlInfo i  )  [signal]

int QWebdav::mkcol ( const QString &  dir  ) 

int QWebdav::mkdir ( const QString &  dir  ) 

int QWebdav::move ( const QString &  oldname,
const QString &  newname,
bool  overwrite = false 
)

int QWebdav::propfind ( const QString &  path,
const QWebdav::PropNames props,
int  depth = 0 
)

int QWebdav::propfind ( const QString &  path,
const QByteArray &  query,
int  depth = 0 
)

int QWebdav::proppatch ( const QString &  path,
const QByteArray &  query 
)

int QWebdav::proppatch ( const QString &  path,
const QWebdav::PropValues props 
)

int QWebdav::put ( const QString &  path,
const QByteArray &  data 
)

int QWebdav::put ( const QString &  path,
QIODevice *  data 
)

int QWebdav::remove ( const QString &  path  ) 

int QWebdav::rename ( const QString &  oldname,
const QString &  newname,
bool  overwrite = false 
)

int QWebdav::rmdir ( const QString &  dir  ) 

int QWebdav::search ( const QString &  path,
const QString &  query 
)

int QWebdav::setHost ( const QString &  hostName,
ConnectionMode  mode,
quint16  port 
)

int QWebdav::setHost ( const QString &  hostName,
quint16  port 
)


The documentation for this class was generated from the following files:

Generated on Fri Apr 16 17:36:17 2010 for QWebDav by  doxygen 1.5.8