summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp')
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
index 6e5cef9..8ca0aac 100644
--- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
@@ -26,11 +26,11 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
-#include <qdatetimeedit.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqspinbox.h>
+#include <tqdatetimeedit.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -48,22 +48,22 @@
#include <libofx/libofx.h>
#include "mymoneyofxconnector.h"
-KOnlineBankingStatus::KOnlineBankingStatus(const MyMoneyAccount& acc, QWidget *parent, const char *name) :
- KOnlineBankingStatusDecl(parent,name),
+KOnlineBankingtqStatus::KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *tqparent, const char *name) :
+ KOnlineBankingStatusDecl(tqparent,name),
m_appId(0)
{
- m_ledOnlineStatus->off();
+ m_ledOnlinetqStatus->off();
// Set up online banking settings if applicable
MyMoneyKeyValueContainer settings = acc.onlineBankingSettings();
- m_textOnlineStatus->setText(i18n("Enabled & configured"));
- m_ledOnlineStatus->on();
+ m_textOnlinetqStatus->setText(i18n("Enabled & configured"));
+ m_ledOnlinetqStatus->on();
- QString account = settings.value("accountid");
- QString bank = settings.value("bankname");
- QString bankid = QString("%1 %2").arg(settings.value("bankid")).arg(settings.value("branchid"));
+ TQString account = settings.value("accountid");
+ TQString bank = settings.value("bankname");
+ TQString bankid = TQString("%1 %2").tqarg(settings.value("bankid")).tqarg(settings.value("branchid"));
if ( bankid.length() > 1 )
- bank += QString(" (%1)").arg(bankid);
+ bank += TQString(" (%1)").tqarg(bankid);
m_textBank->setText(bank);
m_textOnlineAccount->setText(account);
@@ -71,7 +71,7 @@ KOnlineBankingStatus::KOnlineBankingStatus(const MyMoneyAccount& acc, QWidget *p
m_headerVersion = new OfxHeaderVersion(m_headerVersionCombo, settings.value("kmmofx-headerVersion"));
int numDays = 60;
- QString snumDays = settings.value("kmmofx-numRequestDays");
+ TQString snumDays = settings.value("kmmofx-numRequestDays");
if (!snumDays.isEmpty())
numDays = snumDays.toInt();
m_numdaysSpin->setValue(numDays);
@@ -79,33 +79,33 @@ KOnlineBankingStatus::KOnlineBankingStatus(const MyMoneyAccount& acc, QWidget *p
m_lastUpdateRB->setChecked(!settings.value("kmmofx-lastUpdate").isEmpty() && settings.value("kmmofx-lastUpdate").toInt() != 0);
m_lastUpdateTXT->setText(acc.value("lastImportedTransactionDate"));
m_pickDateRB->setChecked(!settings.value("kmmofx-pickDate").isEmpty() && settings.value("kmmofx-pickDate").toInt() != 0);
- QString specificDate = settings.value("kmmofx-specificDate");
+ TQString specificDate = settings.value("kmmofx-specificDate");
if (!specificDate.isEmpty())
- m_specificDate->setDate(QDate::fromString(specificDate));
+ m_specificDate->setDate(TQDate::fromString(specificDate));
else
- m_specificDate->setDate(QDate::currentDate());
- m_specificDate->setMaxValue(QDate::currentDate());
+ m_specificDate->setDate(TQDate::tqcurrentDate());
+ m_specificDate->setMaxValue(TQDate::tqcurrentDate());
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);
}
-KOnlineBankingStatus::~KOnlineBankingStatus()
+KOnlineBankingtqStatus::~KOnlineBankingtqStatus()
{
delete m_appId;
}
-const QString& KOnlineBankingStatus::appId(void) const
+const TQString& KOnlineBankingtqStatus::appId(void) const
{
if(m_appId)
return m_appId->appId();
- return QString::null;
+ return TQString();
}
-QString KOnlineBankingStatus::headerVersion(void) const
+TQString KOnlineBankingtqStatus::headerVersion(void) const
{
if(m_headerVersion)
return m_headerVersion->headerVersion();
- return QString::null;
+ return TQString();
}
#include "konlinebankingstatus.moc"