UIKeyboardHandlerSeamless.cpp revision aacc0d565d05cebed49feba4348583e7571d3ea9
/* $Id$ */
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* UIKeyboardHandlerSeamless class implementation
*/
/*
* Copyright (C) 2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/* Global includes */
#include <QKeyEvent>
#include <QTimer>
#include <QWidget>
/* Local includes */
#include "UIKeyboardHandlerSeamless.h"
#include "UIMachineWindow.h"
/* Fullscreen keyboard-handler constructor: */
{
}
/* Fullscreen keyboard-handler destructor: */
{
}
/* Event handler for prepared listener(s): */
{
/* Check if pWatchedObject object is view: */
{
/* Get corresponding screen index: */
/* Handle view events: */
{
{
/* Get key-event: */
/* Process Host+Home for menu popup: */
{
/* Post request to show popup-menu: */
/* Filter-out this event: */
return true;
}
break;
}
default:
break;
}
}
/* Else just propagate to base-class: */
}