From 3a528d873ff72828fb9b19bed38a2b869b449089 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:29:46 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32) --- kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp | 6 +++--- kmymoney2/plugins/ofximport/ofximporterplugin.cpp | 6 +++--- kmymoney2/plugins/ofximport/ofxpartner.cpp | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kmymoney2/plugins/ofximport') diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp index 1503cce..11ed77f 100644 --- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp @@ -109,9 +109,9 @@ void KOfxDirectConnectDlg::init(void) } m_job->addMetaData("content-type", "Content-type: application/x-ofx" ); - connect(m_job,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(slotOfxFinished(TDEIO::Job*))); - connect(m_job,TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&))); - connect(m_job,TQT_SIGNAL(connected(TDEIO::Job*)),this,TQT_SLOT(slotOfxConnected(TDEIO::Job*))); + connect(m_job,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(slotOfxFinished(TDEIO::Job*))); + connect(m_job,TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQ_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&))); + connect(m_job,TQ_SIGNAL(connected(TDEIO::Job*)),this,TQ_SLOT(slotOfxConnected(TDEIO::Job*))); setStatus(TQString("Contacting %1...").arg(m_connector.url())); kProgress1->setTotalSteps(3); diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp index 6fb668b..148d81e 100644 --- a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp +++ b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp @@ -65,7 +65,7 @@ OfxImporterPlugin::~OfxImporterPlugin() void OfxImporterPlugin::createActions(void) { - new TDEAction(i18n("OFX..."), "", 0, this, TQT_SLOT(slotImportFile()), actionCollection(), "file_import_ofx"); + new TDEAction(i18n("OFX..."), "", 0, this, TQ_SLOT(slotImportFile()), actionCollection(), "file_import_ofx"); } void OfxImporterPlugin::slotImportFile(void) @@ -633,8 +633,8 @@ bool OfxImporterPlugin::updateAccount(const MyMoneyAccount& acc, bool moreAccoun m_preferName = acc.onlineBankingSettings().value("kmmofx-preferName").toInt() != 0; KOfxDirectConnectDlg dlg(acc); - connect(&dlg, TQT_SIGNAL(statementReady(const TQString&)), - this, TQT_SLOT(slotImportFile(const TQString&))); + connect(&dlg, TQ_SIGNAL(statementReady(const TQString&)), + this, TQ_SLOT(slotImportFile(const TQString&))); dlg.init(); dlg.exec(); diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp index e04237a..ef5356a 100644 --- a/kmymoney2/plugins/ofximport/ofxpartner.cpp +++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp @@ -314,9 +314,9 @@ OfxHttpsRequest::OfxHttpsRequest(const TQString& type, const KURL &url, const TQ ts << "request:\n" << TQString(postData) << "\n" << "response:\n"; } - connect(m_job,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(slotOfxFinished(TDEIO::Job*))); - connect(m_job,TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&))); - connect(m_job,TQT_SIGNAL(connected(TDEIO::Job*)),this,TQT_SLOT(slotOfxConnected(TDEIO::Job*))); + connect(m_job,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(slotOfxFinished(TDEIO::Job*))); + connect(m_job,TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQ_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&))); + connect(m_job,TQ_SIGNAL(connected(TDEIO::Job*)),this,TQ_SLOT(slotOfxConnected(TDEIO::Job*))); tqApp->enter_loop(); } @@ -398,8 +398,8 @@ OfxHttpRequest::OfxHttpRequest(const TQString& type, const KURL &url, const TQBy m_job->request(header, postData, &f); - connect(m_job, TQT_SIGNAL(requestFinished(int, bool)), - this, TQT_SLOT(slotOfxFinished(int, bool))); + connect(m_job, TQ_SIGNAL(requestFinished(int, bool)), + this, TQ_SLOT(slotOfxFinished(int, bool))); tqApp->enter_loop(); -- cgit v1.2.1