swift
datasettingscomponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_SETTINGS_DATASETTINGSCOMPONENT_H
7 #define SWIFT_GUI_SETTINGS_DATASETTINGSCOMPONENT_H
8 
9 #include <QObject>
10 #include <QScopedPointer>
11 
13 #include "gui/swiftguiexport.h"
14 
15 class QWidget;
16 
17 namespace Ui
18 {
19  class CDataSettingsComponent;
20 }
21 namespace swift::core::db
22 {
23  class CBackgroundDataUpdater;
24 }
25 namespace swift::gui::components
26 {
31  {
32  Q_OBJECT
33 
34  public:
36  explicit CDataSettingsComponent(QWidget *parent = nullptr);
37 
39  virtual ~CDataSettingsComponent();
40 
42  void setBackgroundUpdater(const swift::core::db::CBackgroundDataUpdater *updater);
43 
44  private:
45  QScopedPointer<Ui::CDataSettingsComponent> ui;
46  };
47 } // namespace swift::gui::components
48 
49 #endif // SWIFT_GUI_SETTINGS_DATASETTINGSCOMPONENT_H
Update and consolidation of DB data.
Using this class provides a QFrame with the overlay functionality already integrated.
Classes interacting with the swift database (aka "datastore").
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.