diff options
Diffstat (limited to 'kmymoney2/dialogs/kupdatestockpricedlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kupdatestockpricedlg.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.cpp b/kmymoney2/dialogs/kupdatestockpricedlg.cpp index 05eee8a..ef7bfab 100644 --- a/kmymoney2/dialogs/kupdatestockpricedlg.cpp +++ b/kmymoney2/dialogs/kupdatestockpricedlg.cpp @@ -34,10 +34,10 @@ #include "kupdatestockpricedlg.h" #include "../widgets/kmymoneycurrencyselector.h" -KUpdateStockPriceDlg::KUpdateStockPriceDlg(QWidget* parent, const char* name) : - kUpdateStockPriceDecl(parent, name, true) +KUpdateStockPriceDlg::KUpdateStockPriceDlg(TQWidget* tqparent, const char* name) : + kUpdateStockPriceDecl(tqparent, name, true) { - m_date->setDate(QDate::currentDate()); + m_date->setDate(TQDate::tqcurrentDate()); init(); } @@ -50,15 +50,15 @@ void KUpdateStockPriceDlg::init() m_okButton->setGuiItem(KStdGuiItem::ok()); m_cancelButton->setGuiItem(KStdGuiItem::cancel()); - connect(m_okButton, SIGNAL(clicked()), this, SLOT(accept())); - connect(m_cancelButton, SIGNAL(clicked()), this, SLOT(reject())); + connect(m_okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - connect(m_security, SIGNAL(activated(int)), this, SLOT(slotCheckData())); - connect(m_currency, SIGNAL(activated(int)), this, SLOT(slotCheckData())); + connect(m_security, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotCheckData())); + connect(m_currency, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotCheckData())); // load initial values into the selection widgets - m_currency->update(QString()); - m_security->update(QString()); + m_currency->update(TQString()); + m_security->update(TQString()); slotCheckData(); } @@ -71,8 +71,8 @@ int KUpdateStockPriceDlg::exec(void) void KUpdateStockPriceDlg::slotCheckData(void) { - QString from = m_security->security().id(); - QString to = m_currency->security().id(); + TQString from = m_security->security().id(); + TQString to = m_currency->security().id(); m_okButton->setEnabled(!from.isEmpty() && !to.isEmpty() && from != to); } |