summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins/ofximport/dialogs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
commita37fd34f6b4c37d51ebdcc3ad3c53b19336bd838 (patch)
tree99805ceff437ff257cb1ab4fc5c5aac87346841c /kmymoney2/plugins/ofximport/dialogs
parentf42d56d07c1ec8adc1857b47328a5fc4109662c5 (diff)
downloadkmymoney-a37fd34f6b4c37d51ebdcc3ad3c53b19336bd838.tar.gz
kmymoney-a37fd34f6b4c37d51ebdcc3ad3c53b19336bd838.zip
Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q*
This fixes the Kopete MSN protocol among other things git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/plugins/ofximport/dialogs')
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp2
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp18
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h2
3 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp
index 6d57e49..7287c6a 100644
--- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp
@@ -237,7 +237,7 @@ bool KOnlineBankingSetupWizard::finishLoginPage(void)
strncpy(fi.appid, exp.cap(1).latin1(), OFX_APPID_LENGTH-1);
strncpy(fi.appver, exp.cap(2).latin1(), OFX_APPVER_LENGTH-1);
} else {
- strncpy(fi.appid, "TQWIN", OFX_APPID_LENGTH-1);
+ strncpy(fi.appid, "QWIN", OFX_APPID_LENGTH-1);
strncpy(fi.appver, "1700", OFX_APPVER_LENGTH-1);
}
diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
index 71897d2..28f9e29 100644
--- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
@@ -78,12 +78,12 @@ OfxAppVersion::OfxAppVersion(KComboBox* combo, const TQString& appId) :
// http://ofxblog.wordpress.com/2007/06/06/ofx-appid-and-appver-for-microsoft-money/
// Quicken
- m_appMap[i18n("Quicken Windows 2003")] = "TQWIN:1200";
- m_appMap[i18n("Quicken Windows 2004")] = "TQWIN:1300";
- m_appMap[i18n("Quicken Windows 2005")] = "TQWIN:1400";
- m_appMap[i18n("Quicken Windows 2006")] = "TQWIN:1500";
- m_appMap[i18n("Quicken Windows 2007")] = "TQWIN:1600";
- m_appMap[i18n("Quicken Windows 2008")] = "TQWIN:1700";
+ m_appMap[i18n("Quicken Windows 2003")] = "QWIN:1200";
+ m_appMap[i18n("Quicken Windows 2004")] = "QWIN:1300";
+ m_appMap[i18n("Quicken Windows 2005")] = "QWIN:1400";
+ m_appMap[i18n("Quicken Windows 2006")] = "QWIN:1500";
+ m_appMap[i18n("Quicken Windows 2007")] = "QWIN:1600";
+ m_appMap[i18n("Quicken Windows 2008")] = "QWIN:1700";
// MS-Money
m_appMap[i18n("MS-Money 2003")] = "Money:1100";
@@ -120,7 +120,7 @@ OfxAppVersion::OfxAppVersion(KComboBox* combo, const TQString& appId) :
const TQString& OfxAppVersion::appId(void) const
{
- static TQString defaultAppId("TQWIN:1700");
+ static TQString defaultAppId("QWIN:1700");
TQString app = m_combo->currentText();
if(m_appMap[app] != defaultAppId)
@@ -275,7 +275,7 @@ void MyMoneyOfxConnector::initRequest(OfxFiLogin* fi) const
strncpy(fi->appid, exp.cap(1).latin1(), OFX_APPID_LENGTH-1);
strncpy(fi->appver, exp.cap(2).latin1(), OFX_APPVER_LENGTH-1);
} else {
- strncpy(fi->appid, "TQWIN", OFX_APPID_LENGTH-1);
+ strncpy(fi->appid, "QWIN", OFX_APPID_LENGTH-1);
strncpy(fi->appver, "1700", OFX_APPVER_LENGTH-1);
}
@@ -401,7 +401,7 @@ MyMoneyOfxConnector::Tag MyMoneyOfxConnector::signOn(void) const
.element("USERPASS",password())
.element("LANGUAGE","ENG")
.subtag(fi)
- .element("APPID","TQWIN")
+ .element("APPID","QWIN")
.element("APPVER","1100"));
}
diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
index 56497f2..ccb3ee6 100644
--- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
@@ -65,7 +65,7 @@ public:
/**
* This method returns the currently selected application id
* as a colon separated value consisting of the application
- * and version (eg. "TQWIN:1700"). If current value is the
+ * and version (eg. "QWIN:1700"). If current value is the
* default, an empty string is returned.
*/
const TQString& appId(void) const;