Sha256: df7844c4a4cdf29e1365ed2eed714c08051f72319804b2703a04b4b0506214ad
Contents?: true
Size: 443 Bytes
Versions: 4
Compression:
Stored size: 443 Bytes
Contents
#include "ResizeWindow.h" #include "WebPage.h" #include "WebPageManager.h" ResizeWindow::ResizeWindow(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) { } void ResizeWindow::start() { int width = arguments()[0].toInt(); int height = arguments()[1].toInt(); QSize size(width, height); page()->setViewportSize(size); emit finished(new Response(true)); }
Version data entries
4 entries across 4 versions & 2 rubygems