2012-03-26 22:41:33 +00:00
|
|
|
#include "WindowFocus.h"
|
|
|
|
#include "WebPage.h"
|
|
|
|
|
2014-06-18 22:00:34 +00:00
|
|
|
WindowFocus::WindowFocus(WebPageManager *manager, QStringList &arguments, QObject *parent) : WindowCommand(manager, arguments, parent) {
|
2012-03-26 22:41:33 +00:00
|
|
|
}
|
|
|
|
|
2014-06-18 22:00:34 +00:00
|
|
|
void WindowFocus::windowFound(WebPage *page) {
|
2012-04-04 22:18:17 +00:00
|
|
|
page->setFocus();
|
2013-02-11 23:31:41 +00:00
|
|
|
finish(true);
|
2012-03-26 22:41:33 +00:00
|
|
|
}
|