diff options
Diffstat (limited to 'konq-plugins/adblock')
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 20 | ||||
-rw-r--r-- | konq-plugins/adblock/adblockdialogue.cpp | 12 |
2 files changed, 16 insertions, 16 deletions
diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp index 204faf6..1c75d0c 100644 --- a/konq-plugins/adblock/adblock.cpp +++ b/konq-plugins/adblock/adblock.cpp @@ -64,10 +64,10 @@ AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) : m_menu = new TDEPopupMenu(m_part->widget()); m_menu->insertTitle(i18n("Adblock")); - m_menu->insertItem(i18n("Configure"), this, TQT_SLOT(showTDECModule())); - m_menu->insertItem(i18n("Show Elements"), this, TQT_SLOT(showDialogue())); + m_menu->insertItem(i18n("Configure"), this, TQ_SLOT(showTDECModule())); + m_menu->insertItem(i18n("Show Elements"), this, TQ_SLOT(showDialogue())); - connect(m_part, TQT_SIGNAL(completed()), this, TQT_SLOT(initLabel())); + connect(m_part, TQ_SIGNAL(completed()), this, TQ_SLOT(initLabel())); } AdBlock::~AdBlock() @@ -100,8 +100,8 @@ void AdBlock::initLabel() statusBarEx->addStatusBarItem(m_label, 0, false); - connect(m_label, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(showDialogue())); - connect(m_label, TQT_SIGNAL(rightClickedURL()), this, TQT_SLOT(contextMenu())); + connect(m_label, TQ_SIGNAL(leftClickedURL()), this, TQ_SLOT(showDialogue())); + connect(m_label, TQ_SIGNAL(rightClickedURL()), this, TQ_SLOT(contextMenu())); } void AdBlock::showDialogue() @@ -119,9 +119,9 @@ void AdBlock::showDialogue() fillBlockableElements(elements); AdBlockDlg *dialogue = new AdBlockDlg(m_part->widget(), elements); - connect(dialogue, TQT_SIGNAL( notEmptyFilter(const TQString&) ), this, TQT_SLOT( addAdFilter(const TQString&) )); - connect(dialogue, TQT_SIGNAL( cancelClicked() ), dialogue, TQT_SLOT( delayedDestruct() )); - connect(dialogue, TQT_SIGNAL( closeClicked() ), dialogue, TQT_SLOT( delayedDestruct() )); + connect(dialogue, TQ_SIGNAL( notEmptyFilter(const TQString&) ), this, TQ_SLOT( addAdFilter(const TQString&) )); + connect(dialogue, TQ_SIGNAL( cancelClicked() ), dialogue, TQ_SLOT( delayedDestruct() )); + connect(dialogue, TQ_SIGNAL( closeClicked() ), dialogue, TQ_SLOT( delayedDestruct() )); dialogue->show(); } @@ -129,8 +129,8 @@ void AdBlock::showTDECModule() { KCMultiDialog* dialogue = new KCMultiDialog(m_part->widget()); dialogue->addModule("tdehtml_filter"); - connect(dialogue, TQT_SIGNAL( cancelClicked() ), dialogue, TQT_SLOT( delayedDestruct() )); - connect(dialogue, TQT_SIGNAL( closeClicked() ), dialogue, TQT_SLOT( delayedDestruct() )); + connect(dialogue, TQ_SIGNAL( cancelClicked() ), dialogue, TQ_SLOT( delayedDestruct() )); + connect(dialogue, TQ_SIGNAL( closeClicked() ), dialogue, TQ_SLOT( delayedDestruct() )); dialogue->show(); } diff --git a/konq-plugins/adblock/adblockdialogue.cpp b/konq-plugins/adblock/adblockdialogue.cpp index 1eab9ac..875ac20 100644 --- a/konq-plugins/adblock/adblockdialogue.cpp +++ b/konq-plugins/adblock/adblockdialogue.cpp @@ -67,17 +67,17 @@ AdBlockDlg::AdBlockDlg(TQWidget *parent, AdElementList &elements) : m_filter = new TQLineEdit( "", page, "lineedit" ); - connect(this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( validateFilter() )); - connect(m_list, TQT_SIGNAL( doubleClicked(TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(updateFilter(TQListViewItem *)) ); + connect(this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( validateFilter() )); + connect(m_list, TQ_SIGNAL( doubleClicked(TQListViewItem *, const TQPoint &, int) ), this, TQ_SLOT(updateFilter(TQListViewItem *)) ); m_menu = new TDEPopupMenu(this); - m_menu->insertItem(i18n("Filter this item"), this, TQT_SLOT(filterItem())); - m_menu->insertItem(i18n("Filter all items at same path"), this, TQT_SLOT(filterPath())); + m_menu->insertItem(i18n("Filter this item"), this, TQ_SLOT(filterItem())); + m_menu->insertItem(i18n("Filter all items at same path"), this, TQ_SLOT(filterPath())); connect(m_list, - TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), + TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), this, - TQT_SLOT( showContextMenu(TQListViewItem *, const TQPoint &) ) ); + TQ_SLOT( showContextMenu(TQListViewItem *, const TQPoint &) ) ); } void AdBlockDlg::updateFilter(TQListViewItem *selected) |