Skip to content

Commit

Permalink
general: moved PreferencesHelper class from pluginbase to gui
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Popa <[email protected]>
  • Loading branch information
andrei47w authored and adisuciu committed Jun 27, 2024
1 parent 13ccef8 commit 22eb7a3
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/src/scopypreferencespage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <QCoreApplication>
#include <QScrollArea>
#include <stylehelper.h>
#include "pluginbase/preferenceshelper.h"
#include "gui/preferenceshelper.h"
#include "application_restarter.h"
#include <QDir>
#include <QDebug>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#ifndef PREFERENCESHELPER_H
#define PREFERENCESHELPER_H
#include "preferences.h"
#include "scopy-pluginbase_export.h"
#include "scopy-gui_export.h"

#include <QCheckBox>
#include <QComboBox>
#include <QLineEdit>

#include <pluginbase/preferences.h>

namespace scopy {
/**
* @brief The PreferencesHelper class
* PreferencesHelper class used to create widgets and connect the widgets to the Preferences singleton
*/
class SCOPY_PLUGINBASE_EXPORT PreferencesHelper
class SCOPY_GUI_EXPORT PreferencesHelper
{

public:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion plugins/adc/src/adcplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <iioutil/connectionprovider.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>

Expand Down
1 change: 0 additions & 1 deletion plugins/bareminimum/src/bareminimum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>

Q_LOGGING_CATEGORY(CAT_TESTPLUGIN, "BareMinimum");
using namespace scopy;
Expand Down
2 changes: 1 addition & 1 deletion plugins/datalogger/src/dataloggerplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <iioutil/connectionprovider.h>

#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>

#include <pluginbase/scopyjs.h>

Expand Down
2 changes: 1 addition & 1 deletion plugins/m2k/src/m2kplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <libsigrokdecode/libsigrokdecode.h>
#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <pluginbase/scopyjs.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>
Expand Down
2 changes: 1 addition & 1 deletion plugins/regmap/src/regmapplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <src/readwrite/iioregisterreadstrategy.hpp>
#include <src/readwrite/iioregisterwritestrategy.hpp>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>
#include <readwrite/fileregisterreadstrategy.hpp>
Expand Down
2 changes: 1 addition & 1 deletion plugins/test/src/testplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <gui/widgets/hoverwidget.h>
#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>

Expand Down

0 comments on commit 22eb7a3

Please sign in to comment.