refactor: Cleanup headers from walletmodel.h

This commit is contained in:
Hennadii Stepanov 2019-11-19 13:45:32 +02:00
parent a53e9895db
commit 5f50599ae7
No known key found for this signature in database
GPG key ID: 410108112E7EA81F
9 changed files with 17 additions and 8 deletions

View file

@ -7,7 +7,6 @@
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QUrl> #include <QUrl>

View file

@ -8,6 +8,7 @@
#include <qt/bitcoinunits.h> #include <qt/bitcoinunits.h>
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <qt/optionsmodel.h> #include <qt/optionsmodel.h>
#include <qt/walletmodel.h>
#include <QClipboard> #include <QClipboard>
#include <QPixmap> #include <QPixmap>

View file

@ -6,10 +6,11 @@
#define BITCOIN_QT_RECEIVEREQUESTDIALOG_H #define BITCOIN_QT_RECEIVEREQUESTDIALOG_H
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QDialog> #include <QDialog>
class WalletModel;
namespace Ui { namespace Ui {
class ReceiveRequestDialog; class ReceiveRequestDialog;
} }

View file

@ -7,6 +7,7 @@
#include <qt/bitcoinunits.h> #include <qt/bitcoinunits.h>
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <qt/optionsmodel.h> #include <qt/optionsmodel.h>
#include <qt/walletmodel.h>
#include <clientversion.h> #include <clientversion.h>
#include <streams.h> #include <streams.h>

View file

@ -6,12 +6,13 @@
#define BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H #define BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QAbstractTableModel> #include <QAbstractTableModel>
#include <QStringList> #include <QStringList>
#include <QDateTime> #include <QDateTime>
class WalletModel;
class RecentRequestEntry class RecentRequestEntry
{ {
public: public:

View file

@ -14,6 +14,7 @@
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <qt/optionsmodel.h> #include <qt/optionsmodel.h>
#include <qt/platformstyle.h> #include <qt/platformstyle.h>
#include <qt/walletmodel.h>
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>

View file

@ -6,13 +6,16 @@
#define BITCOIN_QT_SENDCOINSENTRY_H #define BITCOIN_QT_SENDCOINSENTRY_H
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QStackedWidget> #include <QStackedWidget>
class WalletModel; class WalletModel;
class PlatformStyle; class PlatformStyle;
namespace interfaces {
class Node;
} // namespace interfaces
namespace Ui { namespace Ui {
class SendCoinsEntry; class SendCoinsEntry;
} }

View file

@ -2,17 +2,18 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/walletcontroller.h>
#include <qt/askpassphrasedialog.h> #include <qt/askpassphrasedialog.h>
#include <qt/createwalletdialog.h> #include <qt/createwalletdialog.h>
#include <qt/guiconstants.h> #include <qt/guiconstants.h>
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <qt/walletcontroller.h> #include <qt/walletmodel.h>
#include <wallet/wallet.h>
#include <interfaces/handler.h> #include <interfaces/handler.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <util/string.h> #include <util/string.h>
#include <wallet/wallet.h>
#include <algorithm> #include <algorithm>

View file

@ -6,7 +6,6 @@
#define BITCOIN_QT_WALLETCONTROLLER_H #define BITCOIN_QT_WALLETCONTROLLER_H
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <support/allocators/secure.h> #include <support/allocators/secure.h>
#include <sync.h> #include <sync.h>
@ -24,10 +23,12 @@
class OptionsModel; class OptionsModel;
class PlatformStyle; class PlatformStyle;
class WalletModel;
namespace interfaces { namespace interfaces {
class Handler; class Handler;
class Node; class Node;
class Wallet;
} // namespace interfaces } // namespace interfaces
class AskPassphraseDialog; class AskPassphraseDialog;