refactor: move third party integrations to plugins folder

This commit is contained in:
tobtoht 2023-03-28 22:26:53 +02:00
parent fbc3b89285
commit 8fd583a649
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
44 changed files with 30 additions and 30 deletions

View file

@ -72,6 +72,8 @@ file(GLOB SOURCE_FILES
"monero_seed/*.cpp"
"monero_seed/*.c"
"monero_seed/*.hpp"
"plugins/*/*.cpp"
"plugins/*/*.h"
)
if (WITH_SCANNER AND NOT Qt6_FOUND)

View file

@ -32,8 +32,8 @@
#include "utils/daemonrpc.h"
#include "utils/EventFilter.h"
#include "utils/Updater.h"
#include "widgets/CCSWidget.h"
#include "widgets/RedditWidget.h"
#include "plugins/ccs/CCSWidget.h"
#include "plugins/reddit/RedditWidget.h"
#include "widgets/TickerWidget.h"
#include "widgets/WalletUnlockWidget.h"
#include "wizard/WalletWizard.h"
@ -47,11 +47,11 @@
#include "WindowManager.h"
#ifdef HAS_LOCALMONERO
#include "widgets/LocalMoneroWidget.h"
#include "plugins/localmonero/LocalMoneroWidget.h"
#endif
#ifdef HAS_XMRIG
#include "widgets/XMRigWidget.h"
#include "plugins/xmrig/XMRigWidget.h"
#endif
namespace Ui {

View file

@ -960,25 +960,25 @@
<customwidget>
<class>CCSWidget</class>
<extends>QWidget</extends>
<header>widgets/CCSWidget.h</header>
<header>plugins/ccs/CCSWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>RedditWidget</class>
<extends>QWidget</extends>
<header>widgets/RedditWidget.h</header>
<header>plugins/reddit/RedditWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>RevuoWidget</class>
<extends>QWidget</extends>
<header>widgets/RevuoWidget.h</header>
<header>plugins/revuo/RevuoWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BountiesWidget</class>
<extends>QWidget</extends>
<header>widgets/BountiesWidget.h</header>
<header>plugins/bounties/BountiesWidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>

View file

@ -7,7 +7,6 @@
#include <QWidget>
#include "libwalletqt/Wallet.h"
#include "widgets/CCSWidget.h"
namespace Ui {
class SendWidget;

View file

@ -7,7 +7,7 @@
#include <QAbstractTableModel>
#include <QSharedPointer>
#include "widgets/Bounty.h"
#include "Bounty.h"
class BountiesModel : public QAbstractTableModel
{

View file

@ -8,7 +8,7 @@
#include <QStandardItemModel>
#include <QTableWidget>
#include "model/BountiesModel.h"
#include "BountiesModel.h"
#include "utils/Utils.h"
#include "utils/config.h"

View file

@ -8,7 +8,7 @@
#include <QMenu>
#include <QWidget>
#include "model/BountiesModel.h"
#include "BountiesModel.h"
namespace Ui {
class BountiesWidget;

View file

@ -7,7 +7,7 @@
#include <QAbstractTableModel>
#include <QSharedPointer>
#include "widgets/CCSEntry.h"
#include "CCSEntry.h"
class CCSModel : public QAbstractTableModel
{

View file

@ -6,7 +6,7 @@
#include <QStyledItemDelegate>
#include "model/CCSModel.h"
#include "CCSModel.h"
class CCSProgressDelegate : public QStyledItemDelegate
{

View file

@ -10,8 +10,8 @@
#include <QProgressBar>
#include <QWidget>
#include "model/CCSModel.h"
#include "widgets/CCSEntry.h"
#include "CCSModel.h"
#include "CCSEntry.h"
namespace Ui {
class CSSWidget;

View file

@ -8,7 +8,7 @@
#include <QLabel>
#include "components.h"
#include "model/LocalMoneroModel.h"
#include "LocalMoneroModel.h"
namespace Ui {
class LocalMoneroInfoDialog;

View file

@ -7,10 +7,9 @@
#include <QMessageBox>
#include <QMenu>
#include "dialog/LocalMoneroInfoDialog.h"
#include "LocalMoneroInfoDialog.h"
#include "utils/ColorScheme.h"
#include "utils/Icons.h"
#include "utils/NetworkManager.h"
#include "utils/WebsocketNotifier.h"
LocalMoneroWidget::LocalMoneroWidget(QWidget *parent, Wallet *wallet)

View file

@ -6,8 +6,8 @@
#include <QWidget>
#include "api/LocalMoneroApi.h"
#include "model/LocalMoneroModel.h"
#include "LocalMoneroApi.h"
#include "LocalMoneroModel.h"
#include "libwalletqt/Wallet.h"
namespace Ui {

View file

@ -7,7 +7,7 @@
#include <QAbstractTableModel>
#include <QSharedPointer>
#include "widgets/RedditPost.h"
#include "RedditPost.h"
class RedditModel : public QAbstractTableModel
{

View file

@ -8,7 +8,7 @@
#include <QStandardItemModel>
#include <QTableWidget>
#include "model/RedditModel.h"
#include "RedditModel.h"
#include "utils/Utils.h"
#include "utils/config.h"

View file

@ -8,7 +8,7 @@
#include <QMenu>
#include <QWidget>
#include "model/RedditModel.h"
#include "RedditModel.h"
namespace Ui {
class RedditWidget;

View file

@ -9,7 +9,7 @@
#include <QItemSelection>
#include <QStandardItemModel>
#include "utils/xmrig.h"
#include "xmrig.h"
#include "utils/config.h"
#include "libwalletqt/Wallet.h"

View file

@ -6,7 +6,7 @@
#include "utils/config.h"
#include "utils/Utils.h"
#include "utils/xmrig.h"
#include "xmrig.h"
#include "utils/TorManager.h"
XmRig::XmRig(const QString &configDir, QObject *parent)

View file

@ -11,10 +11,10 @@
#include "networktype.h"
#include "nodes.h"
#include "prices.h"
#include "widgets/Bounty.h"
#include "widgets/RedditPost.h"
#include "widgets/CCSEntry.h"
#include "widgets/RevuoItem.h"
#include "plugins/bounties/Bounty.h"
#include "plugins/reddit/RedditPost.h"
#include "plugins/ccs/CCSEntry.h"
#include "plugins/revuo/RevuoItem.h"
#include "TxFiatHistory.h"
class WebsocketNotifier : public QObject {