summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewequityentrydlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/knewequityentrydlg.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);