mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
[Qt] style-police, add missing license headers
- add missing license headers in Mac files - small code formating cleanups
This commit is contained in:
parent
3743b80528
commit
6c1bf199ca
@ -14,8 +14,10 @@
|
|||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
#include <qmath.h> // for qPow()
|
#include <qmath.h> // for qPow()
|
||||||
|
|
||||||
BitcoinAmountField::BitcoinAmountField(QWidget *parent):
|
BitcoinAmountField::BitcoinAmountField(QWidget *parent) :
|
||||||
QWidget(parent), amount(0), currentUnit(-1)
|
QWidget(parent),
|
||||||
|
amount(0),
|
||||||
|
currentUnit(-1)
|
||||||
{
|
{
|
||||||
amount = new QDoubleSpinBox(this);
|
amount = new QDoubleSpinBox(this);
|
||||||
amount->setLocale(QLocale::c());
|
amount->setLocale(QLocale::c());
|
||||||
|
@ -13,7 +13,10 @@
|
|||||||
|
|
||||||
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
|
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), model(0)
|
ui(new Ui::EditAddressDialog),
|
||||||
|
mapper(0),
|
||||||
|
mode(mode),
|
||||||
|
model(0)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
// Copyright (c) 2011-2013 The Bitcoin Core developers
|
||||||
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "macdockiconhandler.h"
|
#include "macdockiconhandler.h"
|
||||||
|
|
||||||
#include <QMenu>
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QTemporaryFile>
|
|
||||||
#include <QImageWriter>
|
#include <QImageWriter>
|
||||||
|
#include <QMenu>
|
||||||
|
#include <QTemporaryFile>
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
#undef slots
|
#undef slots
|
||||||
#include <Cocoa/Cocoa.h>
|
#include <Cocoa/Cocoa.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (c) 2011-2013 The Bitcoin Core developers
|
||||||
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "macnotificationhandler.h"
|
#include "macnotificationhandler.h"
|
||||||
|
|
||||||
#undef slots
|
#undef slots
|
||||||
|
@ -13,6 +13,7 @@ namespace Ui {
|
|||||||
}
|
}
|
||||||
class WalletModel;
|
class WalletModel;
|
||||||
class OptionsModel;
|
class OptionsModel;
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QModelIndex;
|
class QModelIndex;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
#include "addresstablemodel.h"
|
#include "addresstablemodel.h"
|
||||||
#include "guiconstants.h"
|
#include "guiconstants.h"
|
||||||
#include "transactiontablemodel.h"
|
|
||||||
#include "recentrequeststablemodel.h"
|
#include "recentrequeststablemodel.h"
|
||||||
|
#include "transactiontablemodel.h"
|
||||||
|
|
||||||
#include "base58.h"
|
#include "base58.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
class AddressTableModel;
|
class AddressTableModel;
|
||||||
class OptionsModel;
|
class OptionsModel;
|
||||||
class TransactionTableModel;
|
|
||||||
class RecentRequestsTableModel;
|
class RecentRequestsTableModel;
|
||||||
|
class TransactionTableModel;
|
||||||
class WalletModelTransaction;
|
class WalletModelTransaction;
|
||||||
|
|
||||||
class CCoinControl;
|
class CCoinControl;
|
||||||
|
@ -39,9 +39,6 @@ private:
|
|||||||
CWalletTx *walletTransaction;
|
CWalletTx *walletTransaction;
|
||||||
CReserveKey *keyChange;
|
CReserveKey *keyChange;
|
||||||
qint64 fee;
|
qint64 fee;
|
||||||
|
|
||||||
public slots:
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WALLETMODELTRANSACTION_H
|
#endif // WALLETMODELTRANSACTION_H
|
||||||
|
Loading…
Reference in New Issue
Block a user