put Q_OBJECT everywhere it should be (removes warnings when running lupdate)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
/* First page of options */
|
||||
class MainOptionsPage : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit MainOptionsPage(QWidget *parent=0);
|
||||
|
||||
@@ -45,6 +46,7 @@ public slots:
|
||||
|
||||
class DisplayOptionsPage : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DisplayOptionsPage(QWidget *parent=0);
|
||||
|
||||
@@ -58,6 +60,8 @@ public slots:
|
||||
|
||||
};
|
||||
|
||||
#include "optionsdialog.moc"
|
||||
|
||||
OptionsDialog::OptionsDialog(QWidget *parent):
|
||||
QDialog(parent), contents_widget(0), pages_widget(0),
|
||||
model(0), main_page(0), display_page(0)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
class TxViewDelegate : public QAbstractItemDelegate
|
||||
{
|
||||
//Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
TxViewDelegate(): QAbstractItemDelegate(), unit(BitcoinUnits::BTC)
|
||||
{
|
||||
@@ -87,6 +87,7 @@ public:
|
||||
int unit;
|
||||
|
||||
};
|
||||
#include "overviewpage.moc"
|
||||
|
||||
OverviewPage::OverviewPage(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
|
||||
@@ -10,6 +10,7 @@ class CWalletTx;
|
||||
|
||||
class TransactionDesc: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
// Provide human-readable extended HTML description of a transaction
|
||||
static QString toHTML(CWallet *wallet, CWalletTx &wtx);
|
||||
|
||||
Reference in New Issue
Block a user