QIApplication.h revision 5680be749f1466c83b6739a10bff1db2909b786c
2N/A * VBox frontends: Qt GUI ("VirtualBox"): 2N/A * VirtualBox Qt extensions: QIApplication class declaration 2N/A * Copyright (C) 2006-2007 Sun Microsystems, Inc. 2N/A * This file is part of VirtualBox Open Source Edition (OSE), as 2N/A * you can redistribute it and/or modify it under the terms of the GNU 2N/A * General Public License (GPL) as published by the Free Software 2N/A * Foundation, in version 2 as it comes in the "COPYING" file of the 2N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 2N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 2N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 2N/A * additional information or have any questions. 2N/A/** Sligtly modified QApplication class. 2N/A * The sole purpose of this class (ATM) is to hook the macEventFilter 2N/A * in order to intercept Command-Q, Command-H and similar menu hot-keys 2N/A * before the HI Manager translate them into (menu) command events and 2N/A * start blinking menus in the menu bar. 2N/A * to work. Overloading QEventLoop::processEvents isn't feasable 2N/A * unfortunately, thus the horrible hacks. Qt 4 does seem to provide 2N/A * an interface similar to the one we create here. 2N/A * Btw. is QI* the right right way to do this? Or should it perhapse 2N/A * be called VBoxQApplication or something? #
endif // __QIApplication_h__