diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/adblock/adblock.cpp | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/adblock/adblock.cpp')
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 20 |
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(); } |