@ -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/
// http://ofxblog.wordpress.com/2007/06/06/ofx-appid-and-appver-for-microsoft-money/
// Quicken
// Quicken
m_appMap [ i18n ( " Quicken Windows 2003 " ) ] = " T QWIN:1200" ;
m_appMap [ i18n ( " Quicken Windows 2003 " ) ] = " QWIN:1200" ;
m_appMap [ i18n ( " Quicken Windows 2004 " ) ] = " T QWIN:1300" ;
m_appMap [ i18n ( " Quicken Windows 2004 " ) ] = " QWIN:1300" ;
m_appMap [ i18n ( " Quicken Windows 2005 " ) ] = " T QWIN:1400" ;
m_appMap [ i18n ( " Quicken Windows 2005 " ) ] = " QWIN:1400" ;
m_appMap [ i18n ( " Quicken Windows 2006 " ) ] = " T QWIN:1500" ;
m_appMap [ i18n ( " Quicken Windows 2006 " ) ] = " QWIN:1500" ;
m_appMap [ i18n ( " Quicken Windows 2007 " ) ] = " T QWIN:1600" ;
m_appMap [ i18n ( " Quicken Windows 2007 " ) ] = " QWIN:1600" ;
m_appMap [ i18n ( " Quicken Windows 2008 " ) ] = " T QWIN:1700" ;
m_appMap [ i18n ( " Quicken Windows 2008 " ) ] = " QWIN:1700" ;
// MS-Money
// MS-Money
m_appMap [ i18n ( " MS-Money 2003 " ) ] = " Money:1100 " ;
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
const TQString & OfxAppVersion : : appId ( void ) const
{
{
static TQString defaultAppId ( " T QWIN:1700" ) ;
static TQString defaultAppId ( " QWIN:1700" ) ;
TQString app = m_combo - > currentText ( ) ;
TQString app = m_combo - > currentText ( ) ;
if ( m_appMap [ app ] ! = defaultAppId )
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 - > appid , exp . cap ( 1 ) . latin1 ( ) , OFX_APPID_LENGTH - 1 ) ;
strncpy ( fi - > appver , exp . cap ( 2 ) . latin1 ( ) , OFX_APPVER_LENGTH - 1 ) ;
strncpy ( fi - > appver , exp . cap ( 2 ) . latin1 ( ) , OFX_APPVER_LENGTH - 1 ) ;
} else {
} else {
strncpy ( fi - > appid , " T QWIN" , OFX_APPID_LENGTH - 1 ) ;
strncpy ( fi - > appid , " QWIN" , OFX_APPID_LENGTH - 1 ) ;
strncpy ( fi - > appver , " 1700 " , OFX_APPVER_LENGTH - 1 ) ;
strncpy ( fi - > appver , " 1700 " , OFX_APPVER_LENGTH - 1 ) ;
}
}
@ -401,7 +401,7 @@ MyMoneyOfxConnector::Tag MyMoneyOfxConnector::signOn(void) const
. element ( " USERPASS " , password ( ) )
. element ( " USERPASS " , password ( ) )
. element ( " LANGUAGE " , " ENG " )
. element ( " LANGUAGE " , " ENG " )
. subtag ( fi )
. subtag ( fi )
. element ( " APPID " , " T QWIN" )
. element ( " APPID " , " QWIN" )
. element ( " APPVER " , " 1100 " ) ) ;
. element ( " APPVER " , " 1100 " ) ) ;
}
}