aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-02 10:13:29 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-02 10:13:29 +0200
commitbb82fdb543b90cee0026784ed32d705d468aacbb (patch)
treef15c709e46b4813c7e926d5e2e51e923b04af9e9 /src
parentf48b4c88978e11916d0cb134f9ff89a25383d339 (diff)
"Receive coins" instead of "Receiving addresses"
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp28
-rw-r--r--src/qt/bitcoingui.h8
2 files changed, 17 insertions, 19 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index eeca18eff3..f6b87c5459 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -25,14 +25,12 @@
#include <QIcon>
#include <QTabWidget>
#include <QVBoxLayout>
-#include <QWidget>
#include <QToolBar>
#include <QStatusBar>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QLocale>
-#include <QClipboard>
#include <QMessageBox>
#include <QProgressBar>
@@ -54,12 +52,12 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
// Menus
QMenu *file = menuBar()->addMenu("&File");
- file->addAction(sendcoins);
+ file->addAction(sendCoins);
+ file->addAction(receiveCoins);
file->addSeparator();
file->addAction(quit);
QMenu *settings = menuBar()->addMenu("&Settings");
- settings->addAction(receivingAddresses);
settings->addAction(options);
QMenu *help = menuBar()->addMenu("&Help");
@@ -68,9 +66,9 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
// Toolbar
QToolBar *toolbar = addToolBar("Main toolbar");
toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
- toolbar->addAction(sendcoins);
+ toolbar->addAction(sendCoins);
+ toolbar->addAction(receiveCoins);
toolbar->addAction(addressbook);
- toolbar->addAction(receivingAddresses);
// Balance: <balance>
QHBoxLayout *hbox_balance = new QHBoxLayout();
@@ -132,23 +130,23 @@ void BitcoinGUI::createActions()
{
quit = new QAction(QIcon(":/icons/quit"), tr("&Exit"), this);
quit->setToolTip(tr("Quit application"));
- sendcoins = new QAction(QIcon(":/icons/send"), tr("&Send coins"), this);
- sendcoins->setToolTip(tr("Send coins to a bitcoin address"));
+ sendCoins = new QAction(QIcon(":/icons/send"), tr("&Send coins"), this);
+ sendCoins->setToolTip(tr("Send coins to a bitcoin address"));
addressbook = new QAction(QIcon(":/icons/address-book"), tr("&Address Book"), this);
addressbook->setToolTip(tr("Edit the list of stored addresses and labels"));
about = new QAction(QIcon(":/icons/bitcoin"), tr("&About"), this);
about->setToolTip(tr("Show information about Bitcoin"));
- receivingAddresses = new QAction(QIcon(":/icons/receiving_addresses"), tr("&Receiving Addresses..."), this);
- receivingAddresses->setToolTip(tr("Show the list of addresses for receiving payments"));
+ receiveCoins = new QAction(QIcon(":/icons/receiving_addresses"), tr("&Receive coins"), this);
+ receiveCoins->setToolTip(tr("Show the list of addresses for receiving payments"));
options = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);
options->setToolTip(tr("Modify configuration options for bitcoin"));
openBitcoin = new QAction(QIcon(":/icons/bitcoin"), "Open &Bitcoin", this);
openBitcoin->setToolTip(tr("Show the Bitcoin window"));
connect(quit, SIGNAL(triggered()), qApp, SLOT(quit()));
- connect(sendcoins, SIGNAL(triggered()), this, SLOT(sendcoinsClicked()));
+ connect(sendCoins, SIGNAL(triggered()), this, SLOT(sendCoinsClicked()));
connect(addressbook, SIGNAL(triggered()), this, SLOT(addressbookClicked()));
- connect(receivingAddresses, SIGNAL(triggered()), this, SLOT(receivingAddressesClicked()));
+ connect(receiveCoins, SIGNAL(triggered()), this, SLOT(receiveCoinsClicked()));
connect(options, SIGNAL(triggered()), this, SLOT(optionsClicked()));
connect(about, SIGNAL(triggered()), this, SLOT(aboutClicked()));
connect(openBitcoin, SIGNAL(triggered()), this, SLOT(show()));
@@ -206,7 +204,7 @@ void BitcoinGUI::createTrayIcon()
{
QMenu *trayIconMenu = new QMenu(this);
trayIconMenu->addAction(openBitcoin);
- trayIconMenu->addAction(sendcoins);
+ trayIconMenu->addAction(sendCoins);
trayIconMenu->addAction(options);
trayIconMenu->addSeparator();
trayIconMenu->addAction(quit);
@@ -229,7 +227,7 @@ void BitcoinGUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason)
}
}
-void BitcoinGUI::sendcoinsClicked()
+void BitcoinGUI::sendCoinsClicked()
{
SendCoinsDialog dlg;
dlg.setModel(walletModel);
@@ -244,7 +242,7 @@ void BitcoinGUI::addressbookClicked()
dlg.exec();
}
-void BitcoinGUI::receivingAddressesClicked()
+void BitcoinGUI::receiveCoinsClicked()
{
AddressBookDialog dlg(AddressBookDialog::ForEditing);
dlg.setModel(walletModel->getAddressTableModel());
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h
index 954953727e..046186c562 100644
--- a/src/qt/bitcoingui.h
+++ b/src/qt/bitcoingui.h
@@ -51,10 +51,10 @@ private:
QProgressBar *progressBar;
QAction *quit;
- QAction *sendcoins;
+ QAction *sendCoins;
QAction *addressbook;
QAction *about;
- QAction *receivingAddresses;
+ QAction *receiveCoins;
QAction *options;
QAction *openBitcoin;
@@ -78,10 +78,10 @@ public slots:
void askFee(qint64 nFeeRequired, bool *payFee);
private slots:
- void sendcoinsClicked();
+ void sendCoinsClicked();
void addressbookClicked();
void optionsClicked();
- void receivingAddressesClicked();
+ void receiveCoinsClicked();
void aboutClicked();
void trayIconActivated(QSystemTrayIcon::ActivationReason reason);
void transactionDetails(const QModelIndex& idx);