mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
qt: refactor: Changes to make include paths absolute
This makes all include paths in the GUI absolute. Many changes are involved as every single source file in src/qt/ assumes to be able to use relative includes.
This commit is contained in:
parent
0c715214dd
commit
e7b31631c7
@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
#include <qt/addressbookpage.h>
|
||||
#include <ui_addressbookpage.h>
|
||||
#include <qt/forms/ui_addressbookpage.h>
|
||||
|
||||
#include <qt/addresstablemodel.h>
|
||||
#include <qt/bitcoingui.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
#include <qt/askpassphrasedialog.h>
|
||||
#include <ui_askpassphrasedialog.h>
|
||||
#include <qt/forms/ui_askpassphrasedialog.h>
|
||||
|
||||
#include <qt/guiconstants.h>
|
||||
#include <qt/walletmodel.h>
|
||||
|
@ -261,7 +261,7 @@ private:
|
||||
void startThread();
|
||||
};
|
||||
|
||||
#include <bitcoin.moc>
|
||||
#include <qt/bitcoin.moc>
|
||||
|
||||
BitcoinCore::BitcoinCore():
|
||||
QObject()
|
||||
|
@ -188,7 +188,7 @@ Q_SIGNALS:
|
||||
void valueChanged();
|
||||
};
|
||||
|
||||
#include <bitcoinamountfield.moc>
|
||||
#include <qt/bitcoinamountfield.moc>
|
||||
|
||||
BitcoinAmountField::BitcoinAmountField(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/coincontroldialog.h>
|
||||
#include <ui_coincontroldialog.h>
|
||||
#include <qt/forms/ui_coincontroldialog.h>
|
||||
|
||||
#include <qt/addresstablemodel.h>
|
||||
#include <qt/bitcoinunits.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/editaddressdialog.h>
|
||||
#include <ui_editaddressdialog.h>
|
||||
#include <qt/forms/ui_editaddressdialog.h>
|
||||
|
||||
#include <qt/addresstablemodel.h>
|
||||
#include <qt/guiutil.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <fs.h>
|
||||
#include <qt/intro.h>
|
||||
#include <ui_intro.h>
|
||||
#include <qt/forms/ui_intro.h>
|
||||
|
||||
#include <qt/guiutil.h>
|
||||
|
||||
@ -60,7 +60,7 @@ private:
|
||||
Intro *intro;
|
||||
};
|
||||
|
||||
#include <intro.moc>
|
||||
#include <qt/intro.moc>
|
||||
|
||||
FreespaceChecker::FreespaceChecker(Intro *_intro)
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/modaloverlay.h>
|
||||
#include <ui_modaloverlay.h>
|
||||
#include <qt/forms/ui_modaloverlay.h>
|
||||
|
||||
#include <qt/guiutil.h>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/openuridialog.h>
|
||||
#include <ui_openuridialog.h>
|
||||
#include <qt/forms/ui_openuridialog.h>
|
||||
|
||||
#include <qt/guiutil.h>
|
||||
#include <qt/walletmodel.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
#include <qt/optionsdialog.h>
|
||||
#include <ui_optionsdialog.h>
|
||||
#include <qt/forms/ui_optionsdialog.h>
|
||||
|
||||
#include <qt/bitcoinunits.h>
|
||||
#include <qt/guiutil.h>
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <net.h>
|
||||
#include <netbase.h>
|
||||
#include <txdb.h> // for -dbcache defaults
|
||||
#include <qt/intro.h>
|
||||
#include <qt/intro.h>
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
#include <wallet/wallet.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/overviewpage.h>
|
||||
#include <ui_overviewpage.h>
|
||||
#include <qt/forms/ui_overviewpage.h>
|
||||
|
||||
#include <qt/bitcoinunits.h>
|
||||
#include <qt/clientmodel.h>
|
||||
@ -106,7 +106,7 @@ public:
|
||||
const PlatformStyle *platformStyle;
|
||||
|
||||
};
|
||||
#include <overviewpage.moc>
|
||||
#include <qt/overviewpage.moc>
|
||||
|
||||
OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent) :
|
||||
QWidget(parent),
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#include <paymentrequest.pb.h>
|
||||
#include <qt/paymentrequest.pb.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <base58.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/receivecoinsdialog.h>
|
||||
#include <ui_receivecoinsdialog.h>
|
||||
#include <qt/forms/ui_receivecoinsdialog.h>
|
||||
|
||||
#include <qt/addressbookpage.h>
|
||||
#include <qt/addresstablemodel.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/receiverequestdialog.h>
|
||||
#include <ui_receiverequestdialog.h>
|
||||
#include <qt/forms/ui_receiverequestdialog.h>
|
||||
|
||||
#include <qt/bitcoinunits.h>
|
||||
#include <qt/guiconstants.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
#include <qt/rpcconsole.h>
|
||||
#include <ui_debugwindow.h>
|
||||
#include <qt/forms/ui_debugwindow.h>
|
||||
|
||||
#include <qt/bantablemodel.h>
|
||||
#include <qt/clientmodel.h>
|
||||
@ -125,7 +125,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#include <rpcconsole.moc>
|
||||
#include <qt/rpcconsole.moc>
|
||||
|
||||
/**
|
||||
* Split shell command line into a list of arguments and optionally execute the command(s).
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/sendcoinsdialog.h>
|
||||
#include <ui_sendcoinsdialog.h>
|
||||
#include <qt/forms/ui_sendcoinsdialog.h>
|
||||
|
||||
#include <qt/addresstablemodel.h>
|
||||
#include <qt/bitcoinunits.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/sendcoinsentry.h>
|
||||
#include <ui_sendcoinsentry.h>
|
||||
#include <qt/forms/ui_sendcoinsentry.h>
|
||||
|
||||
#include <qt/addressbookpage.h>
|
||||
#include <qt/addresstablemodel.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/signverifymessagedialog.h>
|
||||
#include <ui_signverifymessagedialog.h>
|
||||
#include <qt/forms/ui_signverifymessagedialog.h>
|
||||
|
||||
#include <qt/addressbookpage.h>
|
||||
#include <qt/guiutil.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <paymentrequestplus.h> // this includes protobuf's port.h which defines its own bswap macos
|
||||
#include <qt/paymentrequestplus.h> // this includes protobuf's port.h which defines its own bswap macos
|
||||
|
||||
#include <qt/test/compattests.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <qt/test/paymentservertests.h>
|
||||
|
||||
#include <optionsmodel.h>
|
||||
#include <qt/optionsmodel.h>
|
||||
#include <qt/test/paymentrequestdata.h>
|
||||
|
||||
#include <amount.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_TEST_PAYMENTSERVERTESTS_H
|
||||
#define BITCOIN_QT_TEST_PAYMENTSERVERTESTS_H
|
||||
|
||||
#include <qt/test/../paymentserver.h>
|
||||
#include <qt/paymentserver.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QTest>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <validation.h>
|
||||
#include <rpc/register.h>
|
||||
#include <rpc/server.h>
|
||||
#include <rpcconsole.h>
|
||||
#include <qt/rpcconsole.h>
|
||||
#include <test/test_bitcoin.h>
|
||||
#include <univalue.h>
|
||||
#include <util.h>
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include <qt/test/uritests.h>
|
||||
|
||||
#include <guiutil.h>
|
||||
#include <walletmodel.h>
|
||||
#include <qt/guiutil.h>
|
||||
#include <qt/walletmodel.h>
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <qt/transactiondescdialog.h>
|
||||
#include <ui_transactiondescdialog.h>
|
||||
#include <qt/forms/ui_transactiondescdialog.h>
|
||||
|
||||
#include <qt/transactiontablemodel.h>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <qt/utilitydialog.h>
|
||||
|
||||
#include <ui_helpmessagedialog.h>
|
||||
#include <qt/forms/ui_helpmessagedialog.h>
|
||||
|
||||
#include <qt/bitcoingui.h>
|
||||
#include <qt/clientmodel.h>
|
||||
|
Loading…
Reference in New Issue
Block a user