summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui')
-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
8 files changed, 61 insertions, 61 deletions
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