summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins/ofximport/ofxpartner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/plugins/ofximport/ofxpartner.cpp')
-rw-r--r--kmymoney2/plugins/ofximport/ofxpartner.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp
index 29765f4..804b542 100644
--- a/kmymoney2/plugins/ofximport/ofxpartner.cpp
+++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp
@@ -31,7 +31,7 @@
#include <tqdom.h>
#include <tqregexp.h>
#include <tqdir.h>
-#include <textstream.h>
+#include <tqtextstream.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -67,7 +67,7 @@ void setDirectory(const TQString& dir)
bool needReload(const TQFileInfo& i)
{
return ((!i.isReadable())
- || (i.lastModified().addDays(7) < TQDateTime::currentDateTime())
+ || (i.lastModified().addDays(7) < TQDateTime::tqcurrentDateTime())
|| (i.size() < 1024));
}
@@ -233,15 +233,15 @@ OfxFiServiceInfo ServiceInfo(const TQString& fipid)
attr["content-type"] = "application/x-www-form-urlencoded";
attr["accept"] = "*/*";
- KURL guidFile(TQString("%1fipid-%2.xml").arg(directory).arg(fipid));
+ KURL guidFile(TQString("%1fipid-%2.xml").tqarg(directory).tqarg(fipid));
// Apparently at some point in time, for VER=6 msn returned an online URL
// to a static error page (http://moneycentral.msn.com/cust404.htm).
// Increasing to VER=9 solved the problem. This may happen again in the
// future.
TQFileInfo i(guidFile.path());
- if(!i.isReadable() || i.lastModified().addDays(7) < TQDateTime::currentDateTime())
- get("", attr, KURL(TQString("http://moneycentral.msn.com/money/2005/mnynet/service/olsvcupd/OnlSvcBrandInfo.aspx?MSNGUID=&GUID=%1&SKU=3&VER=" VER).arg(fipid)), guidFile);
+ if(!i.isReadable() || i.lastModified().addDays(7) < TQDateTime::tqcurrentDateTime())
+ get("", attr, KURL(TQString("http://moneycentral.msn.com/money/2005/mnynet/service/olsvcupd/OnlSvcBrandInfo.aspx?MSNGUID=&GUID=%1&SKU=3&VER=" VER).tqarg(fipid)), guidFile);
TQFile f(guidFile.path());
if(f.open(IO_ReadOnly)) {
@@ -299,7 +299,7 @@ OfxHttpsRequest::OfxHttpsRequest(const TQString& type, const KURL &url, const TQ
{
TQDir homeDir(TQDir::home());
if(homeDir.exists("ofxlog.txt")) {
- d->m_fpTrace.setName(TQString("%1/ofxlog.txt").arg(TQDir::homeDirPath()));
+ d->m_fpTrace.setName(TQString("%1/ofxlog.txt").tqarg(TQDir::homeDirPath()));
d->m_fpTrace.open(IO_WriteOnly | IO_Append);
}
@@ -407,7 +407,7 @@ OfxHttpRequest::OfxHttpRequest(const TQString& type, const KURL &url, const TQBy
delete m_job;
} else {
m_error = TQHttp::Aborted;
- errorMsg = i18n("Cannot open file %1 for writing").arg(dst.path());
+ errorMsg = i18n("Cannot open file %1 for writing").tqarg(dst.path());
}
if(m_error != TQHttp::NoError) {