diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:31:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:31:17 +0900 |
commit | c650254e1855d383dcafd15d18be20becc3b2253 (patch) | |
tree | 9c221c2e920b1f8e9098c6047d948833277659de /src/fetch/fetchmanager.cpp | |
parent | 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 (diff) | |
download | tellico-c650254e1855d383dcafd15d18be20becc3b2253.tar.gz tellico-c650254e1855d383dcafd15d18be20becc3b2253.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/fetch/fetchmanager.cpp')
-rw-r--r-- | src/fetch/fetchmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fetch/fetchmanager.cpp b/src/fetch/fetchmanager.cpp index 3903642..5e5d514 100644 --- a/src/fetch/fetchmanager.cpp +++ b/src/fetch/fetchmanager.cpp @@ -163,10 +163,10 @@ void Manager::startSearch(const TQString& source_, FetchKey key_, const TQString for(FetcherVec::Iterator it = m_fetchers.begin(); it != m_fetchers.end(); ++it, ++i) { if(source_ == it->source()) { ++m_count; // Fetcher::search() might emit done(), so increment before calling search() - connect(it.data(), TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)), - TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*))); - connect(it.data(), TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)), - TQT_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr))); + connect(it.data(), TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)), + TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*))); + connect(it.data(), TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)), + TQ_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr))); it->search(key_, value_); m_currentFetcherIndex = i; break; @@ -183,10 +183,10 @@ void Manager::continueSearch() { Fetcher::Ptr f = m_fetchers[m_currentFetcherIndex]; if(f && f->hasMoreResults()) { ++m_count; - connect(f, TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)), - TQT_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*))); - connect(f, TQT_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)), - TQT_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr))); + connect(f, TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*)), + TQ_SIGNAL(signalResultFound(Tellico::Fetch::SearchResult*))); + connect(f, TQ_SIGNAL(signalDone(Tellico::Fetch::Fetcher::Ptr)), + TQ_SLOT(slotFetcherDone(Tellico::Fetch::Fetcher::Ptr))); f->continueSearch(); } else { emit signalDone(); |