diff options
Diffstat (limited to 'kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp')
-rw-r--r-- | kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp index d2b9880..c010ab6 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp @@ -48,16 +48,16 @@ #include <libofx/libofx.h> #include "mymoneyofxconnector.h" -KOnlineBankingtqStatus::KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *parent, const char *name) : +KOnlineBankingStatus::KOnlineBankingStatus(const MyMoneyAccount& acc, TQWidget *parent, const char *name) : KOnlineBankingStatusDecl(parent,name), m_appId(0) { - m_ledOnlinetqStatus->off(); + m_ledOnlineStatus->off(); // Set up online banking settings if applicable MyMoneyKeyValueContainer settings = acc.onlineBankingSettings(); - m_textOnlinetqStatus->setText(i18n("Enabled & configured")); - m_ledOnlinetqStatus->on(); + m_textOnlineStatus->setText(i18n("Enabled & configured")); + m_ledOnlineStatus->on(); TQString account = settings.value("accountid"); TQString bank = settings.value("bankname"); @@ -83,25 +83,25 @@ KOnlineBankingtqStatus::KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidg if (!specificDate.isEmpty()) m_specificDate->setDate(TQDate::fromString(specificDate)); else - m_specificDate->setDate(TQDate::tqcurrentDate()); - m_specificDate->setMaxValue(TQDate::tqcurrentDate()); + m_specificDate->setDate(TQDate::currentDate()); + m_specificDate->setMaxValue(TQDate::currentDate()); m_payeeidRB->setChecked(settings.value("kmmofx-preferPayeeid").isEmpty() || settings.value("kmmofx-preferPayeeid").toInt() != 0); m_nameRB->setChecked(!settings.value("kmmofx-preferName").isEmpty() && settings.value("kmmofx-preferName").toInt() != 0); } -KOnlineBankingtqStatus::~KOnlineBankingtqStatus() +KOnlineBankingStatus::~KOnlineBankingStatus() { delete m_appId; } -const TQString& KOnlineBankingtqStatus::appId(void) const +const TQString& KOnlineBankingStatus::appId(void) const { if(m_appId) return m_appId->appId(); return TQString(); } -TQString KOnlineBankingtqStatus::headerVersion(void) const +TQString KOnlineBankingStatus::headerVersion(void) const { if(m_headerVersion) return m_headerVersion->headerVersion(); |