summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewequityentrydlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/knewequityentrydlg.cpp')
-rw-r--r--kmymoney2/dialogs/knewequityentrydlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/dialogs/knewequityentrydlg.cpp b/kmymoney2/dialogs/knewequityentrydlg.cpp
index 86a1ab8..29a91b3 100644
--- a/kmymoney2/dialogs/knewequityentrydlg.cpp
+++ b/kmymoney2/dialogs/knewequityentrydlg.cpp
@@ -36,19 +36,19 @@
#include "../widgets/kmymoneyedit.h"
#include "../mymoney/mymoneymoney.h"
-KNewEquityEntryDlg::KNewEquityEntryDlg(QWidget *parent, const char *name)
- : kNewEquityEntryDecl(parent, name, TRUE)
+KNewEquityEntryDlg::KNewEquityEntryDlg(TQWidget *tqparent, const char *name)
+ : kNewEquityEntryDecl(tqparent, name, TRUE)
{
edtFraction->setCalculatorButtonVisible(false);
edtFraction->setPrecision(0);
edtFraction->loadText("100");
- connect(btnOK, SIGNAL(clicked()), this, SLOT(onOKClicked()));
- connect(btnCancel, SIGNAL(clicked()), this, SLOT(reject()));
+ connect(btnOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(onOKClicked()));
+ connect(btnCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(edtFraction, SIGNAL(textChanged(const QString&)), this, SLOT(slotDataChanged()));
- connect(edtMarketSymbol, SIGNAL(textChanged(const QString&)), this, SLOT(slotDataChanged()));
- connect(edtEquityName, SIGNAL(textChanged(const QString&)), this, SLOT(slotDataChanged()));
+ connect(edtFraction, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
+ connect(edtMarketSymbol, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
+ connect(edtEquityName, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
// add icons to buttons
btnOK->setGuiItem(KStdGuiItem::ok());
@@ -72,13 +72,13 @@ void KNewEquityEntryDlg::onOKClicked()
accept();
}
-void KNewEquityEntryDlg::setSymbolName(const QString& str)
+void KNewEquityEntryDlg::setSymbolName(const TQString& str)
{
m_strSymbolName = str;
edtMarketSymbol->setText(m_strSymbolName);
}
-void KNewEquityEntryDlg::setName(const QString& str)
+void KNewEquityEntryDlg::setName(const TQString& str)
{
m_strName = str;
edtEquityName->setText(m_strName);