From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: 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 --- kmymoney2/dialogs/knewequityentrydlg.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kmymoney2/dialogs/knewequityentrydlg.cpp') 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); -- cgit v1.2.1