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/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QUrl>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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