Sha256: 4cdefd5d42a80522d78ba9ddef197460a874aa7ad583c6ed97bb26d7315081b4
Contents?: true
Size: 857 Bytes
Versions: 3
Compression:
Stored size: 857 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); signals: void finished(Response *response); protected: void startCommand(); void startTimeout(); private: WebPageManager *m_manager; QTimer *m_timer; Command *m_command; };
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara-webkit-0.13.2 | src/TimeoutCommand.h |
capybara-webkit-0.13.1 | src/TimeoutCommand.h |
capybara-webkit-0.13.0 | src/TimeoutCommand.h |