##// END OF EJS Templates
Updates UI to not call the sort method when update graphs, as data series are already sorted
Updates UI to not call the sort method when update graphs, as data series are already sorted

File last commit:

r401:5601a2d8f3ef
r453:a8d8791b7e7a
Show More
NetworkController.h
46 lines | 1.2 KiB | text/x-c | CLexer
Intialization of network controller
r339 #ifndef SCIQLOP_NETWORKCONTROLLER_H
#define SCIQLOP_NETWORKCONTROLLER_H
#include <QLoggingCategory>
#include <QObject>
Implement the network controller to permit the execution of a request...
r389 #include <QUuid>
Intialization of network controller
r339
#include <Common/spimpl.h>
Implement the network controller to permit the execution of a request...
r389 #include <functional>
Intialization of network controller
r339
Q_DECLARE_LOGGING_CATEGORY(LOG_NetworkController)
Add execute skelleton Network
r386 class QNetworkReply;
Implement the network controller to permit the execution of a request...
r389 class QNetworkRequest;
Add execute skelleton Network
r386
Intialization of network controller
r339 /**
* @brief The NetworkController class aims to handle all network connection of SciQlop.
*/
class NetworkController : public QObject {
Q_OBJECT
public:
explicit NetworkController(QObject *parent = 0);
void initialize();
void finalize();
Implement the network controller to permit the execution of a request...
r389 public slots:
Add implementation of progress bar on variable inspector connected to...
r401 /// Execute request and call callback when the reply is finished. Identifier is attached to the
/// callback
Implement the network controller to permit the execution of a request...
r389 void onProcessRequested(const QNetworkRequest &request, QUuid identifier,
std::function<void(QNetworkReply *, QUuid)> callback);
Add implementation of progress bar on variable inspector connected to...
r401 /// Cancel the request of identifier
Implement the network controller to permit the execution of a request...
r389 void onReplyCanceled(QUuid identifier);
Add execute skelleton Network
r386 signals:
Implement the network controller to permit the execution of a request...
r389 void replyFinished(QNetworkReply *reply, QUuid identifier);
Add implementation of progress bar on variable inspector connected to...
r401 void replyDownloadProgress(QUuid identifier, double progress);
Add execute skelleton Network
r386
Intialization of network controller
r339 private:
void waitForFinish();
class NetworkControllerPrivate;
spimpl::unique_impl_ptr<NetworkControllerPrivate> impl;
};
#endif // SCIQLOP_NETWORKCONTROLLER_H