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-07 14:53:04 +0900 |
| commit | aa5bb4434eb6b60314787106284ad99294de4468 (patch) | |
| tree | 3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/fetch/fetchmanager.cpp | |
| parent | 727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff) | |
| download | tellico-aa5bb4434eb6b60314787106284ad99294de4468.tar.gz tellico-aa5bb4434eb6b60314787106284ad99294de4468.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
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(); |
