summaryrefslogtreecommitdiffstats
path: root/konq-plugins/adblock/adblock.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-11 10:35:25 +0900
committerMichele Calgaro <[email protected]>2024-01-11 10:35:25 +0900
commit7e9d8ea45280ad6657796da9536ccf6218111f22 (patch)
tree67d57c480b89c5967466e39bf60f7e4f05434f15 /konq-plugins/adblock/adblock.cpp
parent1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff)
downloadtdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz
tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konq-plugins/adblock/adblock.cpp')
-rw-r--r--konq-plugins/adblock/adblock.cpp20
1 files changed, 10 insertions, 10 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();
}