diff options
Diffstat (limited to 'plugins/search')
-rw-r--r-- | plugins/search/htmlpart.cpp | 14 | ||||
-rw-r--r-- | plugins/search/searchplugin.cpp | 6 | ||||
-rw-r--r-- | plugins/search/searchprefpage.cpp | 10 | ||||
-rw-r--r-- | plugins/search/searchtab.cpp | 8 | ||||
-rw-r--r-- | plugins/search/searchwidget.cpp | 44 |
5 files changed, 41 insertions, 41 deletions
diff --git a/plugins/search/htmlpart.cpp b/plugins/search/htmlpart.cpp index 2c57aeb..1f3a50d 100644 --- a/plugins/search/htmlpart.cpp +++ b/plugins/search/htmlpart.cpp @@ -45,8 +45,8 @@ namespace kt setPluginsEnabled(false); setStatusMessagesEnabled(false); KParts::BrowserExtension* ext = this->browserExtension(); - connect(ext,TQT_SIGNAL(openURLRequest(const KURL&,const KParts::URLArgs&)), - this,TQT_SLOT(openURLRequest(const KURL&, const KParts::URLArgs& ))); + connect(ext,TQ_SIGNAL(openURLRequest(const KURL&,const KParts::URLArgs&)), + this,TQ_SLOT(openURLRequest(const KURL&, const KParts::URLArgs& ))); ext->enableAction("copy",true); ext->enableAction("paste",true); @@ -75,11 +75,11 @@ namespace kt } TDEIO::TransferJob* j = TDEIO::get(u,false,false); - connect(j,TQT_SIGNAL(data(TDEIO::Job*,const TQByteArray &)), - this,TQT_SLOT(dataRecieved(TDEIO::Job*, const TQByteArray& ))); - connect(j,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(jobDone(TDEIO::Job* ))); - connect(j,TQT_SIGNAL(mimetype(TDEIO::Job*, const TQString &)), - this,TQT_SLOT(mimetype(TDEIO::Job*, const TQString& ))); + connect(j,TQ_SIGNAL(data(TDEIO::Job*,const TQByteArray &)), + this,TQ_SLOT(dataRecieved(TDEIO::Job*, const TQByteArray& ))); + connect(j,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(jobDone(TDEIO::Job* ))); + connect(j,TQ_SIGNAL(mimetype(TDEIO::Job*, const TQString &)), + this,TQ_SLOT(mimetype(TDEIO::Job*, const TQString& ))); active_job = j; curr_data.resize(0); diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp index a45e474..ebf53e6 100644 --- a/plugins/search/searchplugin.cpp +++ b/plugins/search/searchplugin.cpp @@ -65,8 +65,8 @@ namespace kt engines.load(TDEGlobal::dirs()->saveLocation("data","ktorrent") + "search_engines"); TDEToolBar* tb = getGUI()->addToolBar("search"); tab = new SearchTab(tb); - connect(tab,TQT_SIGNAL(search( const TQString&, int, bool )), - this,TQT_SLOT(search( const TQString&, int, bool ))); + connect(tab,TQ_SIGNAL(search( const TQString&, int, bool )), + this,TQ_SLOT(search( const TQString&, int, bool ))); pref = new SearchPrefPage(this); getGUI()->addPrefPage(pref); @@ -118,7 +118,7 @@ namespace kt SearchWidget* search = new SearchWidget(this); getGUI()->addTabPage(search,iload->loadIconSet("viewmag", TDEIcon::Small),text,this); - TDEAction* copy_act = KStdAction::copy(search,TQT_SLOT(copy()),actionCollection()); + TDEAction* copy_act = KStdAction::copy(search,TQ_SLOT(copy()),actionCollection()); copy_act->plug(search->rightClickMenu(),0); searches.append(search); diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp index cc9e6d3..68bb613 100644 --- a/plugins/search/searchprefpage.cpp +++ b/plugins/search/searchprefpage.cpp @@ -60,12 +60,12 @@ namespace kt TQToolTip::add(m_infoLabel,info); TQToolTip::add(m_engine_name,info); - connect(btnAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(addClicked())); - connect(btnRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeClicked())); - connect(btn_add_default, TQT_SIGNAL(clicked()), this, TQT_SLOT(addDefaultClicked())); - connect(btnRemoveAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeAllClicked())); + connect(btnAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(addClicked())); + connect(btnRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeClicked())); + connect(btn_add_default, TQ_SIGNAL(clicked()), this, TQ_SLOT(addDefaultClicked())); + connect(btnRemoveAll, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeAllClicked())); - connect(useCustomBrowser, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(customToggled( bool ))); + connect(useCustomBrowser, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(customToggled( bool ))); useCustomBrowser->setChecked(SearchPluginSettings::useCustomBrowser()); useDefaultBrowser->setChecked(SearchPluginSettings::useDefaultBrowser()); diff --git a/plugins/search/searchtab.cpp b/plugins/search/searchtab.cpp index c752bc5..dc68dc4 100644 --- a/plugins/search/searchtab.cpp +++ b/plugins/search/searchtab.cpp @@ -51,10 +51,10 @@ namespace kt m_clear_button->setIconSet(SmallIconSet(TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase")); m_clear_button->setEnabled(false); - connect(m_search_new_tab,TQT_SIGNAL(clicked()),this,TQT_SLOT(searchNewTabPressed())); - connect(m_search_text,TQT_SIGNAL(returnPressed(const TQString&)),this,TQT_SLOT(searchBoxReturn( const TQString& ))); - connect(m_search_text,TQT_SIGNAL(textChanged(const TQString &)),this,TQT_SLOT(textChanged( const TQString& ))); - connect(m_clear_button,TQT_SIGNAL(clicked()),this,TQT_SLOT(clearButtonPressed())); + connect(m_search_new_tab,TQ_SIGNAL(clicked()),this,TQ_SLOT(searchNewTabPressed())); + connect(m_search_text,TQ_SIGNAL(returnPressed(const TQString&)),this,TQ_SLOT(searchBoxReturn( const TQString& ))); + connect(m_search_text,TQ_SIGNAL(textChanged(const TQString &)),this,TQ_SLOT(textChanged( const TQString& ))); + connect(m_clear_button,TQ_SIGNAL(clicked()),this,TQ_SLOT(clearButtonPressed())); m_search_text->setMaxCount(20); m_search_new_tab->setEnabled(false); m_search_text->setInsertionPolicy(TQComboBox::NoInsertion); diff --git a/plugins/search/searchwidget.cpp b/plugins/search/searchwidget.cpp index 128ceeb..fc43870 100644 --- a/plugins/search/searchwidget.cpp +++ b/plugins/search/searchwidget.cpp @@ -69,18 +69,18 @@ namespace kt back_id = right_click_menu->insertItem( TDEGlobal::iconLoader()->loadIconSet(TQApplication::reverseLayout() ? "forward" : "back",TDEIcon::Small), - i18n("Back"),html_part,TQT_SLOT(back())); + i18n("Back"),html_part,TQ_SLOT(back())); right_click_menu->insertItem( TDEGlobal::iconLoader()->loadIconSet("reload",TDEIcon::Small), - i18n("Reload"),html_part,TQT_SLOT(reload())); + i18n("Reload"),html_part,TQ_SLOT(reload())); right_click_menu->setItemEnabled(back_id,false); sbar->m_back->setEnabled(false); - connect(sbar->m_search_button,TQT_SIGNAL(clicked()),this,TQT_SLOT(searchPressed())); - connect(sbar->m_clear_button,TQT_SIGNAL(clicked()),this,TQT_SLOT(clearPressed())); - connect(sbar->m_search_text,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(searchPressed())); - connect(sbar->m_back,TQT_SIGNAL(clicked()),html_part,TQT_SLOT(back())); - connect(sbar->m_reload,TQT_SIGNAL(clicked()),html_part,TQT_SLOT(reload())); + connect(sbar->m_search_button,TQ_SIGNAL(clicked()),this,TQ_SLOT(searchPressed())); + connect(sbar->m_clear_button,TQ_SIGNAL(clicked()),this,TQ_SLOT(clearPressed())); + connect(sbar->m_search_text,TQ_SIGNAL(returnPressed()),this,TQ_SLOT(searchPressed())); + connect(sbar->m_back,TQ_SIGNAL(clicked()),html_part,TQ_SLOT(back())); + connect(sbar->m_reload,TQ_SIGNAL(clicked()),html_part,TQ_SLOT(reload())); sbar->m_clear_button->setIconSet( TDEGlobal::iconLoader()->loadIconSet(TQApplication::reverseLayout() @@ -92,22 +92,22 @@ namespace kt TDEGlobal::iconLoader()->loadIconSet("reload",TDEIcon::Small)); - connect(html_part,TQT_SIGNAL(backAvailable(bool )), - this,TQT_SLOT(onBackAvailable(bool ))); - connect(html_part,TQT_SIGNAL(onURL(const TQString& )), - this,TQT_SLOT(onURLHover(const TQString& ))); - connect(html_part,TQT_SIGNAL(openTorrent(const KURL& )), - this,TQT_SLOT(onOpenTorrent(const KURL& ))); - connect(html_part,TQT_SIGNAL(popupMenu(const TQString&, const TQPoint& )), - this,TQT_SLOT(showPopupMenu(const TQString&, const TQPoint& ))); - connect(html_part,TQT_SIGNAL(searchFinished()),this,TQT_SLOT(onFinished())); - connect(html_part,TQT_SIGNAL(saveTorrent(const KURL& )), - this,TQT_SLOT(onSaveTorrent(const KURL& ))); + connect(html_part,TQ_SIGNAL(backAvailable(bool )), + this,TQ_SLOT(onBackAvailable(bool ))); + connect(html_part,TQ_SIGNAL(onURL(const TQString& )), + this,TQ_SLOT(onURLHover(const TQString& ))); + connect(html_part,TQ_SIGNAL(openTorrent(const KURL& )), + this,TQ_SLOT(onOpenTorrent(const KURL& ))); + connect(html_part,TQ_SIGNAL(popupMenu(const TQString&, const TQPoint& )), + this,TQ_SLOT(showPopupMenu(const TQString&, const TQPoint& ))); + connect(html_part,TQ_SIGNAL(searchFinished()),this,TQ_SLOT(onFinished())); + connect(html_part,TQ_SIGNAL(saveTorrent(const KURL& )), + this,TQ_SLOT(onSaveTorrent(const KURL& ))); KParts::PartManager* pman = html_part->partManager(); - connect(pman,TQT_SIGNAL(partAdded(KParts::Part*)),this,TQT_SLOT(onFrameAdded(KParts::Part* ))); + connect(pman,TQ_SIGNAL(partAdded(KParts::Part*)),this,TQ_SLOT(onFrameAdded(KParts::Part* ))); - connect(html_part->browserExtension(),TQT_SIGNAL(loadingProgress(int)),this,TQT_SLOT(loadingProgress(int))); + connect(html_part->browserExtension(),TQ_SIGNAL(loadingProgress(int)),this,TQ_SLOT(loadingProgress(int))); prog = 0; } @@ -143,8 +143,8 @@ namespace kt TDEHTMLPart* frame = dynamic_cast<TDEHTMLPart*>(p); if (frame) { - connect(frame,TQT_SIGNAL(popupMenu(const TQString&, const TQPoint& )), - this,TQT_SLOT(showPopupMenu(const TQString&, const TQPoint& ))); + connect(frame,TQ_SIGNAL(popupMenu(const TQString&, const TQPoint& )), + this,TQ_SLOT(showPopupMenu(const TQString&, const TQPoint& ))); } } |