/** @file
* VBox Qt GUI - UIGlobalSettingsProxy class declaration.
*/
/*
* Copyright (C) 2011-2012 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.
*/
#ifndef __UIGlobalSettingsProxy_h__
#define __UIGlobalSettingsProxy_h__
/* Local includes */
#include "UISettingsPage.h"
#include "UIGlobalSettingsProxy.gen.h"
/* Global settings / Proxy page / Cache: */
struct UISettingsCacheGlobalProxy
{
: m_fProxyEnabled(false)
{}
bool m_fProxyEnabled;
};
/* Global settings / Proxy page: */
{
/* Constructor: */
/* Load data to cache from corresponding external object(s),
* this task COULD be performed in other than GUI thread: */
/* Load data to corresponding widgets from cache,
* this task SHOULD be performed in GUI thread only: */
void getFromCache();
/* Save data from corresponding widgets to cache,
* this task SHOULD be performed in GUI thread only: */
void putToCache();
/* Save data from cache to corresponding external object(s),
* this task COULD be performed in other than GUI thread: */
/* API: Validation stuff: */
/* Helper: Navigation stuff: */
/* Helper: Translation stuff: */
void retranslateUi();
/* Handler: Proxy-checkbox stuff: */
void sltProxyToggled();
/* Cache: */
};
#endif // __UIGlobalSettingsProxy_h__