mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKGUI_SETTINGS_DATASETTINGSCOMPONENT_H
|
|
#define BLACKGUI_SETTINGS_DATASETTINGSCOMPONENT_H
|
|
|
|
#include "blackgui/blackguiexport.h"
|
|
#include "blackgui/overlaymessagesframe.h"
|
|
#include <QObject>
|
|
#include <QScopedPointer>
|
|
|
|
class QWidget;
|
|
|
|
namespace Ui
|
|
{
|
|
class CDataSettingsComponent;
|
|
}
|
|
namespace BlackCore::Db
|
|
{
|
|
class CBackgroundDataUpdater;
|
|
}
|
|
namespace BlackGui::Components
|
|
{
|
|
/*!
|
|
* Settings
|
|
*/
|
|
class BLACKGUI_EXPORT CDataSettingsComponent : public COverlayMessagesFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
//! Constructor
|
|
explicit CDataSettingsComponent(QWidget *parent = nullptr);
|
|
|
|
//! Destructor
|
|
virtual ~CDataSettingsComponent();
|
|
|
|
//! Background updater
|
|
void setBackgroundUpdater(const BlackCore::Db::CBackgroundDataUpdater *updater);
|
|
|
|
private:
|
|
QScopedPointer<Ui::CDataSettingsComponent> ui;
|
|
};
|
|
} // ns
|
|
|
|
#endif // guard
|