[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kmymoney/4.5/kmymoney/wizards/newinvestmentwizard
From: Alvaro Soliverez <asoliverez () kde ! org>
Date: 2010-09-03 2:30:32
Message-ID: 20100903023033.03ACCAC883 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1171221 by asoliverez:
Ported to stable branch
BUG:249961
M +1 -1 kinvestmentdetailswizardpage.cpp
M +4 -0 kinvestmentdetailswizardpage.h
M +3 -3 kinvestmenttypewizardpage.cpp
M +2 -0 knewinvestmentwizard.cpp
--- branches/kmymoney/4.5/kmymoney/wizards/newinvestmentwizard/kinvestmentdetailswizardpage.cpp \
#1171220:1171221 @@ -121,7 +121,7 @@
void KInvestmentDetailsWizardPage::setupInvestmentSymbol()
{
m_investmentSymbol->setFocus();
- connect(m_investmentSymbol, SIGNAL(lineChanged(const QString&)), this, \
SLOT(slotCheckForExistingSymbol(const QString&))); + connect(m_investmentSymbol, \
SIGNAL(lineChanged(const QString&)), this, SIGNAL(checkForExistingSymbol(const \
QString&))); }
#include "kinvestmentdetailswizardpage.moc"
--- branches/kmymoney/4.5/kmymoney/wizards/newinvestmentwizard/kinvestmentdetailswizardpage.h \
#1171220:1171221 @@ -71,6 +71,10 @@
void setName(const QString& name);
void setupInvestmentSymbol();
+
+signals:
+ void checkForExistingSymbol(const QString& symbol);
+
};
#endif
--- branches/kmymoney/4.5/kmymoney/wizards/newinvestmentwizard/kinvestmenttypewizardpage.cpp \
#1171220:1171221 @@ -38,6 +38,9 @@
model->sort(0, Qt::AscendingOrder);
m_securityType->setModel(model);
+
+ // Register the fields with the QWizard
+ registerField("securityType", m_securityType, "currentText", \
SIGNAL(currentIndexChanged(const QString&))); }
void KInvestmentTypeWizardPage::init2(const MyMoneySecurity& security)
@@ -48,9 +51,6 @@
if (m_securityType->itemText(i) == text)
m_securityType->setCurrentIndex(i);
}
-
- // Register the fields with the QWizard
- registerField("securityType", m_securityType, "currentText", \
SIGNAL(currentIndexChanged(const QString&))); }
void KInvestmentTypeWizardPage::setIntroLabelText(const QString& text)
--- branches/kmymoney/4.5/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp \
#1171220:1171221 @@ -53,6 +53,8 @@
m_onlineUpdatePage->slotCheckPage(QString());
m_investmentDetailsPage->setupInvestmentSymbol();
+
+ connect(m_investmentDetailsPage, SIGNAL(checkForExistingSymbol(QString)), this, \
SLOT(slotCheckForExistingSymbol(QString))); }
KNewInvestmentWizard::KNewInvestmentWizard(const MyMoneyAccount& acc, QWidget \
*parent) :
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic