Sha256: e5a3038f4c9821f7350f342c7b10ddcfeb05c46f36dd58893c8fe929603df9d2
Contents?: true
Size: 806 Bytes
Versions: 29
Compression:
Stored size: 806 Bytes
Contents
#include "Command.h" #include <QObject> #include <QStringList> class Response; class WebPageManager; class QTimer; /* Decorates a command with a timeout. * * If the timeout, using a QTimer is reached before * the command is finished, the load page load will * be stopped and failure response will be issued. * */ class TimeoutCommand : public Command { Q_OBJECT public: TimeoutCommand(Command *command, WebPageManager *page, QObject *parent = 0); virtual void start(); public slots: void commandTimeout(); void commandFinished(Response *response); void pageLoadingFromCommand(); void pendingLoadFinished(bool); protected: void startCommand(); void startTimeout(); private: WebPageManager *m_manager; QTimer *m_timer; Command *m_command; };
Version data entries
29 entries across 29 versions & 2 rubygems