Revert "Add Q_OBJECT macros"

This reverts commit c50588713a.
This commit is contained in:
onryo
2023-02-24 09:41:58 +01:00
parent 4ec06fffc3
commit 5a389cf1cf
7 changed files with 8 additions and 29 deletions

View File

@@ -11,8 +11,6 @@ class MainWindow;
class AddressBookModel : public QAbstractTableModel {
Q_OBJECT
public:
AddressBookModel(QTableView* parent);
~AddressBookModel();

View File

@@ -8,10 +8,8 @@
#include "camount.h"
class BalancesTableModel : public QAbstractTableModel {
Q_OBJECT
class BalancesTableModel : public QAbstractTableModel
{
public:
BalancesTableModel(QObject* parent);
~BalancesTableModel();

View File

@@ -29,10 +29,8 @@ struct WatchedTx {
};
class Controller {
Q_OBJECT
class Controller
{
public:
Controller(MainWindow* main);
~Controller();

View File

@@ -9,7 +9,8 @@
#include "ui_newwallet.h"
#include "mainwindow.h"
class FirstTimeWizard: public QWizard {
class FirstTimeWizard: public QWizard
{
Q_OBJECT
@@ -50,8 +51,6 @@ private:
class NewOrRestorePage: public QWizardPage {
Q_OBJECT
public:
NewOrRestorePage(FirstTimeWizard* parent);
@@ -66,9 +65,6 @@ private:
class NewSeedPage: public QWizardPage {
Q_OBJECT
public:
NewSeedPage(FirstTimeWizard* parent);
@@ -84,9 +80,6 @@ private:
class RestoreSeedPage: public QWizardPage {
Q_OBJECT
public:
RestoreSeedPage(FirstTimeWizard* parent);

View File

@@ -5,10 +5,8 @@
#include "precompiled.h"
class MemoEdit : public QPlainTextEdit {
Q_OBJECT
class MemoEdit : public QPlainTextEdit
{
public:
MemoEdit(QWidget* parent);

View File

@@ -121,8 +121,6 @@ private:
// Model for list of configured recurring payments
class RecurringListViewModel : public QAbstractTableModel {
Q_OBJECT
public:
RecurringListViewModel(QTableView* parent);
~RecurringListViewModel() = default;
@@ -140,8 +138,6 @@ private:
// Model for history of payments
class RecurringPaymentsListViewModel : public QAbstractTableModel {
Q_OBJECT
public:
RecurringPaymentsListViewModel(QTableView* parent, RecurringPaymentInfo rpi);
~RecurringPaymentsListViewModel() = default;

View File

@@ -8,8 +8,6 @@
class ViewAllAddressesModel : public QAbstractTableModel {
Q_OBJECT
public:
ViewAllAddressesModel(QTableView* parent, QList<QString> taddrs, Controller* rpc);
~ViewAllAddressesModel() = default;