|
QRODS
|
Public Slots | |
| void | replyFinished (QNetworkReply *reply) |
| FileContentsClient::replyFinished Certifies that the reply has been received. More... | |
Signals | |
| void | modelChanged () |
Public Member Functions | |
| FileContentsClient (QString &baseURL, QString user, QString pass, QObject *parent=0) | |
| FileContentsClient::FileContentsClient Constructor method. More... | |
| void | uploadFile (QString &remotePath, QString &localPath) |
| FileContentsClient::uploadFile Uploads a file. More... | |
| void | getFile (QString &remotePath, QString &localPath) |
| FileContentsClient::getFile Gets a file. More... | |
Public Member Functions inherited from AbstractHTTPClient | |
| AbstractHTTPClient (QString &baseURL, QString user, QString pass, QObject *parent=0) | |
| AbstractHTTPClient::AbstractHTTPClient Constructor method. More... | |
| QString | baseURL () |
| AbstractHTTPClient::baseURL Returns the base URL. More... | |
| void | setBaseURL (QString &str) |
| void | setUserName (QString &str) |
| AbstractHTTPClient::setUserName Sets user name. More... | |
| void | setPassword (QString &str) |
| AbstractHTTPClient::setPassword Sets the password. More... | |
| void | setContentType (QString &str) |
| AbstractHTTPClient::setContentType Sets the MIME type. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractHTTPClient | |
| QByteArray | doGet (QString &url) |
| AbstractHTTPClient::doGet HTTP gets operation. More... | |
| QByteArray | doPut (QString &url, QByteArray &content) |
| AbstractHTTPClient::doPut Put operation. More... | |
| QByteArray | doPost (QString &url, QByteArray &content) |
| AbstractHTTPClient::doPost Post operation. More... | |
| QByteArray | doDelete (QString &url) |
| AbstractHTTPClient::doDelete Delete operation. More... | |
| QNetworkReply * | doAsyncGet (QString &url) |
| AbstractHTTPClient::doAsyncGet Asynchronous get operation. More... | |
| QNetworkReply * | doAsyncGet (QString &url, const char *accept) |
| AbstractHTTPClient::doAsyncGet Asynchronous get operation. More... | |
| void | prepareRequest (QNetworkRequest &request) |
| AbstractHTTPClient::prepareRequest Prepares Requests. More... | |
Protected Attributes inherited from AbstractHTTPClient | |
| QNetworkAccessManager * | manager |
|
explicit |
FileContentsClient::FileContentsClient Constructor method.
This is a constructor for FileContentsClient class.
| bURL | the base URL. |
| parent | the parent Qt widget. |
| void FileContentsClient::getFile | ( | QString & | remotePath, |
| QString & | localPath | ||
| ) |
FileContentsClient::getFile Gets a file.
Gets a file.
| remotePath | a string that is the destination path. |
| localPath | a string that is the source path. |
|
slot |
FileContentsClient::replyFinished Certifies that the reply has been received.
Certifies that the reply has been received.
| reply | a QNetworkReply. |
| void FileContentsClient::uploadFile | ( | QString & | remotePath, |
| QString & | localPath | ||
| ) |
FileContentsClient::uploadFile Uploads a file.
Uploads a file to the server.
| remotePath | the path in the server. |
| localPath | the local path. |
1.8.10