Wladimir J. van der Laan 2011-07-27 20:54:10 +02:00
parent 384625c1a6
commit 7df001be94
2 changed files with 8 additions and 8 deletions

View file

@ -85,7 +85,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
QVBoxLayout *vbox = new QVBoxLayout(); QVBoxLayout *vbox = new QVBoxLayout();
transactionView = new TransactionView(this); transactionView = new TransactionView(this);
connect(transactionView, SIGNAL(doubleClicked(const QModelIndex&)), transactionView, SLOT(showDetails())); connect(transactionView, SIGNAL(doubleClicked(QModelIndex)), transactionView, SLOT(showDetails()));
vbox->addWidget(transactionView); vbox->addWidget(transactionView);
transactionsPage = new QWidget(this); transactionsPage = new QWidget(this);
@ -252,8 +252,8 @@ void BitcoinGUI::setWalletModel(WalletModel *walletModel)
sendCoinsPage->setModel(walletModel); sendCoinsPage->setModel(walletModel);
// Balloon popup for new transaction // Balloon popup for new transaction
connect(walletModel->getTransactionTableModel(), SIGNAL(rowsInserted(const QModelIndex &, int, int)), connect(walletModel->getTransactionTableModel(), SIGNAL(rowsInserted(QModelIndex,int,int)),
this, SLOT(incomingTransaction(const QModelIndex &, int, int))); this, SLOT(incomingTransaction(QModelIndex,int,int)));
} }
void BitcoinGUI::createTrayIcon() void BitcoinGUI::createTrayIcon()

View file

@ -120,15 +120,15 @@ TransactionView::TransactionView(QWidget *parent) :
// Connect actions // Connect actions
connect(dateWidget, SIGNAL(activated(int)), this, SLOT(chooseDate(int))); connect(dateWidget, SIGNAL(activated(int)), this, SLOT(chooseDate(int)));
connect(typeWidget, SIGNAL(activated(int)), this, SLOT(chooseType(int))); connect(typeWidget, SIGNAL(activated(int)), this, SLOT(chooseType(int)));
connect(addressWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedPrefix(const QString&))); connect(addressWidget, SIGNAL(textChanged(QString)), this, SLOT(changedPrefix(QString)));
connect(amountWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedAmount(const QString&))); connect(amountWidget, SIGNAL(textChanged(QString)), this, SLOT(changedAmount(QString)));
connect(view, SIGNAL(doubleClicked(const QModelIndex&)), this, SIGNAL(doubleClicked(const QModelIndex&))); connect(view, SIGNAL(doubleClicked(QModelIndex)), this, SIGNAL(doubleClicked(QModelIndex)));
connect(view, connect(view,
SIGNAL(customContextMenuRequested(const QPoint &)), SIGNAL(customContextMenuRequested(QPoint)),
this, this,
SLOT(contextualMenu(const QPoint &))); SLOT(contextualMenu(QPoint)));
connect(copyAddressAction, SIGNAL(triggered()), this, SLOT(copyAddress())); connect(copyAddressAction, SIGNAL(triggered()), this, SLOT(copyAddress()));
connect(copyLabelAction, SIGNAL(triggered()), this, SLOT(copyLabel())); connect(copyLabelAction, SIGNAL(triggered()), this, SLOT(copyLabel()));