Files
pilotclient/src/blackgui/components/settingsnetworkcomponent.h
2015-05-05 21:34:30 +02:00

56 lines
1.5 KiB
C++

/* Copyright (C) 2015
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKGUI_SETTINGSNETWORKCOMPONENT_H
#define BLACKGUI_SETTINGSNETWORKCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include <QFrame>
namespace Ui { class CSettingsNetworkComponent; }
namespace BlackGui
{
namespace Components
{
//! General settings for network
class BLACKGUI_EXPORT CSettingsNetworkComponent :
public QFrame,
public CEnableForRuntime
{
Q_OBJECT
public:
//! Constructor
explicit CSettingsNetworkComponent(QWidget *parent = nullptr);
//! Destructor
~CSettingsNetworkComponent();
protected:
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
virtual void runtimeHasBeenSet() override;
private:
//! GUI values have been changed
void ps_guiValuesChanged();
private:
QScopedPointer<Ui::CSettingsNetworkComponent> ui;
};
} // ns
} // ns
#endif // guard