mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Previously we already switch to loading the bootstrap file only from the
local file (ec42553910).
This removes the remaining parts of loading the bootstrap file from a
remote location.
This also updates the UI in case of parsing errors of the bootstrap.json.
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
// SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKGUI_COMPONENTS_COPYCONFIGURATIONDIALOG_H
|
|
#define BLACKGUI_COMPONENTS_COPYCONFIGURATIONDIALOG_H
|
|
|
|
#include "blackgui/blackguiexport.h"
|
|
#include <QDialog>
|
|
#include <QScopedPointer>
|
|
|
|
namespace Ui
|
|
{
|
|
class CCopyConfigurationDialog;
|
|
}
|
|
namespace BlackGui::Components
|
|
{
|
|
//! Dialog to copy cache and settings
|
|
//! \deprecated replaced by CCopySettingsAndCachesComponent
|
|
class BLACKGUI_EXPORT CCopyConfigurationDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
//! Constructor
|
|
explicit CCopyConfigurationDialog(QWidget *parent = nullptr);
|
|
|
|
//! Destructor
|
|
virtual ~CCopyConfigurationDialog() override;
|
|
|
|
//! For cache data
|
|
void setCacheMode();
|
|
|
|
//! For settings
|
|
void setSettingsMode();
|
|
|
|
//! Select all settings or caches
|
|
void selectAll();
|
|
|
|
//! \copydoc QFileSystemModel::setNameFilterDisables
|
|
void setNameFilterDisables(bool disable);
|
|
|
|
protected:
|
|
//! \copydoc QObject::event
|
|
virtual bool event(QEvent *event) override;
|
|
|
|
private:
|
|
QScopedPointer<Ui::CCopyConfigurationDialog> ui;
|
|
};
|
|
} // ns
|
|
#endif // guard
|