diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:31:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 10:31:17 +0900 |
commit | c650254e1855d383dcafd15d18be20becc3b2253 (patch) | |
tree | 9c221c2e920b1f8e9098c6047d948833277659de /src/fetch | |
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 <[email protected]>
Diffstat (limited to 'src/fetch')
-rw-r--r-- | src/fetch/amazonfetcher.cpp | 20 | ||||
-rw-r--r-- | src/fetch/animenfofetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/arxivfetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/bibsonomyfetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/citebasefetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/configwidget.cpp | 2 | ||||
-rw-r--r-- | src/fetch/crossreffetcher.cpp | 12 | ||||
-rw-r--r-- | src/fetch/discogsfetcher.cpp | 12 | ||||
-rw-r--r-- | src/fetch/entrezfetcher.cpp | 16 | ||||
-rw-r--r-- | src/fetch/execexternalfetcher.cpp | 16 | ||||
-rw-r--r-- | src/fetch/fetchmanager.cpp | 16 | ||||
-rw-r--r-- | src/fetch/gcstarpluginfetcher.cpp | 14 | ||||
-rw-r--r-- | src/fetch/googlescholarfetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/ibsfetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/imdbfetcher.cpp | 42 | ||||
-rw-r--r-- | src/fetch/isbndbfetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/srufetcher.cpp | 20 | ||||
-rw-r--r-- | src/fetch/yahoofetcher.cpp | 8 | ||||
-rw-r--r-- | src/fetch/z3950fetcher.cpp | 20 |
19 files changed, 127 insertions, 127 deletions
diff --git a/src/fetch/amazonfetcher.cpp b/src/fetch/amazonfetcher.cpp index 1cb6b0c..b018ff1 100644 --- a/src/fetch/amazonfetcher.cpp +++ b/src/fetch/amazonfetcher.cpp @@ -321,10 +321,10 @@ void AmazonFetcher::doSearch() { // myDebug() << "AmazonFetcher::search() - url: " << newUrl.url() << endl; m_job = TDEIO::get(newUrl, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void AmazonFetcher::stop() { @@ -869,8 +869,8 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher m_siteCombo->insertItem(i18n("Japan"), JP); m_siteCombo->insertItem(i18n("France"), FR); m_siteCombo->insertItem(i18n("Canada"), CA); - connect(m_siteCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); - connect(m_siteCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSiteChanged())); + connect(m_siteCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); + connect(m_siteCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSiteChanged())); l->addWidget(m_siteCombo, row, 1); TQString w = i18n("Amazon.com provides data from several different localized sites. Choose the one " "you wish to use for this data source."); @@ -885,7 +885,7 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher m_imageCombo->insertItem(i18n("Medium Image"), MediumImage); m_imageCombo->insertItem(i18n("Large Image"), LargeImage); m_imageCombo->insertItem(i18n("No Image"), NoImage); - connect(m_imageCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); + connect(m_imageCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_imageCombo, row, 1); w = i18n("The cover image may be downloaded as well. However, too many large images in the " "collection may degrade performance."); @@ -896,7 +896,7 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher label = new TQLabel(i18n("&Associate's ID: "), optionsWidget()); l->addWidget(label, ++row, 0); m_assocEdit = new KLineEdit(optionsWidget()); - connect(m_assocEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_assocEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_assocEdit, row, 1); w = i18n("The associate's id identifies the person accessing the Amazon.com Web Services, and is included " "in any links to the Amazon.com site."); @@ -907,13 +907,13 @@ AmazonFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const AmazonFetcher label = new TQLabel(i18n("Access key: "), optionsWidget()); l->addWidget(label, ++row, 0); m_accessEdit = new KLineEdit(optionsWidget()); - connect(m_accessEdit, SIGNAL(textChanged(const TQString&)), SLOT(slotSetModified())); + connect(m_accessEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_accessEdit, row, 1); label = new TQLabel(i18n("Secret Key: "), optionsWidget()); l->addWidget(label, ++row, 0); m_secretKeyEdit = new KLineEdit(optionsWidget()); - connect(m_secretKeyEdit, SIGNAL(textChanged(const TQString&)), SLOT(slotSetModified())); + connect(m_secretKeyEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_secretKeyEdit, row, 1); l->setRowStretch(++row, 10); diff --git a/src/fetch/animenfofetcher.cpp b/src/fetch/animenfofetcher.cpp index 9447a5f..e95f852 100644 --- a/src/fetch/animenfofetcher.cpp +++ b/src/fetch/animenfofetcher.cpp @@ -91,10 +91,10 @@ void AnimeNfoFetcher::search(FetchKey key_, const TQString& value_) { // myDebug() << "AnimeNfoFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void AnimeNfoFetcher::stop() { diff --git a/src/fetch/arxivfetcher.cpp b/src/fetch/arxivfetcher.cpp index ec3f8fb..8c06e21 100644 --- a/src/fetch/arxivfetcher.cpp +++ b/src/fetch/arxivfetcher.cpp @@ -96,10 +96,10 @@ void ArxivFetcher::doSearch() { } m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void ArxivFetcher::stop() { diff --git a/src/fetch/bibsonomyfetcher.cpp b/src/fetch/bibsonomyfetcher.cpp index 3e80b10..47d91cc 100644 --- a/src/fetch/bibsonomyfetcher.cpp +++ b/src/fetch/bibsonomyfetcher.cpp @@ -79,10 +79,10 @@ void BibsonomyFetcher::search(FetchKey key_, const TQString& value_) { } m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void BibsonomyFetcher::stop() { diff --git a/src/fetch/citebasefetcher.cpp b/src/fetch/citebasefetcher.cpp index 2b5a8db..22a4f46 100644 --- a/src/fetch/citebasefetcher.cpp +++ b/src/fetch/citebasefetcher.cpp @@ -80,10 +80,10 @@ void CitebaseFetcher::search(FetchKey key_, const TQString& value_) { } m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void CitebaseFetcher::stop() { diff --git a/src/fetch/configwidget.cpp b/src/fetch/configwidget.cpp index 052868c..9c707b2 100644 --- a/src/fetch/configwidget.cpp +++ b/src/fetch/configwidget.cpp @@ -45,7 +45,7 @@ void ConfigWidget::addFieldsWidget(const StringMap& customFields_, const TQStrin if(fieldsToAdd_.contains(it.key())) { cb->setChecked(true); } - connect(cb, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified())); + connect(cb, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified())); } TDEAcceleratorManager::manage(this); diff --git a/src/fetch/crossreffetcher.cpp b/src/fetch/crossreffetcher.cpp index 5029f08..cea642c 100644 --- a/src/fetch/crossreffetcher.cpp +++ b/src/fetch/crossreffetcher.cpp @@ -104,10 +104,10 @@ void CrossRefFetcher::search(FetchKey key_, const TQString& value_) { } m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void CrossRefFetcher::stop() { @@ -352,7 +352,7 @@ CrossRefFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CrossRefFet TQLabel* label = new TQLabel(i18n("&Username: "), optionsWidget()); l->addWidget(label, ++row, 0); m_userEdit = new KLineEdit(optionsWidget()); - connect(m_userEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_userEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_userEdit, row, 1); TQString w = i18n("A username and password is required to access the CrossRef service. The password is " "stored as plain text in the Tellico configuration file."); @@ -363,7 +363,7 @@ CrossRefFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const CrossRefFet label = new TQLabel(i18n("&Password: "), optionsWidget()); l->addWidget(label, ++row, 0); m_passEdit = new KLineEdit(optionsWidget()); - connect(m_passEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_passEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_passEdit, row, 1); TQWhatsThis::add(label, w); TQWhatsThis::add(m_passEdit, w); diff --git a/src/fetch/discogsfetcher.cpp b/src/fetch/discogsfetcher.cpp index ba4e65c..519a8d9 100644 --- a/src/fetch/discogsfetcher.cpp +++ b/src/fetch/discogsfetcher.cpp @@ -128,10 +128,10 @@ void DiscogsFetcher::doSearch() { // myDebug() << "DiscogsFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void DiscogsFetcher::stop() { @@ -357,7 +357,7 @@ DiscogsFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const DiscogsFetch l->addWidget(label, ++row, 0); m_apiKeyEdit = new KLineEdit(optionsWidget()); - connect(m_apiKeyEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_apiKeyEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_apiKeyEdit, row, 1); TQString w = i18n("With your discogs.com account you receive an API key for the usage of their XML-based interface " "(See http://www.discogs.com/help/api)."); @@ -366,7 +366,7 @@ DiscogsFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const DiscogsFetch label->setBuddy(m_apiKeyEdit); m_fetchImageCheck = new TQCheckBox(i18n("Download cover &image"), optionsWidget()); - connect(m_fetchImageCheck, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified())); + connect(m_fetchImageCheck, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified())); ++row; l->addMultiCellWidget(m_fetchImageCheck, row, row, 0, 1); w = i18n("The cover image may be downloaded as well. However, too many large images in the " diff --git a/src/fetch/entrezfetcher.cpp b/src/fetch/entrezfetcher.cpp index b1d2789..4b4bf59 100644 --- a/src/fetch/entrezfetcher.cpp +++ b/src/fetch/entrezfetcher.cpp @@ -131,10 +131,10 @@ void EntrezFetcher::search(FetchKey key_, const TQString& value_) { m_step = Search; // myLog() << "EntrezFetcher::doSearch() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void EntrezFetcher::continueSearch() { @@ -256,10 +256,10 @@ void EntrezFetcher::doSummary() { m_step = Summary; // myLog() << "EntrezFetcher::searchResults() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void EntrezFetcher::summaryResults() { diff --git a/src/fetch/execexternalfetcher.cpp b/src/fetch/execexternalfetcher.cpp index 73fcd27..26f9c2d 100644 --- a/src/fetch/execexternalfetcher.cpp +++ b/src/fetch/execexternalfetcher.cpp @@ -163,9 +163,9 @@ void ExecExternalFetcher::startSearch(const TQStringList& args_) { #endif m_process = new TDEProcess(); - connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(slotData(TDEProcess*, char*, int))); - connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(slotError(TDEProcess*, char*, int))); - connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*))); + connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(slotData(TDEProcess*, char*, int))); + connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQ_SLOT(slotError(TDEProcess*, char*, int))); + connect(m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*))); *m_process << m_path << args_; if(!m_process->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput)) { myDebug() << "ExecExternalFetcher::startSearch() - process failed to start" << endl; @@ -346,7 +346,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt TQLabel* label = new TQLabel(i18n("Collection &type:"), optionsWidget()); l->addWidget(label, ++row, 0); m_collCombo = new GUI::CollectionTypeCombo(optionsWidget()); - connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); + connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_collCombo, row, 1); TQString w = i18n("Set the collection type of the data returned from the external application."); TQWhatsThis::add(label, w); @@ -362,7 +362,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt m_formatCombo->insertItem(it.data(), it.key()); } } - connect(m_formatCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); + connect(m_formatCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_formatCombo, row, 1); w = i18n("Set the result type of the data returned from the external application."); TQWhatsThis::add(label, w); @@ -372,7 +372,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt label = new TQLabel(i18n("Application &path: "), optionsWidget()); l->addWidget(label, ++row, 0); m_pathEdit = new KURLRequester(optionsWidget()); - connect(m_pathEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_pathEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_pathEdit, row, 1); w = i18n("Set the path of the application to run that should output a valid Tellico data file."); TQWhatsThis::add(label, w); @@ -410,7 +410,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt cb->setChecked(false); le->setEnabled(false); } - connect(cb, TQT_SIGNAL(toggled(bool)), le, TQT_SLOT(setEnabled(bool))); + connect(cb, TQ_SIGNAL(toggled(bool)), le, TQ_SLOT(setEnabled(bool))); TQWhatsThis::add(cb, w); TQWhatsThis::add(le, w2); } @@ -435,7 +435,7 @@ ExecExternalFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const ExecExt m_cbUpdate->setChecked(false); m_leUpdate->setEnabled(false); } - connect(m_cbUpdate, TQT_SIGNAL(toggled(bool)), m_leUpdate, TQT_SLOT(setEnabled(bool))); + connect(m_cbUpdate, TQ_SIGNAL(toggled(bool)), m_leUpdate, TQ_SLOT(setEnabled(bool))); l->setRowStretch(++row, 1); 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(); diff --git a/src/fetch/gcstarpluginfetcher.cpp b/src/fetch/gcstarpluginfetcher.cpp index 336cccd..e5f7212 100644 --- a/src/fetch/gcstarpluginfetcher.cpp +++ b/src/fetch/gcstarpluginfetcher.cpp @@ -229,9 +229,9 @@ void GCstarPluginFetcher::search(FetchKey key_, const TQString& value_) { } m_process = new TDEProcess(); - connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQT_SLOT(slotData(TDEProcess*, char*, int))); - connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQT_SLOT(slotError(TDEProcess*, char*, int))); - connect(m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(slotProcessExited(TDEProcess*))); + connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), TQ_SLOT(slotData(TDEProcess*, char*, int))); + connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), TQ_SLOT(slotError(TDEProcess*, char*, int))); + connect(m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(slotProcessExited(TDEProcess*))); TQStringList args; args << gcstar << TQString::fromLatin1("-x") << TQString::fromLatin1("--collection") << gcstarCollection @@ -398,8 +398,8 @@ GCstarPluginFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const GCstarP TQLabel* label = new TQLabel(i18n("Collection &type:"), optionsWidget()); l->addWidget(label, ++row, 0); m_collCombo = new GUI::CollectionTypeCombo(optionsWidget()); - connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); - connect(m_collCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotTypeChanged())); + connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); + connect(m_collCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotTypeChanged())); l->addMultiCellWidget(m_collCombo, row, row, 1, 3); TQString w = i18n("Set the collection type of the data returned from the plugin."); TQWhatsThis::add(label, w); @@ -409,8 +409,8 @@ GCstarPluginFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const GCstarP label = new TQLabel(i18n("&Plugin: "), optionsWidget()); l->addWidget(label, ++row, 0); m_pluginCombo = new GUI::ComboBox(optionsWidget()); - connect(m_pluginCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); - connect(m_pluginCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotPluginChanged())); + connect(m_pluginCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); + connect(m_pluginCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotPluginChanged())); l->addMultiCellWidget(m_pluginCombo, row, row, 1, 3); w = i18n("Select the GCstar plugin used for the data source."); TQWhatsThis::add(label, w); diff --git a/src/fetch/googlescholarfetcher.cpp b/src/fetch/googlescholarfetcher.cpp index 8ac7d4d..d70d7bd 100644 --- a/src/fetch/googlescholarfetcher.cpp +++ b/src/fetch/googlescholarfetcher.cpp @@ -114,10 +114,10 @@ void GoogleScholarFetcher::doSearch() { // myDebug() << "GoogleScholarFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void GoogleScholarFetcher::stop() { diff --git a/src/fetch/ibsfetcher.cpp b/src/fetch/ibsfetcher.cpp index 404bc1c..061307c 100644 --- a/src/fetch/ibsfetcher.cpp +++ b/src/fetch/ibsfetcher.cpp @@ -110,12 +110,12 @@ void IBSFetcher::search(FetchKey key_, const TQString& value_) { // myDebug() << "IBSFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); if(key_ == ISBN) { - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotCompleteISBN(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotCompleteISBN(TDEIO::Job*))); } else { - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotComplete(TDEIO::Job*))); } } diff --git a/src/fetch/imdbfetcher.cpp b/src/fetch/imdbfetcher.cpp index 36b19a1..7427aa4 100644 --- a/src/fetch/imdbfetcher.cpp +++ b/src/fetch/imdbfetcher.cpp @@ -165,12 +165,12 @@ void IMDBFetcher::search(FetchKey key_, const TQString& value_) { #endif m_job = TDEIO::get(m_url, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); - connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)), - TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)), + TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); } void IMDBFetcher::continueSearch() { @@ -609,12 +609,12 @@ void IMDBFetcher::parseMultipleNameResults() { m_redirected = true; m_data.truncate(0); m_job = TDEIO::get(m_url, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); - connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)), - TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)), + TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); // do not stop() here } @@ -1109,12 +1109,12 @@ void IMDBFetcher::updateEntry(Data::EntryPtr entry_) { m_url = link; m_redirected = true; // m_redirected is used as a flag later to tell if we get a single result m_job = TDEIO::get(m_url, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); - connect(m_job, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL&)), - TQT_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL&)), + TQ_SLOT(slotRedirection(TDEIO::Job*, const KURL&))); return; } // optimistically try searching for title and rely on Collection::sameEntry() to figure things out @@ -1139,7 +1139,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget()); l->addWidget(label, ++row, 0); m_hostEdit = new KLineEdit(optionsWidget()); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_hostEdit, row, 1); TQString w = i18n("The Internet Movie Database uses several different servers. Choose the one " "you wish to use."); @@ -1150,7 +1150,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe label = new TQLabel(i18n("&Maximum cast: "), optionsWidget()); l->addWidget(label, ++row, 0); m_numCast = new KIntSpinBox(0, 99, 1, 10, 10, optionsWidget()); - connect(m_numCast, TQT_SIGNAL(valueChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_numCast, TQ_SIGNAL(valueChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_numCast, row, 1); w = i18n("The list of cast members may include many people. Set the maximum number returned from the search."); TQWhatsThis::add(label, w); @@ -1158,7 +1158,7 @@ IMDBFetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const IMDBFetcher* fe label->setBuddy(m_numCast); m_fetchImageCheck = new TQCheckBox(i18n("Download cover &image"), optionsWidget()); - connect(m_fetchImageCheck, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetModified())); + connect(m_fetchImageCheck, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetModified())); ++row; l->addMultiCellWidget(m_fetchImageCheck, row, row, 0, 1); w = i18n("The cover image may be downloaded as well. However, too many large images in the " diff --git a/src/fetch/isbndbfetcher.cpp b/src/fetch/isbndbfetcher.cpp index 7bf8486..cc8419d 100644 --- a/src/fetch/isbndbfetcher.cpp +++ b/src/fetch/isbndbfetcher.cpp @@ -134,10 +134,10 @@ void ISBNdbFetcher::doSearch() { // myDebug() << "ISBNdbFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void ISBNdbFetcher::stop() { diff --git a/src/fetch/srufetcher.cpp b/src/fetch/srufetcher.cpp index ec879b2..b10f40f 100644 --- a/src/fetch/srufetcher.cpp +++ b/src/fetch/srufetcher.cpp @@ -184,10 +184,10 @@ void SRUFetcher::search(FetchKey key_, const TQString& value_) { // myDebug() << u.prettyURL() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void SRUFetcher::stop() { @@ -439,9 +439,9 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ / TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget()); l->addWidget(label, ++row, 0); m_hostEdit = new GUI::LineEdit(optionsWidget()); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalName(const TQString&))); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotCheckHost())); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalName(const TQString&))); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotCheckHost())); l->addWidget(m_hostEdit, row, 1); TQString w = i18n("Enter the host name of the server."); TQWhatsThis::add(label, w); @@ -451,7 +451,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ / label = new TQLabel(i18n("&Port: "), optionsWidget()); l->addWidget(label, ++row, 0); m_portSpinBox = new KIntSpinBox(0, 999999, 1, SRU_DEFAULT_PORT, 10, optionsWidget()); - connect(m_portSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetModified())); + connect(m_portSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_portSpinBox, row, 1); w = i18n("Enter the port number of the server. The default is %1.").arg(SRU_DEFAULT_PORT); TQWhatsThis::add(label, w); @@ -461,7 +461,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ / label = new TQLabel(i18n("Path: "), optionsWidget()); l->addWidget(label, ++row, 0); m_pathEdit = new GUI::LineEdit(optionsWidget()); - connect(m_pathEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_pathEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_pathEdit, row, 1); w = i18n("Enter the path to the database used by the server."); TQWhatsThis::add(label, w); @@ -474,7 +474,7 @@ SRUConfigWidget::SRUConfigWidget(TQWidget* parent_, const SRUFetcher* fetcher_ / m_formatCombo->insertItem(TQString::fromLatin1("MODS"), TQString::fromLatin1("mods")); m_formatCombo->insertItem(TQString::fromLatin1("MARCXML"), TQString::fromLatin1("marcxml")); m_formatCombo->insertItem(TQString::fromLatin1("Dublin Core"), TQString::fromLatin1("dc")); - connect(m_formatCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetModified())); + connect(m_formatCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_formatCombo, row, 1); w = i18n("Enter the result format used by the server."); TQWhatsThis::add(label, w); diff --git a/src/fetch/yahoofetcher.cpp b/src/fetch/yahoofetcher.cpp index 9e73b50..474fc7c 100644 --- a/src/fetch/yahoofetcher.cpp +++ b/src/fetch/yahoofetcher.cpp @@ -120,10 +120,10 @@ void YahooFetcher::doSearch() { // myDebug() << "YahooFetcher::search() - url: " << u.url() << endl; m_job = TDEIO::get(u, false, false); - connect(m_job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), - TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); - connect(m_job, TQT_SIGNAL(result(TDEIO::Job*)), - TQT_SLOT(slotComplete(TDEIO::Job*))); + connect(m_job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&))); + connect(m_job, TQ_SIGNAL(result(TDEIO::Job*)), + TQ_SLOT(slotComplete(TDEIO::Job*))); } void YahooFetcher::stop() { diff --git a/src/fetch/z3950fetcher.cpp b/src/fetch/z3950fetcher.cpp index bd517ae..f65d83e 100644 --- a/src/fetch/z3950fetcher.cpp +++ b/src/fetch/z3950fetcher.cpp @@ -517,9 +517,9 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* m_usePreset = new TQCheckBox(i18n("Use preset &server:"), optionsWidget()); l->addWidget(m_usePreset, ++row, 0); - connect(m_usePreset, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotTogglePreset(bool))); + connect(m_usePreset, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotTogglePreset(bool))); m_serverCombo = new GUI::ComboBox(optionsWidget()); - connect(m_serverCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotPresetChanged())); + connect(m_serverCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotPresetChanged())); l->addWidget(m_serverCombo, row, 1); ++row; l->addMultiCellWidget(new KSeparator(optionsWidget()), row, row, 0, 1); @@ -528,8 +528,8 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* TQLabel* label = new TQLabel(i18n("Hos&t: "), optionsWidget()); l->addWidget(label, ++row, 0); m_hostEdit = new GUI::LineEdit(optionsWidget()); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); - connect(m_hostEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalName(const TQString&))); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); + connect(m_hostEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalName(const TQString&))); l->addWidget(m_hostEdit, row, 1); TQString w = i18n("Enter the host name of the server."); TQWhatsThis::add(label, w); @@ -539,7 +539,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* label = new TQLabel(i18n("&Port: "), optionsWidget()); l->addWidget(label, ++row, 0); m_portSpinBox = new KIntSpinBox(0, 999999, 1, Z3950_DEFAULT_PORT, 10, optionsWidget()); - connect(m_portSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetModified())); + connect(m_portSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetModified())); l->addWidget(m_portSpinBox, row, 1); w = i18n("Enter the port number of the server. The default is %1.").arg(Z3950_DEFAULT_PORT); TQWhatsThis::add(label, w); @@ -549,7 +549,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* label = new TQLabel(i18n("&Database: "), optionsWidget()); l->addWidget(label, ++row, 0); m_databaseEdit = new GUI::LineEdit(optionsWidget()); - connect(m_databaseEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_databaseEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_databaseEdit, row, 1); w = i18n("Enter the database name used by the server."); TQWhatsThis::add(label, w); @@ -563,7 +563,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* m_charSetCombo->insertItem(TQString::fromLatin1("marc8")); m_charSetCombo->insertItem(TQString::fromLatin1("iso-8859-1")); m_charSetCombo->insertItem(TQString::fromLatin1("utf-8")); - connect(m_charSetCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_charSetCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_charSetCombo, row, 1); w = i18n("Enter the character set encoding used by the z39.50 server. The most likely choice " "is MARC-8, although ISO-8859-1 is common as well."); @@ -580,7 +580,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* m_syntaxCombo->insertItem(TQString::fromLatin1("UNIMARC"), TQString::fromLatin1("unimarc")); m_syntaxCombo->insertItem(TQString::fromLatin1("USMARC"), TQString::fromLatin1("usmarc")); m_syntaxCombo->insertItem(TQString::fromLatin1("GRS-1"), TQString::fromLatin1("grs-1")); - connect(m_syntaxCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_syntaxCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_syntaxCombo, row, 1); w = i18n("Enter the data format used by the z39.50 server. Tellico will attempt to " "automatically detect the best setting if <i>auto-detect</i> is selected."); @@ -592,7 +592,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* l->addWidget(label, ++row, 0); m_userEdit = new GUI::LineEdit(optionsWidget()); m_userEdit->setHint(i18n("Optional")); - connect(m_userEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_userEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_userEdit, row, 1); w = i18n("Enter the authentication user name used by the z39.50 database. Most servers " "do not need one."); @@ -605,7 +605,7 @@ Z3950Fetcher::ConfigWidget::ConfigWidget(TQWidget* parent_, const Z3950Fetcher* m_passwordEdit = new GUI::LineEdit(optionsWidget()); m_passwordEdit->setHint(i18n("Optional")); m_passwordEdit->setEchoMode(TQLineEdit::Password); - connect(m_passwordEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotSetModified())); + connect(m_passwordEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotSetModified())); l->addWidget(m_passwordEdit, row, 1); w = i18n("Enter the authentication password used by the z39.50 database. Most servers " "do not need one. The password will be saved in plain text in the Tellico " |