// 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 #include 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; }; } // ns #endif // guard