summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:38:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:13:10 +0900
commitdd3ce2e1c41671cffcb72c90f88f536269079869 (patch)
treeb87fa0d6f8911e0009d033326f5e36972ae2f6d3 /klinkstatus/src
parent40eb6401dea18d69ccd84eb13526b9356db621d1 (diff)
downloadtdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.tar.gz
tdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 931991843ab3b6b0b0157dd433c226f7fc2ebc1b)
Diffstat (limited to 'klinkstatus/src')
-rw-r--r--klinkstatus/src/actionmanager.cpp26
-rw-r--r--klinkstatus/src/engine/linkchecker.cpp20
-rw-r--r--klinkstatus/src/engine/searchmanager.cpp16
-rw-r--r--klinkstatus/src/global.cpp16
-rw-r--r--klinkstatus/src/klinkstatus.cpp16
-rw-r--r--klinkstatus/src/klinkstatus_part.cpp2
-rw-r--r--klinkstatus/src/ui/documentrootdialog.cpp12
-rw-r--r--klinkstatus/src/ui/klshistorycombo.cpp4
-rw-r--r--klinkstatus/src/ui/resultssearchbar.cpp14
-rw-r--r--klinkstatus/src/ui/sessionwidget.cpp44
-rw-r--r--klinkstatus/src/ui/settings/configidentificationdialog.cpp2
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.cpp18
-rw-r--r--klinkstatus/src/ui/tabwidgetsession.cpp10
-rw-r--r--klinkstatus/src/ui/treeview.cpp18
14 files changed, 109 insertions, 109 deletions
diff --git a/klinkstatus/src/actionmanager.cpp b/klinkstatus/src/actionmanager.cpp
index 570157d1..26a969df 100644
--- a/klinkstatus/src/actionmanager.cpp
+++ b/klinkstatus/src/actionmanager.cpp
@@ -89,34 +89,34 @@ void ActionManager::initPart(KLinkStatusPart* part)
new TDEAction(i18n("New Link Check"), "document-new",
0,
- d->part, TQT_SLOT(slotNewLinkCheck()),
+ d->part, TQ_SLOT(slotNewLinkCheck()),
d->actionCollection, "new_link_check");
new TDEAction(i18n("Open URL..."), "document-open",
0,
- d->part, TQT_SLOT(slotOpenLink()),
+ d->part, TQ_SLOT(slotOpenLink()),
d->actionCollection, "open_link");
action = new TDEAction(i18n("Close Tab"), "window-close",
0,
- d->part, TQT_SLOT(slotClose()),
+ d->part, TQ_SLOT(slotClose()),
d->actionCollection, "close_tab");
action->setEnabled(false);
// *************** Settings menu *********************
(void) new TDEAction(i18n("Configure KLinkStatus..."), "configure",
- 0, d->part, TQT_SLOT(slotConfigureKLinkStatus()),
+ 0, d->part, TQ_SLOT(slotConfigureKLinkStatus()),
d->actionCollection, "configure_klinkstatus");
// *************** Help menu *********************
(void) new TDEAction(i18n("About KLinkStatus"), "klinkstatus",
- 0, d->part, TQT_SLOT(slotAbout()),
+ 0, d->part, TQ_SLOT(slotAbout()),
d->actionCollection, "about_klinkstatus");
(void) new TDEAction(i18n("&Report Bug..."), 0, 0, d->part,
- TQT_SLOT(slotReportBug()), d->actionCollection, "report_bug");
+ TQ_SLOT(slotReportBug()), d->actionCollection, "report_bug");
// *************** View menu *********************
}
@@ -133,7 +133,7 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// *************** File menu *********************
TDEAction* action = new TDEAction(i18n("E&xport Results as HTML..."), "document-save", 0,
- d->tabWidgetSession, TQT_SLOT(slotExportAsHTML()),
+ d->tabWidgetSession, TQ_SLOT(slotExportAsHTML()),
d->actionCollection, "file_export_html");
action->setEnabled(false);
@@ -142,38 +142,38 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget
TDEToggleAction* toggle_action = new TDEToggleAction(i18n("&Follow last Link checked"),
"make_tdevelop", "Ctrl+f",
- d->tabWidgetSession, TQT_SLOT(slotFollowLastLinkChecked()),
+ d->tabWidgetSession, TQ_SLOT(slotFollowLastLinkChecked()),
d->actionCollection, "follow_last_link_checked");
toggle_action->setChecked(KLSConfig::followLastLinkChecked());
// this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget
toggle_action = new TDEToggleAction(i18n("&Hide Search Panel"), "go-bottom", "Ctrl+h",
- d->tabWidgetSession, TQT_SLOT(slotHideSearchPanel()),
+ d->tabWidgetSession, TQ_SLOT(slotHideSearchPanel()),
d->actionCollection, "hide_search_bar");
KGuiItem item(i18n("&Show Search Panel"), "go-top", "Show Search Panel");
toggle_action->setCheckedState(item);
new TDEAction(i18n("&Reset Search Options"), "reload", "F5",
- d->tabWidgetSession, TQT_SLOT(slotResetSearchOptions()),
+ d->tabWidgetSession, TQ_SLOT(slotResetSearchOptions()),
d->actionCollection, "reset_search_bar");
// *************** Search menu *********************
toggle_action = new TDEToggleAction(i18n("&Start Search"),
"media-playback-start", "Ctrl+s",
- d->tabWidgetSession, TQT_SLOT(slotStartSearch()),
+ d->tabWidgetSession, TQ_SLOT(slotStartSearch()),
d->actionCollection, "start_search");
toggle_action->setEnabled(false);
toggle_action = new TDEToggleAction(i18n("&Pause Search"),
"media-playback-pause", "Ctrl+p",
- d->tabWidgetSession, TQT_SLOT(slotPauseSearch()),
+ d->tabWidgetSession, TQ_SLOT(slotPauseSearch()),
d->actionCollection, "pause_search");
toggle_action->setEnabled(false);
action = new TDEAction(i18n("St&op Search"),
"media-playback-stop", "Ctrl+c",
- d->tabWidgetSession, TQT_SLOT(slotStopSearch()),
+ d->tabWidgetSession, TQ_SLOT(slotStopSearch()),
d->actionCollection, "stop_search");
action->setEnabled(false);
}
diff --git a/klinkstatus/src/engine/linkchecker.cpp b/klinkstatus/src/engine/linkchecker.cpp
index 82572997..1f36c485 100644
--- a/klinkstatus/src/engine/linkchecker.cpp
+++ b/klinkstatus/src/engine/linkchecker.cpp
@@ -97,16 +97,16 @@ void LinkChecker::check()
t_job_->addMetaData("SendUserAgent", "false");
- TQObject::connect(t_job_, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
- this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
- TQObject::connect(t_job_, TQT_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
- this, TQT_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
- TQObject::connect(t_job_, TQT_SIGNAL(result(TDEIO::Job *)),
- this, TQT_SLOT(slotResult(TDEIO::Job *)));
- TQObject::connect(t_job_, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
- this, TQT_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
-
- TQTimer::singleShot( time_out_ * 1000, this, TQT_SLOT(slotTimeOut()) );
+ TQObject::connect(t_job_, TQ_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
+ this, TQ_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
+ this, TQ_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(result(TDEIO::Job *)),
+ this, TQ_SLOT(slotResult(TDEIO::Job *)));
+ TQObject::connect(t_job_, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
+ this, TQ_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
+
+ TQTimer::singleShot( time_out_ * 1000, this, TQ_SLOT(slotTimeOut()) );
t_job_->setInteractive(false);
}
diff --git a/klinkstatus/src/engine/searchmanager.cpp b/klinkstatus/src/engine/searchmanager.cpp
index 45fdc24b..e05087d1 100644
--- a/klinkstatus/src/engine/searchmanager.cpp
+++ b/klinkstatus/src/engine/searchmanager.cpp
@@ -191,11 +191,11 @@ void SearchManager::checkRoot()
LinkChecker* checker = new LinkChecker(&root_, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}
@@ -524,11 +524,11 @@ void SearchManager::checkLinksSimultaneously(vector<LinkStatus*> const& links)
LinkChecker* checker = new LinkChecker(ls, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}
diff --git a/klinkstatus/src/global.cpp b/klinkstatus/src/global.cpp
index b5ac9619..6a24578f 100644
--- a/klinkstatus/src/global.cpp
+++ b/klinkstatus/src/global.cpp
@@ -149,12 +149,12 @@ void Global::execCommand(TQString const& command)
self()->process_PS_ = new TDEProcess();
*(self()->process_PS_) << TQStringList::split(" ",command);
- connect( self()->process_PS_, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- self(), TQT_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
- connect( self()->process_PS_, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
- self(), TQT_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
- connect( self()->process_PS_, TQT_SIGNAL(processExited(TDEProcess*)),
- self(), TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect( self()->process_PS_, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ self(), TQ_SLOT(slotGetScriptOutput(TDEProcess*,char*,int)));
+ connect( self()->process_PS_, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ self(), TQ_SLOT(slotGetScriptError(TDEProcess*,char*,int)));
+ connect( self()->process_PS_, TQ_SIGNAL(processExited(TDEProcess*)),
+ self(), TQ_SLOT(slotProcessExited(TDEProcess*)));
//if TDEProcess fails I think a message box is needed... I will fix it
if (!self()->process_PS_->start(TDEProcess::NotifyOnExit,TDEProcess::All))
@@ -164,8 +164,8 @@ void Global::execCommand(TQString const& command)
{
//To avoid lock-ups, start a timer.
TQTimer* timer = new TQTimer(self());
- connect(timer, TQT_SIGNAL(timeout()),
- self(), TQT_SLOT(slotProcessTimeout()));
+ connect(timer, TQ_SIGNAL(timeout()),
+ self(), TQ_SLOT(slotProcessTimeout()));
timer->start(120*1000, true);
self()->loop_started_ = true;
kapp->enter_loop();
diff --git a/klinkstatus/src/klinkstatus.cpp b/klinkstatus/src/klinkstatus.cpp
index 1e069117..7a125bb5 100644
--- a/klinkstatus/src/klinkstatus.cpp
+++ b/klinkstatus/src/klinkstatus.cpp
@@ -97,7 +97,7 @@ void KLinkStatus::load(const KURL& url)
void KLinkStatus::setupActions()
{
- // KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
+ // KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
// The above causes a segfault when using File->Quit.
// Here's Waldo's explanation:
/* I had a look. The problem is due to the SessionWidget destructor calling
@@ -113,13 +113,13 @@ void KLinkStatus::setupActions()
administration.
The easiest solution is to call close() on the mainwindow instead of
TDEApplication::quit()*/
- KStdAction::quit(this, TQT_SLOT(close()), actionCollection());
+ KStdAction::quit(this, TQ_SLOT(close()), actionCollection());
- //m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection());
- //m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection());
+ //m_toolbarAction = KStdAction::showToolbar(this, TQ_SLOT(optionsShowToolbar()), actionCollection());
+ //m_statusbarAction = KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection());
- KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection());
- KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection());
}
void KLinkStatus::setupPartActions()
@@ -199,8 +199,8 @@ void KLinkStatus::optionsConfigureToolbars()
// use the standard toolbar editor
KEditToolbar dlg(factory());
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()),
- this, TQT_SLOT(applyNewToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()),
+ this, TQ_SLOT(applyNewToolbarConfig()));
dlg.exec();
}
diff --git a/klinkstatus/src/klinkstatus_part.cpp b/klinkstatus/src/klinkstatus_part.cpp
index bf8e1db7..6b379387 100644
--- a/klinkstatus/src/klinkstatus_part.cpp
+++ b/klinkstatus/src/klinkstatus_part.cpp
@@ -153,7 +153,7 @@ void KLinkStatusPart::slotConfigureKLinkStatus()
dialog->addPage(new ConfigIdentificationDialog(0), i18n("Identification"),
"agent", i18n("Configure the way KLinkstatus reports itself"));
dialog->show();
- connect(dialog, TQT_SIGNAL(settingsChanged()), tabwidget_, TQT_SLOT(slotLoadSettings()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), tabwidget_, TQ_SLOT(slotLoadSettings()));
}
void KLinkStatusPart::slotAbout()
diff --git a/klinkstatus/src/ui/documentrootdialog.cpp b/klinkstatus/src/ui/documentrootdialog.cpp
index 888526a3..1ae0c449 100644
--- a/klinkstatus/src/ui/documentrootdialog.cpp
+++ b/klinkstatus/src/ui/documentrootdialog.cpp
@@ -53,12 +53,12 @@ DocumentRootDialog::DocumentRootDialog(TQWidget *parent, TQString const& url)
m_urlRequester->setMode(KFile::Directory);
// enableButtonOK(false);
- connect(m_urlRequester, TQT_SIGNAL(textChanged (const TQString &)),
- this, TQT_SLOT(slotTextChanged (const TQString &)));
- connect(m_urlRequester, TQT_SIGNAL(returnPressed (const TQString &)),
- this, TQT_SLOT(slotReturnPressed (const TQString &)));
- connect(m_urlRequester, TQT_SIGNAL(urlSelected (const TQString &)),
- this, TQT_SLOT(slotTextChanged (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(textChanged (const TQString &)),
+ this, TQ_SLOT(slotTextChanged (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(returnPressed (const TQString &)),
+ this, TQ_SLOT(slotReturnPressed (const TQString &)));
+ connect(m_urlRequester, TQ_SIGNAL(urlSelected (const TQString &)),
+ this, TQ_SLOT(slotTextChanged (const TQString &)));
}
DocumentRootDialog::~DocumentRootDialog()
diff --git a/klinkstatus/src/ui/klshistorycombo.cpp b/klinkstatus/src/ui/klshistorycombo.cpp
index cdcf1a59..21de0de3 100644
--- a/klinkstatus/src/ui/klshistorycombo.cpp
+++ b/klinkstatus/src/ui/klshistorycombo.cpp
@@ -32,8 +32,8 @@ KLSHistoryCombo::KLSHistoryCombo(TQWidget *parent, const char *name)
setDuplicatesEnabled(false);
setAutoCompletion(false);
- connect(this, TQT_SIGNAL(activated(const TQString& )),
- this, TQT_SLOT(addToHistory(const TQString& )));
+ connect(this, TQ_SIGNAL(activated(const TQString& )),
+ this, TQ_SLOT(addToHistory(const TQString& )));
}
KLSHistoryCombo::~KLSHistoryCombo()
diff --git a/klinkstatus/src/ui/resultssearchbar.cpp b/klinkstatus/src/ui/resultssearchbar.cpp
index 3b6e6603..adea6013 100644
--- a/klinkstatus/src/ui/resultssearchbar.cpp
+++ b/klinkstatus/src/ui/resultssearchbar.cpp
@@ -73,8 +73,8 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
d->layout->addWidget(searchLabel);
d->searchLine = new KLineEdit(this, "searchline");
- connect(d->searchLine, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotSearchStringChanged(const TQString &)));
+ connect(d->searchLine, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotSearchStringChanged(const TQString &)));
searchLabel->setBuddy(d->searchLine);
d->layout->addWidget(d->searchLine);
@@ -101,13 +101,13 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
TQToolTip::add( d->searchLine, i18n("Enter the terms to filter the result link list"));
TQToolTip::add( d->searchCombo, i18n("Choose what kind of link status to show in result list"));
- connect(clearButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT(slotClearSearch()) );
+ connect(clearButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT(slotClearSearch()) );
- connect(d->searchCombo, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotSearchComboChanged(int)));
+ connect(d->searchCombo, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotSearchComboChanged(int)));
- connect(&(d->timer), TQT_SIGNAL(timeout()), this, TQT_SLOT(slotActivateSearch()));
+ connect(&(d->timer), TQ_SIGNAL(timeout()), this, TQ_SLOT(slotActivateSearch()));
}
ResultsSearchBar::~ResultsSearchBar()
diff --git a/klinkstatus/src/ui/sessionwidget.cpp b/klinkstatus/src/ui/sessionwidget.cpp
index 2ad6867b..b1072add 100644
--- a/klinkstatus/src/ui/sessionwidget.cpp
+++ b/klinkstatus/src/ui/sessionwidget.cpp
@@ -81,13 +81,13 @@ SessionWidget::SessionWidget(int max_simultaneous_connections, int time_out,
init();
slotLoadSettings();
- connect(combobox_url, TQT_SIGNAL( textChanged ( const TQString & ) ),
- this, TQT_SLOT( slotEnableCheckButton( const TQString & ) ) );
+ connect(combobox_url, TQ_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQ_SLOT( slotEnableCheckButton( const TQString & ) ) );
- connect(tree_view, TQT_SIGNAL( clicked ( TQListViewItem * ) ),
- this, TQT_SLOT( showBottomStatusLabel( TQListViewItem * ) ) );
+ connect(tree_view, TQ_SIGNAL( clicked ( TQListViewItem * ) ),
+ this, TQ_SLOT( showBottomStatusLabel( TQListViewItem * ) ) );
- connect(&bottom_status_timer_, TQT_SIGNAL(timeout()), this, TQT_SLOT(clearBottomStatusLabel()) );
+ connect(&bottom_status_timer_, TQ_SIGNAL(timeout()), this, TQ_SLOT(clearBottomStatusLabel()) );
}
SessionWidget::~SessionWidget()
@@ -107,14 +107,14 @@ void SessionWidget::init()
pushbutton_url->setIconSet(TDEGlobal::iconLoader()->loadIconSet("document-open", TDEIcon::Small));
TQPixmap pixMap = TDEGlobal::iconLoader()->loadIcon("document-open", TDEIcon::Small);
pushbutton_url->setFixedSize(pixMap.width() + 8, pixMap.height() + 8);
- connect(pushbutton_url, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChooseUrlDialog()));
+ connect(pushbutton_url, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChooseUrlDialog()));
resultsSearchBar->hide();
start_search_action_ = static_cast<TDEToggleAction*> (action_manager_->action("start_search"));
- connect(resultsSearchBar, TQT_SIGNAL(signalSearch(LinkMatcher)),
- this, TQT_SLOT(slotApplyFilter(LinkMatcher)));
+ connect(resultsSearchBar, TQ_SIGNAL(signalSearch(LinkMatcher)),
+ this, TQ_SLOT(slotApplyFilter(LinkMatcher)));
}
void SessionWidget::slotLoadSettings(bool modify_current_widget_settings)
@@ -154,20 +154,20 @@ void SessionWidget::newSearchManager()
this, "search_manager");
Q_ASSERT(search_manager_);
- connect(search_manager_, TQT_SIGNAL(signalRootChecked(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
- connect(search_manager_, TQT_SIGNAL(signalLinkChecked(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
- connect(search_manager_, TQT_SIGNAL(signalSearchFinished()),
- this, TQT_SLOT(slotSearchFinished()));
- connect(search_manager_, TQT_SIGNAL(signalSearchPaused()),
- this, TQT_SLOT(slotSearchPaused()));
- connect(search_manager_, TQT_SIGNAL(signalAddingLevelTotalSteps(uint)),
- this, TQT_SLOT(slotAddingLevelTotalSteps(uint)));
- connect(search_manager_, TQT_SIGNAL(signalAddingLevelProgress()),
- this, TQT_SLOT(slotAddingLevelProgress()));
- connect(search_manager_, TQT_SIGNAL(signalLinksToCheckTotalSteps(uint)),
- this, TQT_SLOT(slotLinksToCheckTotalSteps(uint)));
+ connect(search_manager_, TQ_SIGNAL(signalRootChecked(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
+ connect(search_manager_, TQ_SIGNAL(signalLinkChecked(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
+ connect(search_manager_, TQ_SIGNAL(signalSearchFinished()),
+ this, TQ_SLOT(slotSearchFinished()));
+ connect(search_manager_, TQ_SIGNAL(signalSearchPaused()),
+ this, TQ_SLOT(slotSearchPaused()));
+ connect(search_manager_, TQ_SIGNAL(signalAddingLevelTotalSteps(uint)),
+ this, TQ_SLOT(slotAddingLevelTotalSteps(uint)));
+ connect(search_manager_, TQ_SIGNAL(signalAddingLevelProgress()),
+ this, TQ_SLOT(slotAddingLevelProgress()));
+ connect(search_manager_, TQ_SIGNAL(signalLinksToCheckTotalSteps(uint)),
+ this, TQ_SLOT(slotLinksToCheckTotalSteps(uint)));
}
void SessionWidget::setColumns(TQStringList const& colunas)
diff --git a/klinkstatus/src/ui/settings/configidentificationdialog.cpp b/klinkstatus/src/ui/settings/configidentificationdialog.cpp
index 31906ace..b7d7800f 100644
--- a/klinkstatus/src/ui/settings/configidentificationdialog.cpp
+++ b/klinkstatus/src/ui/settings/configidentificationdialog.cpp
@@ -37,7 +37,7 @@ ConfigIdentificationDialog::ConfigIdentificationDialog(TQWidget *parent, const c
slotDefaultUA();
}
- connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDefaultUA()));
+ connect(buttonDefault, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDefaultUA()));
}
diff --git a/klinkstatus/src/ui/tablelinkstatus.cpp b/klinkstatus/src/ui/tablelinkstatus.cpp
index 4a886e1d..28ac2aa0 100644
--- a/klinkstatus/src/ui/tablelinkstatus.cpp
+++ b/klinkstatus/src/ui/tablelinkstatus.cpp
@@ -67,8 +67,8 @@ TableLinkstatus::TableLinkstatus(TQWidget * parent, const char * name,
sub_menu_ = new TQPopupMenu(this, "sub_menu_referrers");
- connect(this, TQT_SIGNAL( contextMenuRequested ( int, int, const TQPoint& )),
- this, TQT_SLOT( slotPopupContextMenu( int, int, const TQPoint&)) );
+ connect(this, TQ_SIGNAL( contextMenuRequested ( int, int, const TQPoint& )),
+ this, TQ_SLOT( slotPopupContextMenu( int, int, const TQPoint&)) );
}
TableLinkstatus::~TableLinkstatus()
@@ -274,14 +274,14 @@ void TableLinkstatus::loadContextTableMenu(TQValueVector<KURL> const& referrers,
if(!is_root)
{
- sub_menu_->insertItem(i18n("All"), this, TQT_SLOT(slotEditReferrersWithQuanta()));
+ sub_menu_->insertItem(i18n("All"), this, TQ_SLOT(slotEditReferrersWithQuanta()));
sub_menu_->insertSeparator();
for(uint i = 0; i != referrers.size(); ++i)
{
sub_menu_->insertItem(referrers[i].prettyURL());
}
- connect(sub_menu_, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEditReferrerWithQuanta(int)));
+ connect(sub_menu_, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEditReferrerWithQuanta(int)));
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Edit Referrer with Quanta"),
sub_menu_);
@@ -293,21 +293,21 @@ void TableLinkstatus::loadContextTableMenu(TQValueVector<KURL> const& referrers,
}
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open URL"),
- this, TQT_SLOT(slotViewUrlInBrowser()));
+ this, TQ_SLOT(slotViewUrlInBrowser()));
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open Referrer URL"),
- this, TQT_SLOT(slotViewParentUrlInBrowser()));
+ this, TQ_SLOT(slotViewParentUrlInBrowser()));
context_table_menu_.insertSeparator();
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy URL"),
- this, TQT_SLOT(slotCopyUrlToClipboard()));
+ this, TQ_SLOT(slotCopyUrlToClipboard()));
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy Referrer URL"),
- this, TQT_SLOT(slotCopyParentUrlToClipboard()));
+ this, TQ_SLOT(slotCopyParentUrlToClipboard()));
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy Cell Text"),
- this, TQT_SLOT(slotCopyCellTextToClipboard()));
+ this, TQ_SLOT(slotCopyCellTextToClipboard()));
}
void TableLinkstatus::slotCopyUrlToClipboard() const
diff --git a/klinkstatus/src/ui/tabwidgetsession.cpp b/klinkstatus/src/ui/tabwidgetsession.cpp
index 9ed1aef5..e2f6a54f 100644
--- a/klinkstatus/src/ui/tabwidgetsession.cpp
+++ b/klinkstatus/src/ui/tabwidgetsession.cpp
@@ -55,7 +55,7 @@ TabWidgetSession::TabWidgetSession(TQWidget* parent, const char* name, WFlags f)
TQToolButton* tabs_new = new TQToolButton(this);
tabs_new->setAccel(TQKeySequence("Ctrl+N"));
- connect(tabs_new, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewSession()));
+ connect(tabs_new, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewSession()));
tabs_new->setIconSet(SmallIconSet("tab_new_raised"));
tabs_new->adjustSize();
TQToolTip::add(tabs_new, i18n("Open new tab"));
@@ -63,13 +63,13 @@ TabWidgetSession::TabWidgetSession(TQWidget* parent, const char* name, WFlags f)
tabs_close_ = new TQToolButton(this);
tabs_close_->setAccel(TQKeySequence("Ctrl+W"));
- connect(tabs_close_, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeSession()));
+ connect(tabs_close_, TQ_SIGNAL(clicked()), this, TQ_SLOT(closeSession()));
tabs_close_->setIconSet(SmallIconSet("tab_remove"));
tabs_close_->adjustSize();
TQToolTip::add(tabs_close_, i18n("Close the current tab"));
setCornerWidget(tabs_close_, TopRight);
- connect(this, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotCurrentChanged(TQWidget*)));
+ connect(this, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotCurrentChanged(TQWidget*)));
}
TabWidgetSession::~TabWidgetSession()
@@ -117,8 +117,8 @@ SessionWidget* TabWidgetSession::newSession()
{
// TODO: settings: number of connections, timeout
SessionWidget* session_widget = newSessionWidget();
- connect(session_widget, TQT_SIGNAL(signalUpdateTabLabel(const LinkStatus *, SessionWidget*)),
- this, TQT_SLOT(updateTabLabel(const LinkStatus *, SessionWidget*)));
+ connect(session_widget, TQ_SIGNAL(signalUpdateTabLabel(const LinkStatus *, SessionWidget*)),
+ this, TQ_SLOT(updateTabLabel(const LinkStatus *, SessionWidget*)));
insertTab(session_widget, i18n("Session") + i18n(TQString::number(count() + 1).ascii()));
diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp
index 52e7883b..c0cebe68 100644
--- a/klinkstatus/src/ui/treeview.cpp
+++ b/klinkstatus/src/ui/treeview.cpp
@@ -54,8 +54,8 @@ TreeView::TreeView(TQWidget *parent, const char *name)
sub_menu_ = new TQPopupMenu(this, "sub_menu_referrers");
- connect(this, TQT_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )),
- this, TQT_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) );
+ connect(this, TQ_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )),
+ this, TQ_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) );
}
@@ -345,14 +345,14 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i
if(!is_root)
{
- sub_menu_->insertItem(i18n("All"), this, TQT_SLOT(slotEditReferrersWithQuanta()));
+ sub_menu_->insertItem(i18n("All"), this, TQ_SLOT(slotEditReferrersWithQuanta()));
sub_menu_->insertSeparator();
for(uint i = 0; i != referrers.size(); ++i)
{
sub_menu_->insertItem(referrers[i].prettyURL());
}
- connect(sub_menu_, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEditReferrerWithQuanta(int)));
+ connect(sub_menu_, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEditReferrerWithQuanta(int)));
context_table_menu_.insertItem(SmallIconSet("edit"), i18n("Edit Referrer with Quanta"),
sub_menu_);
@@ -365,21 +365,21 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i
}
context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open URL"),
- this, TQT_SLOT(slotViewUrlInBrowser()));
+ this, TQ_SLOT(slotViewUrlInBrowser()));
context_table_menu_.insertItem(/*SmallIconSet("document-open"), */i18n("Open Referrer URL"),
- this, TQT_SLOT(slotViewParentUrlInBrowser()));
+ this, TQ_SLOT(slotViewParentUrlInBrowser()));
context_table_menu_.insertSeparator();
context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy URL"),
- this, TQT_SLOT(slotCopyUrlToClipboard()));
+ this, TQ_SLOT(slotCopyUrlToClipboard()));
context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Referrer URL"),
- this, TQT_SLOT(slotCopyParentUrlToClipboard()));
+ this, TQ_SLOT(slotCopyParentUrlToClipboard()));
context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Cell Text"),
- this, TQT_SLOT(slotCopyCellTextToClipboard()));
+ this, TQ_SLOT(slotCopyCellTextToClipboard()));
}
TreeViewItem* TreeView::myItem(TQListViewItem* item) const