summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:52:07 +0900
commite84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch)
tree43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2/converter
parentda9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff)
downloadkmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz
kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/converter')
-rw-r--r--kmymoney2/converter/mymoneyqifreader.cpp10
-rw-r--r--kmymoney2/converter/webpricequote.cpp26
2 files changed, 18 insertions, 18 deletions
diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp
index 372e34a..1a4b893 100644
--- a/kmymoney2/converter/mymoneyqifreader.cpp
+++ b/kmymoney2/converter/mymoneyqifreader.cpp
@@ -254,10 +254,10 @@ MyMoneyQifReader::MyMoneyQifReader() :
m_warnedSecurity = false;
m_warnedPrice = false;
- connect(&m_filter, TQT_SIGNAL(wroteStdin(TDEProcess*)), this, TQT_SLOT(slotSendDataToFilter()));
- connect(&m_filter, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(&m_filter, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotImportFinished()));
- connect(&m_filter, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedErrorFromFilter(TDEProcess*, char*, int)));
+ connect(&m_filter, TQ_SIGNAL(wroteStdin(TDEProcess*)), this, TQ_SLOT(slotSendDataToFilter()));
+ connect(&m_filter, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(&m_filter, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotImportFinished()));
+ connect(&m_filter, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedErrorFromFilter(TDEProcess*, char*, int)));
}
MyMoneyQifReader::~MyMoneyQifReader()
@@ -337,7 +337,7 @@ void MyMoneyQifReader::slotImportFinished(void)
m_qifLines << TQString::fromUtf8(m_lineBuffer.stripWhiteSpace());
}
tqDebug("Read %ld bytes", m_pos);
- TQTimer::singleShot(0, this, TQT_SLOT(slotProcessData()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotProcessData()));
}
void MyMoneyQifReader::slotProcessData(void)
diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp
index b6732dd..536139c 100644
--- a/kmymoney2/converter/webpricequote.cpp
+++ b/kmymoney2/converter/webpricequote.cpp
@@ -61,7 +61,7 @@ WebPriceQuote::WebPriceQuote( TQObject* _parent, const char* _name ):
{
m_financeQuoteScriptPath =
TDEGlobal::dirs()->findResource("appdata", TQString("misc/financequote.pl"));
- connect(&m_filter,TQT_SIGNAL(processExited(const TQString&)),this,TQT_SLOT(slotParseQuote(const TQString&)));
+ connect(&m_filter,TQ_SIGNAL(processExited(const TQString&)),this,TQ_SLOT(slotParseQuote(const TQString&)));
}
WebPriceQuote::~WebPriceQuote()
@@ -222,8 +222,8 @@ bool WebPriceQuote::download(const KURL& u, TQString & target, TQWidget* window)
TDEIO::Job * job = TDEIO::file_copy( u, dest, -1, true, false, false );
job->setWindow (window);
job->addMetaData("cache", "reload"); // bypass cache
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
enter_loop();
return bJobOK;
@@ -731,8 +731,8 @@ void WebPriceQuoteSource::remove(void) const
WebPriceQuoteProcess::WebPriceQuoteProcess(void)
{
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)));
}
void WebPriceQuoteProcess::slotReceivedDataFromFilter(TDEProcess* /*_process*/, char* _pcbuffer, int _nbufferlen)
@@ -813,8 +813,8 @@ FinanceQuoteProcess::FinanceQuoteProcess(void)
m_fqNames["yahoo_europe"] = "Yahoo Europe";
m_fqNames["yahoo_nz"] = "Yahoo New Zealand";
m_fqNames["zifunds"] = "Zuerich Investments";
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)));
}
void FinanceQuoteProcess::slotReceivedDataFromFilter(TDEProcess* /*_process*/, char* _pcbuffer, int _nbufferlen)
@@ -1017,12 +1017,12 @@ TQDate MyMoneyDateFormat::convertString(const TQString& _in, bool _strict, unsig
convertertest::QuoteReceiver::QuoteReceiver(WebPriceQuote* q, TQObject* parent, const char *name) :
TQObject(parent,name)
{
- connect(q,TQT_SIGNAL(quote(const TQString&,const TQDate&, const double&)),
- this,TQT_SLOT(slotGetQuote(const TQString&,const TQDate&, const double&)));
- connect(q,TQT_SIGNAL(status(const TQString&)),
- this,TQT_SLOT(slotStatus(const TQString&)));
- connect(q,TQT_SIGNAL(error(const TQString&)),
- this,TQT_SLOT(slotError(const TQString&)));
+ connect(q,TQ_SIGNAL(quote(const TQString&,const TQDate&, const double&)),
+ this,TQ_SLOT(slotGetQuote(const TQString&,const TQDate&, const double&)));
+ connect(q,TQ_SIGNAL(status(const TQString&)),
+ this,TQ_SLOT(slotStatus(const TQString&)));
+ connect(q,TQ_SIGNAL(error(const TQString&)),
+ this,TQ_SLOT(slotError(const TQString&)));
}
convertertest::QuoteReceiver::~QuoteReceiver()