Sha256: c8d0c85ee4d874eca56a936daeb474d18538663790fdaf5efb837c04defc415c
Contents?: true
Size: 396 Bytes
Versions: 4
Compression:
Stored size: 396 Bytes
Contents
#include "ResizeWindow.h" #include "WebPage.h" ResizeWindow::ResizeWindow(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, 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 & 3 rubygems